T]i[T]a[N
New Member
- Reaction score
- 0
I've just developed a trigger on my map so that when a player gets 50 kills they will be rewarded. Now I know this trigger won't work so I haven't even specified what I would like the reward to be, I need a little help. ( I don't want to use a multi-board ) If there is a better more efficient way, please feel free to inform me Here is my trigger.
Set kills ( Kill_Rewards2 = Integer array )
Adding kills + reward
Set kills ( Kill_Rewards2 = Integer array )
Code:
Set Kill Reward 50
Events
Map initialization
Conditions
Actions
For each (Integer A) from 1 to 6, do (Actions)
Loop - Actions
Set Kill_Rewards2[(Integer A)] = 0
Adding kills + reward
Code:
Kill Reward 50
Events
Unit - A unit Dies
Conditions
Actions
Set Kill_Rewards2[(Player number of (Owner of (Killing unit)))] = Kill_Rewards2[((Player number of (Owner of (Killing unit))) + 1)]
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Kill_Rewards2[(Player number of (Owner of (Triggering unit)))] Equal to 50
Then - Actions
Else - Actions
Do nothing