Gamestudio Links
Zorro Links
Newest Posts
Camera always moves upwards?
by clonman. 11/13/25 14:04
brokerCommand PLOT_HLINE parameters
by M_D. 11/13/25 10:42
ZorroGPT
by TipmyPip. 11/10/25 11:04
Training with the R bridge does not work
by frutza. 11/05/25 00:46
Zorro 2.70
by opm. 10/24/25 03:44
Alpaca Plugin v1.4.0
by TipmyPip. 10/20/25 18:04
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Grant, AndrewAMD, ozgur, Quad, TipmyPip), 29,980 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sheliepaley, Blueguy, blobplayintennis, someone2, NotEBspark
19177 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animated TGA with action #132791
05/30/07 21:57
05/30/07 21:57
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Hey everyone,

I have a few animated TGA files in my level, which have been placed in the level via WED, with the correct filename format (filename+number.tga). These animate perfectly in the level until I assign an action to them. As soon as I assign them an action, they no longer animate. Is there a piece of code I should place in the action statement that will keep them animating?

Thanks!

Re: Animated TGA with action [Re: CBSection31] #132792
05/30/07 22:02
05/30/07 22:02
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
if (my.frame < (number after +)) {MY.FRAME += 1 *time_step;}
in loop should be enough


Never say never.
Re: Animated TGA with action [Re: CBSection31] #132793
05/30/07 22:03
05/30/07 22:03
Joined: Dec 2005
Posts: 252
MyOwnKingdom
nipx Offline
Member
nipx  Offline
Member

Joined: Dec 2005
Posts: 252
MyOwnKingdom
something like:


Code:
	
while(my.frame < <<yourNumberHere>>)
{
my.frame+=3*time_step;
wait(1);
}





nipx


edit: tompo, dont type so fast

Last edited by nipx; 05/30/07 22:04.
Re: Animated TGA with action [Re: nipx] #132794
05/30/07 22:27
05/30/07 22:27
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
sorry


Never say never.
Re: Animated TGA with action [Re: tompo] #132795
05/30/07 22:31
05/30/07 22:31
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Thanks!!! It works perfectly!


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