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
0 registered members (), 18,767 guests, and 5 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
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