- Joined
- Mar 17, 2011
- Messages
- 34
Hey. I am currently having problems with making a system for Control-points in my map.
It's a 12 player map, where each player gains income based on the amount of control points they have under their control.
However the systems that are on hiveworkshop I simply don't understand.
I must be an idiot or something, but yeah.
My trigger for CAPTURING the points is as follows:
Thanks.
It's a 12 player map, where each player gains income based on the amount of control points they have under their control.
However the systems that are on hiveworkshop I simply don't understand.
I must be an idiot or something, but yeah.
My trigger for CAPTURING the points is as follows:
-
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 (Attacked unit)) Equal to Control Point
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Percentage life of (Attacked unit)) Less than or equal to 15.00
-
Then - Actions
- Unit - Set life of (Attacked unit) to (Max life of (Attacked unit))
- Unit - Change ownership of (Attacked unit) to (Owner of (Attacking unit)) and Change color
-
Else - Actions
- Do Nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Else - Actions
- Do Nothing
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Thanks.
Last edited by a moderator: