![]() If all of the conditions of a trigger return true, then StarCraft will begin to execute the actions of that trigger. This, as you might expect, saves time and memory. When ordering a trigger, it is better to have Deaths conditions get checked first if they return false and are positioned before more memory-intensive conditions, then StarCraft won't even bother checking the more "expensive" conditions. Other conditions, like Deaths, are simply numerical comparisons and happen much quicker. Some conditions, like Bring, require much more processing power to check since StarCraft must read a lot of data to determine where unit are. When creating maps with large amounts of triggers (>500), ordering the conditions correctly may help to reduce lag. If the game finds a false condition, it will not execute that trigger (or even check the other conditions). StarCraft will read the conditions one at a time from top to bottom until it finds a false one. A trigger will only execute if all conditions have been satisfied. ![]() If Players 1, 2, and 3 are in Force 1, then it is equivalent to having a check mark for Players 1, 2, 3, 5, and 6 in this window.Ĭonditions are the criteria required for the trigger to run. In the picture above, Force 1, Player 5 and Player 6 own this trigger. If All Players owns a trigger, then the trigger is treated as though it were owned by Players 1 through 8. If a Force owns a trigger, then the trigger is treated as though it were owned by the players in that Force. Each player and group will have a checkbox the checked players own the trigger. When creating a StarCraft trigger, your map editor will present you with a list of all players and player groups (including, depending on the editor, those that cannot execute triggers). Triggers for Players 9 through 11, Neutral, Allies, Foes, Current Player, etc., are ignored by StarCraft. Only Players 1 through 8 can own triggers, and the only valid player groups that can own triggers are Forces and All Players. Triggers can be set to run for specific players. 6.3 Why does my map spawn one Terran Marine instead of multiple?.6.2 Why does my map spawn Terran Marines even if that player is not in the game? And why do they attack me even though I allied them?.6.1 Why does my map spawn several Terran Marines for each player instead of just one?. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |