When hellion enter goal region. Player got 1 mineral. Mineral works laps. I need score to leaderboard, when player collect 3 mineral first, it get 3 point to leaderboard. Second who collect 3 minerals, get 2 point. Third 1 point.
I think this can make this way. When first get 3 mineral give it 3 points to player, and turn off trigger ''First points'' and Turn on trigger ''Second points'' and player get second place turn off trigger ''Second points'' turn on trigger ''Third points''
I need trigger when player is collect 3 mineral. Give him to leaderboarder x points, and i set that turn on/off system.
I hope this is clear. If there is better way. Sure you can share that info. :D
When hellion enter goal region. Player got 1 mineral. Mineral works laps. I need score to leaderboard, when player collect 3 mineral first, it get 3 point to leaderboard. Second who collect 3 minerals, get 2 point. Third 1 point.
I think this can make this way. When first get 3 mineral give it 3 points to player, and turn off trigger ''First points'' and Turn on trigger ''Second points'' and player get second place turn off trigger ''Second points'' turn on trigger ''Third points''
I need trigger when player is collect 3 mineral. Give him to leaderboarder x points, and i set that turn on/off system.
I hope this is clear. If there is better way. Sure you can share that info. :D
I try make self and i dont know why this dont work. Here is trigger code. It set player minerals to 0, but not give leaderboarder 3 points.
Events
Unit - Any Unit Enters Maali
Local Variables
Conditions
Actions
General - Pick each integer from 1 to 8, and do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
(Player (Picked integer) has at least 3 and at least 0) == True
Then
Variable - Modify Score[(Picked integer)]: + 3
Player - Modify player (Picked integer) Minerals: Set To 0
Trigger - Turn (Current trigger) Off
Else