Gamestudio Links
Zorro Links
Newest Posts
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/12/26 08:50
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 1,733 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 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