Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,055 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
action=ndef ? #80381
07/04/06 18:51
07/04/06 18:51
Joined: Jun 2006
Posts: 32
L
lomeniki Offline OP
Newbie
lomeniki  Offline OP
Newbie
L

Joined: Jun 2006
Posts: 32
Hi
I have some material related script atached to an entity.
Material script work good, but now mdl is freeze and i lose animation
that was played when there was no action in model properties/
behaviour/action/ndef.
What is the code i must add to that zmaterial.wdl to score mdl animation again?

I now have "good textured plant but without swing animation"
Cheers

Re: action=ndef ? [Re: lomeniki] #80382
07/04/06 21:50
07/04/06 21:50
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Xarthor Offline
Expert
Xarthor  Offline
Expert

Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
Just let the entity cycle through its whole animations:
Code:

action plant_act
{
my.material = your_material;

while(me)
{
ent_animate(me,frame_name,my.skill1,anm_cycle);
my.skill1 += 8 * time % 100; //change 8 for animation speed
wait(1);
}
}


Although this code _should_ work it might not

Re: action=ndef ? [Re: Xarthor] #80383
07/05/06 13:00
07/05/06 13:00
Joined: Jun 2006
Posts: 32
L
lomeniki Offline OP
Newbie
lomeniki  Offline OP
Newbie
L

Joined: Jun 2006
Posts: 32
Hi,
I am not at my home PC.Yesterday complete building(where i live) had power
loss so we have no electricity...
So i`ll check the code later...
Thanks anyway


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1