Gamestudio Links
Zorro Links
Newest Posts
Training with the R bridge does not work
by frutza. 11/20/25 22:32
Zorro 2.70
by Martin_HH. 11/20/25 17:37
Zorro 2.66
by Martin_HH. 11/20/25 17:28
ZorroGPT
by TipmyPip. 11/19/25 10:10
MRC.c and WFO
by 11honza11. 11/18/25 15:22
webGL
by Ice2642. 11/17/25 21:27
Camera always moves upwards?
by NeoDumont. 11/17/25 09:56
Future of ZorroHFT
by TipmyPip. 11/16/25 13:52
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (AndrewAMD), 30,987 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
SkinnyApe, tritom, sheliepaley, Blueguy, blobplayintennis
19179 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