Posted: Fri Oct 11, 2019 4:45 pm Post subject:
Mission objective complete
Ok so i know how to create mission objectives and i know how to set winning conditions for my map, but how do you create a map requires a player to complete multiple mission objectives before they win. QUICK_EDIT
Have it so the trigger has type 1 (making it from OR one-time to AND one-time. There's also 2 for OR repeating).
That trigger will have "Local is Set" as events, and "Enable Trigger" as action.
The different locals will be the mission objectives you want, like destroying building A will set a local via another trigger, and discovering a unit/base will set another local via another trigger.
Make sure the win-trigger is disabled, and have the trigger that has all the "Local is Set" events have "Enable Trigger" as its action.
The trigger the local-chk trigger will enable is the win-trigger.
The gist of it is that the win-trigger cannot be enabled at game start; from my tests, if a trigger's action is the victory of the player house (not sure about non-player houses, but it might be the same), and the trigger enabled, then any events you pre-set will be ignored, and the trigger fired.
Congrats, you won the mission by loading the mission... QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum