I have a question about how to write the triggers for a class-based rpg where you can choose the class in the lobby (creates a structure where all heroes of a classs can be trained and upgraded). So far, I have this(Image). Btw don't mind the coding being in german, triggers are always written in english edpite the selected language in the editor. The current system does not work. Any suggestions on how to solve it?
That makes sense. Triggering player relates to the event. For instance if you use the event "unit enters region", if player 3's unit enters the region, triggering player will return player 3. No player triggers the map initialization.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi dear SC2 mapsters,
I have a question about how to write the triggers for a class-based rpg where you can choose the class in the lobby (creates a structure where all heroes of a classs can be trained and upgraded). So far, I have this(Image). Btw don't mind the coding being in german, triggers are always written in english edpite the selected language in the editor. The current system does not work. Any suggestions on how to solve it?
Roach
Well I solved the problem by replacing all "triggering player" functions with the player number
That makes sense. Triggering player relates to the event. For instance if you use the event "unit enters region", if player 3's unit enters the region, triggering player will return player 3. No player triggers the map initialization.