- Joined
- Apr 20, 2005
- Messages
- 34
Working on making a Chain mine ability based off of locust, however I'm having trouble getting the triggers to cooperate. The idea is that, he releases 10 or so mines which will explode once he attacks them, but unless i get the trigger working, the mines will damage him too...
heres the trigger work
Chain Mine Trigger
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Chain Mine
Actions
Set TempPoint2 = (Position of (Dying unit))
Unit Group - Pick every unit in (Units within 250.00 of TempPoint2 matching ((Unit-type of (Picked unit)) Equal to Chain Mine)) and do (Unit - Kill (Matching unit))
Custom script: call RemoveLocation( udg_TempPoint2 )
heres the trigger work
Chain Mine Trigger
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Chain Mine
Actions
Set TempPoint2 = (Position of (Dying unit))
Unit Group - Pick every unit in (Units within 250.00 of TempPoint2 matching ((Unit-type of (Picked unit)) Equal to Chain Mine)) and do (Unit - Kill (Matching unit))
Custom script: call RemoveLocation( udg_TempPoint2 )