- Joined
- Jun 2, 2009
- Messages
- 1,276
Prevent chop trees
Is there any way to prevent this?
-
Events
-

Unit - A unit Is issued an order targeting an object
-
-
Conditions
-
Actions
-

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


If - Conditions
-



(Destructible-type of (Target destructible of issued order)) Equal to Barrens Tree 5
-



((Ordered unit) is in Balta5Barren) Equal to False
-
-


Then - Actions
-



Game - Display to (Player group((Owner of (Triggering unit)))) for 2.00 seconds the text: Woodaxe +3 gereklid...
-



Unit - Order (Ordered unit) to Move To (Position of (Ordered unit))
-
-


Else - Actions
-
-

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


If - Conditions
-



(Destructible-type of (Target destructible of issued order)) Equal to Fina Tree 4
-



((Ordered unit) is in Balta4Big) Equal to False
-
-


Then - Actions
-



Game - Display to (Player group((Owner of (Triggering unit)))) for 2.00 seconds the text: Woodaxe +2 gereklid...
-



Unit - Order (Ordered unit) to Move To (Position of (Ordered unit))
-
-


Else - Actions
-
-

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


If - Conditions
-



(Destructible-type of (Target destructible of issued order)) Equal to Fall Tree 3
-



((Ordered unit) is in Balta3Fall) Equal to False
-
-


Then - Actions
-



Game - Display to (Player group((Owner of (Triggering unit)))) for 2.00 seconds the text: Woodaxe +1 gereklid...
-



Unit - Order (Ordered unit) to Move To (Position of (Ordered unit))
-
-


Else - Actions
-
-

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


If - Conditions
-



(Destructible-type of (Target destructible of issued order)) Equal to Ashenvale Tree 2
-



((Ordered unit) is in Balta2Ashenvale) Equal to False
-
-


Then - Actions
-



Game - Display to (Player group((Owner of (Triggering unit)))) for 2.00 seconds the text: Woodaxe gereklidir.
-



Unit - Order (Ordered unit) to Move To (Position of (Ordered unit))
-
-


Else - Actions
-
-

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


If - Conditions
-



And - All (Conditions) are true
-




Conditions
-





((Ordered unit) is in Balta5Barren) Equal to False
-





((Ordered unit) is in Balta4Big) Equal to False
-





((Ordered unit) is in Balta3Fall) Equal to False
-





((Ordered unit) is in Balta2Ashenvale) Equal to False
-





And - All (Conditions) are true
-






Conditions
-







Or - Any (Conditions) are true
-








Conditions
-









(Destructible-type of (Target destructible of issued order)) Equal to Ashenvale Tree 2
-









(Destructible-type of (Target destructible of issued order)) Equal to Fall Tree 3
-









(Destructible-type of (Target destructible of issued order)) Equal to Fina Tree 4
-









(Destructible-type of (Target destructible of issued order)) Equal to Barrens Tree 5
-
-
-
-
-
-
-
-


Then - Actions
-



Unit - Order (Ordered unit) to Move To (Position of (Ordered unit))
-



Game - Display to (Player group((Owner of (Triggering unit)))) for 2.00 seconds the text: Gerekli baltaya sa...
-
-


Else - Actions
-
-
Is there any way to prevent this?
