- Joined
- Jun 27, 2010
- Messages
- 2,710
My goal is when player 1 unit(any of my units!) click on a player 2 unit(specific unit) to move that unit instantly on a specific region. Every unit has its region. in other words if any of my units(6 types) select specific enemy unit, to move them instantly to their region, but no all, a specific
Here's what i did:
first I put to all enemy unit triggers that are to be moved instantly:
event
unit - a unit is issued an order targeting an object
condition
unit-type of triggering unit equal to peasant(my unit, or units?)
action
unit - move <unit>(enemy) instantly to center of <region>.
But one click made all peasants move to their region, even if the triggers are separated
then i tried this:
unit - a unit is issued an order targeting an object
condition
I specified all units that target the enemy unit with or, or... and after them i specify the enemy unit with <and targeted unit equal to..> but this doesn't work...
any suggestion from you? I hope u understood my goal My head is about to explode
Here's what i did:
first I put to all enemy unit triggers that are to be moved instantly:
event
unit - a unit is issued an order targeting an object
condition
unit-type of triggering unit equal to peasant(my unit, or units?)
action
unit - move <unit>(enemy) instantly to center of <region>.
But one click made all peasants move to their region, even if the triggers are separated
then i tried this:
unit - a unit is issued an order targeting an object
condition
I specified all units that target the enemy unit with or, or... and after them i specify the enemy unit with <and targeted unit equal to..> but this doesn't work...
any suggestion from you? I hope u understood my goal My head is about to explode
Last edited: