Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Trying to make a trigger in sc2 Editor... I can't figure out how to do what in WE would be a player comparison. Trying to spawn different buildings based on the player's race.
These are contradictory since in WC3 World Editor a player comparison compared players and not player races. In StarCraft II the player comparison was replaced with an integer comparison since players are treated as integers rather than a unique type.
Similar to Warcraft III, there is likely a function that returns the race assigned to a player given a value representing a player. The returned value will likely be a string wrapped as a race data link. This means string comparison if using galaxy directly, otherwise GUI should hopefully automatically perform a comparison of the appropriate data type.
@deepstrasz i made a post elsewhere but I like this website/community more, so I figured to also post here to support/encourage this community. kind of a shame sc2 editor is so complicated.
@Dr Super Good oh that is surprisingly simple, below seems to work in my test.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.