Subject: Need help with moving tanks Mon Jun 22, 2009 7:16 pm
Im making a lvl in my maze similar to the level in escape shroom world where the tanks move down the screen and die in a certain region. Ive tried to do this but it i can't seem to figure it out. Can anyone help me?
Knight of Gods Commander
Subject: Re: Need help with moving tanks Tue Jun 23, 2009 6:46 pm
what part do you need help with?
BackseatDriver Captain
Subject: Re: Need help with moving tanks Wed Jun 24, 2009 12:48 pm
This is what i have. I know how to kill the units, that's easy. My problem is that the tanks always move torwards the middle of the region they are moving to.
Code:
Events Time - Every 0.50 seconds of game time Conditions Actions Unit - Create 1 Siege Engine for Player 12 (Brown) at (Random point in Region 446 <gen>) facing 0.00 degrees Unit - Order (Last created unit) to Move To ((Position of (Last created unit)) offset by 9999.00 towards 0.00 degrees)
nomorholywar Sergeant
Subject: Re: Need help with moving tanks Wed Jun 24, 2009 4:43 pm
dont do polar. do coordinates (0, -9999)
BackseatDriver Captain
Subject: Re: Need help with moving tanks Wed Jun 24, 2009 5:39 pm
Im trying everything but i cant figure it out
Knight of Gods Commander
Subject: Re: Need help with moving tanks Wed Jun 24, 2009 6:47 pm
wait if you have it like this
_________________________ - spawn tank in random spot
- have them move to random spot
_________________________
with ____ being 1 region respectively then just do unit - order unit to move to random point in region