set_target_command

For all the help you need with Armagetron!
Post Reply
Who?
On Lightcycle Grid
Posts: 22
Joined: Fri Sep 10, 2010 2:42 am

set_target_command

Post by Who? »

I'm running in to a bit of trouble when trying to delay set_target_command.

Here's my target:

Code: Select all

spawn_zone n target1 target L 135.5 115 Z 5 0 0 0 false 0 0 1 5
And here's my delayed command:

Code: Select all

delay_command r0 1 set_target_command target1 onenter collapse_zone exit1
All of the access_levels seem to be in their proper place and the command holds when not delayed. I seem to remember being able to do this in the past, so is there something that I'm missing?

Also, delaying other zone effecting commands (i.e set_zone_color) works fine.

Any and all help would be highly appreciated!

Thanks,
Who?
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1986
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: set_target_command

Post by kyle »

in your DELAY_COMMAND you should not need the r0
Image
Who?
On Lightcycle Grid
Posts: 22
Joined: Fri Sep 10, 2010 2:42 am

Re: set_target_command

Post by Who? »

Oh, I didn't know that! You learn something new everyday :P

Still doesn't help me though as I've just tried this unsuccessfully once again :(

Is it unsupported or is this supposed to work?

Thanks for your time!
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1986
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: set_target_command

Post by kyle »

I think you are going to need something like

Code: Select all

delay_command -1 spawn_zone n target1 target L 135.5 115 Z 5 0 0 0 false 0 0 1 5
delay_command 1 set_target_command target1 onenter collapse_zone exit1
Image
Post Reply