Defeat conditions tell players what conditions would warrant a defeat. They are shown above all quest descriptions. Note that this function will only display text. To put the condition in effect, you would need additional triggering (i.e. registering when a unit dies to end the game). This updates all quests with the list of defeat condition descriptions. To actually set the text use
Each defeat condition has a hyphen "-" symbol appended to the front.
- return type
- Source code
native CreateDefeatCondition takes nothing returns defeatcondition