ruff 102 Posted May 19, 2005 how do i get a whole east unit to ue switch move command using triggers i dont need condition field since im using the east count command if i cant do it i there a script for it? any help would be great Share this post Link to post Share on other sites
KaRRiLLioN 0 Posted May 21, 2005 Just create a large trigger that detects the East units you wish to affect. Â If you want this condition to be automatically true, then put TRUE in the condition. In onActivation put: "_x switchmove {Move}" foreach thislist I'd put a 2 second delay in the trigger if this is something that happens at the start of a mission. Â For the move you'll insert whatever action it is you want. Â You'll also need to use {} to enclose it instead of "" since that confuses OFP. Share this post Link to post Share on other sites
MrZig 0 Posted May 24, 2005 Quote[/b] ]You'll also need to use {} to enclose it instead of "" since that confuses OFP. Just a note here, you can actually use two quote symbols for each {. For example, you could write it like so: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"_x switchmove ""Move""" foreach thislist using {} is simpler and easier to recognise, but I thought I'd confuse you even more. Bwa ahahaha Share this post Link to post Share on other sites
ruff 102 Posted May 26, 2005 thanks alot man but now how do i cancel it for every unit i kill (the switchmove) Share this post Link to post Share on other sites