Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (EvanTJ, AndrewAMD, TipmyPip), 12,414 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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