- Joined
- Sep 25, 2007
- Messages
- 1,258
Hello! i have an issue with my trigger... i'll post the trigger....
I need it to work, 'cause i think i'm onto something funny if you doesn't understand what the trigger is supposed to do, let me know, i will re-write what i mean.
-
Tower supply consumption
-
Events
- Unit - A unit Is attacked
- Conditions
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Triggering unit)) Equal to Flame tower
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- ((Owner of (Attacking unit)) Current lumber) Greater than or equal to 3
-
Then - Actions
- Player - Add -3 to (Owner of (Attacking unit)) Current lumber
-
Else - Actions
- Unit - Order (Attacking unit) to Stop
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of (Triggering unit)) Equal to Guntower
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Item-type of (Item carried by (Attacking unit) in slot 1)) Equal to Bullets
-
Then - Actions
- Item - Set charges remaining in (Item carried by (Attacking unit) in slot 1) to ((Charges remaining in (Item carried by (Attacking unit) in slot 1)) - 1)
-
Else - Actions
- Unit - Order (Attacking unit) to Stop
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
I need it to work, 'cause i think i'm onto something funny if you doesn't understand what the trigger is supposed to do, let me know, i will re-write what i mean.