- Joined
- Aug 8, 2012
- Messages
- 154
Hey there, this is my trigger:
Edit: Wrong forum, my bad!
-
Fencecreate
-

Events
-


Dialog - A dialog button is clicked for Dialogz[2]
-


Dialog - A dialog button is clicked for Dialogz[7]
-


Dialog - A dialog button is clicked for Dialogz[12]
-


Dialog - A dialog button is clicked for Dialogz[17]
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Clicked dialog button) Equal to Butaanzzz[4]
-
-



Then - Actions
-




Set Temp_Group = (Units in (Playable map area))
-




Unit Group - Pick every unit in Temp_Group and do (Actions)
-





Loop - Actions
-






If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-







If - Conditions
-








((Picked unit) is A Hero) Equal to True
-








(Owner of (Picked unit)) Equal to (Triggering player)
-
-







Then - Actions
-








If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-









If - Conditions
-










((Picked unit) has an item of type Wood Axe) Equal to True
-










((Triggering player) Current lumber) Greater than or equal to 10
-
-









Then - Actions
-










Special Effect - Create a special effect at (Position of (Last created item)) using Abilities\Spells\Human\Slow\SlowCaster.mdl
-










Player - Set (Triggering player) Current lumber to (((Triggering player) Current lumber) - 10)
-










Item - Create Crude Fencing at (Position of (Picked unit))
-
-









Else - Actions
-










Game - Display to (Player group((Triggering player))) the text: |CFFFF0303You lack ...
-
-
-
-







Else - Actions
-
-
-
-
-



Else - Actions
-
-
-
Edit: Wrong forum, my bad!



