CreateDefeatCondition

comment

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 DefeatConditionSetDescription.

note

Each defeat condition has a hyphen "-" symbol appended to the front.

patch

1.00

return type
defeatcondition
Source code
native CreateDefeatCondition            takes nothing returns defeatcondition
Source
common.j
wc3modding.com
CreateDefeatCondition