gv_playerRace = Terran;
Above is the line that keeps preventing compiling (syntax error). In the Preset its custom script -> String, and the 3 values of course are terran, zerg, and protoss. I try to use this code:
Variable - Set Player Race = Terran
would be the correct syntax. (Notice the ")
Also, why do you use a String identifier? Just keep it default (int). This will handle it like an integer internally. (In Galaxy)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
gv_playerRace = Terran; Above is the line that keeps preventing compiling (syntax error). In the Preset its custom script -> String, and the 3 values of course are terran, zerg, and protoss. I try to use this code: Variable - Set Player Race = Terran
And Player Race is Type Preset -> Race.
If its a String,
would be the correct syntax. (Notice the ") Also, why do you use a String identifier? Just keep it default (int). This will handle it like an integer internally. (In Galaxy)