No that wont work. The Player Race !=Terran condition as meant to be moved to the location where your current condition is. You also have removed any way to scan between players while there is no triggering unit for your event for the function to use. If you fixed the triggering unit finction you would just set the selected player to 50 minerals continuously.
Rather replace the While loop with a For Each Player In Player Group (Using all players as the group) that then uses an If Then Else action which you validate for your player race and move the game variant condition to the far top of the trigger.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Odd I did a simple test and it worked. How is your trigger set up?
The action sets the current number of minerals the player has to that number. Maybe you are having the mineral change hidden by the default melee amount.
In reply to DrSuperEvil:
No that wont work. The Player Race !=Terran condition as meant to be moved to the location where your current condition is. You also have removed any way to scan between players while there is no triggering unit for your event for the function to use. If you fixed the triggering unit finction you would just set the selected player to 50 minerals continuously.
Rather replace the While loop with a For Each Player In Player Group (Using all players as the group) that then uses an If Then Else action which you validate for your player race and move the game variant condition to the far top of the trigger.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Replace triggering player in your second condition with the "Player Number" local variable and it should.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Use a Switch action definition.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Yes remove the far top condition since it is now redundant because the switch will be doing that task.
Otherwise looks fine.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Should set all players starting minerals to 50?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Odd I did a simple test and it worked. How is your trigger set up?
The action sets the current number of minerals the player has to that number. Maybe you are having the mineral change hidden by the default melee amount.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
What race are you when you have tested it? It is currently set up to only modify players if their race is not terran.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
Only thing I can suggest is to add a Text Message action and move it through your trigger to find where it stops working.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil:
In reply to DrSuperEvil:
Very hard to tell if it is working with you having all those workers harvesting.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
In reply to DrSuperEvil: