n4bieclimber
New Member
- Reaction score
- 1
owk the story i want to damage a creep that has been attacked this was the event for the dialog "nunchaku_attack_menu"
so the menu pops up and i click Fire pit. wich sets the next trigger in action
with the current trigger i manage to damage nothing, the creep, myself or the creep and myself.
any suggestions. i can post all of the triggers that are relevant to this and to solving this if u need them
so the menu pops up and i click Fire pit. wich sets the next trigger in action
with the current trigger i manage to damage nothing, the creep, myself or the creep and myself.
any suggestions. i can post all of the triggers that are relevant to this and to solving this if u need them
Code:
Clicked Fire Pit
Events
Dialog - A dialog button is clicked for Nunchaku_attack_menu
Conditions
(Clicked dialog button) Equal to Fire_Pit
Actions
Unit - Cause (Random unit from (Units owned by (Triggering player) of type Riu Hayabusa)) to damage (Random unit from (Units within 250.00 of (Position of (Random unit from (Units owned by (Triggering player) of type Riu Hayabusa))) matching ((Unit-type of (Random unit from (Units within 250.00 of (Position of (Random unit from (Units owned by (Triggering p, dealing 125.00 damage of attack type Normal and damage type Normal
Unit - Unpause (Random unit from (Units within 250.00 of (Position of (Random unit from (Units currently selected by (Triggering player))))))
Wait 1.00 seconds
Trigger - Run Nunchaku_attack_trigger (checking conditions)