Hello Everyone,
I am trying to figure out how to set a "Team Gold" system so that whenever a player kills a unit, it counts up the number of allies, then divides the amount of gold gained among each player. I have been testing this solo and I have noticed that open spots for players have been taken over by NPCs. However, from the looks of it, triggers don't seem to register these placeholder AI's as actual players. Is that true?
An example would be "TempPlayerGroup = Allies of (Killing Player)"
Pick all Players in TempPlayerGroup
I am trying to figure out how to set a "Team Gold" system so that whenever a player kills a unit, it counts up the number of allies, then divides the amount of gold gained among each player. I have been testing this solo and I have noticed that open spots for players have been taken over by NPCs. However, from the looks of it, triggers don't seem to register these placeholder AI's as actual players. Is that true?
An example would be "TempPlayerGroup = Allies of (Killing Player)"
Pick all Players in TempPlayerGroup
Give Picked Player (300 Gold/Number of Players in TempPlayerGroup)
While testing, this trigger gave me (the lone human player) 300 gold and gave 0 to the other two allied players that I had (I viewed this using Shared Unit Control). This goes back to my question; do triggers not treat NPC Player-Holders as actual players? If that is the case, I wonder how I can test my map solo for triggers involving multiple players. (I cannot host maps on Battlenet w/o MMH [which uses preset maps]). For now, I have set the "Player" to "Computer" and it does distribute the gold properly, but will the triggers still work the same (except for cases that detect Player Status)