Flamesword
New Member
- Reaction score
- 0
I'm creating a unit that uses three items to fight. Each of these item weapons is supposed to be effective against a certain unit. I want a trigger to kill a certain unit type if using the correct item. But I can't seem to find the right combination of event/condition/action subroutines to use. So far, this is the best I can do:
Event
(Robot) is issued an order targeting an object
Condition
(Issued order) equal to (order(...))
(Unit-type of (targeted unit)) equal to (spider)
Action
Unit - Kill (target unit)
I don't know any of the compatible order strings to place in the ... Can anyone tell me what I can fill in there to make this work? If it simplifies the process, each of the items positions in the inventory will be predetermined.
Event
(Robot) is issued an order targeting an object
Condition
(Issued order) equal to (order(...))
(Unit-type of (targeted unit)) equal to (spider)
Action
Unit - Kill (target unit)
I don't know any of the compatible order strings to place in the ... Can anyone tell me what I can fill in there to make this work? If it simplifies the process, each of the items positions in the inventory will be predetermined.