This is a little complex, I searched first but the answer is not right there; this is what I want to do.
I am making some animations for conquest mode with scaled down Corelian Cruisers (the originals were too big to be medium transports), and I hope to find a decent Sentinel shuttle, they land on a designated area as in Empire at War, of course I still need to set them up so only Rebel or Imperial shuttles land depending on who's controlling the landing zone's CP (that's the first question), and second, most important, I don't need it necessarly to play each time units are spawn mostly at random but frequently enough and to land before spawning; assuming I make a 15 seconds animation it would need to begin playing so once it lands units spawn in time, the shuttle then leaves and might play the animation the next time units are about to spawn.
My scripting skills are not enough to figure out this mess, can someone help me? I am sure it will come in handy not only for me.
Thanks.
Animation Questions - Play at random before spwaning?
Moderator: Moderators
- vampire_lord
- Rebel Sergeant

- Posts: 216
- Joined: Thu Mar 20, 2008 7:02 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Mexico City
- Contact:
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Animation Questions - Play at random before spwaning?
Why don't you make a timer to play the animation on elapse? and then reset the timer and animation so it loops over and over. Or perhaps if you truly want something random, assign a random value to the timer (not sure how to do in lua, you could probably google it).
