Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 11:16
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (qin, 1 invisible), 4,305 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ent_animate issue #274647
06/27/09 19:46
06/27/09 19:46
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
been a while since i've used this forum laugh

alright, recently I've been trying to set up some animation, and i set it up just like i usually do only now there are problems, when i try to ent_animate nothing happens, the model just sits there.

heres the code:
Code:
var anmPercSwim = 0;

........
ent_animate(my,"swim",anmPercSwim,ANM_CYCLE);
anmPercSwim+=5;
anmPercSwim%=100;




ive tried both ways with modulus and with the if anmPerc<100 anmPerc -= 100;

neither way works and im not sure why and its not working on several projects im doing for clients.

Re: ent_animate issue [Re: lostclimate] #274648
06/27/09 19:52
06/27/09 19:52
Joined: Oct 2005
Posts: 4,771
Bay City, MI
lostclimate Offline OP
Expert
lostclimate  Offline OP
Expert

Joined: Oct 2005
Posts: 4,771
Bay City, MI
whats wierd is it works if i save the model as an mdl5, but not mdl7

Re: ent_animate issue [Re: lostclimate] #274657
06/27/09 21:03
06/27/09 21:03
Joined: Dec 2008
Posts: 528
Wagga, Australia
the_mehmaster Offline
User
the_mehmaster  Offline
User

Joined: Dec 2008
Posts: 528
Wagga, Australia
is it actually in a while(1) loop? looks like it isn't...

Re: ent_animate issue [Re: the_mehmaster] #274660
06/27/09 21:19
06/27/09 21:19
Joined: Apr 2005
Posts: 69
G
Goodberry Offline
Junior Member
Goodberry  Offline
Junior Member
G

Joined: Apr 2005
Posts: 69
Does in animate in MED?

Re: ent_animate issue [Re: Goodberry] #274751
06/28/09 10:13
06/28/09 10:13
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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