Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,507 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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 | chip programmers | 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