Skip to content
#258
Auto-translated
Winner


And regarding completing the task after defeating another player? Can you offer any advice? :)
That's strange, I did exactly as I described - after defeating 4 enemy heroes, the task is completed.
Here, `GetPlayerState` retrieves the current state of the player,
and `'~=1'` means "not equal to," and any number can be used; for more details, see the manual:
Returns the player's participation/win/loss state: 0 - the player is not participating in the game,
1 - the player is still playing, 2 - the player has lost, 3 - neither of the above (possibly won, but it cannot be said for sure).


Added 6 minutes later
Ment
This means "not equal to."
But there is also a `NeedComplete` parameter (it should be completed; if these parameters are not set, completing the remaining quests will be enough to win).
It's better not to touch it at all - it's not used.
I'll write it like this: If you set 'Ignore' to 'false', then after completing this task, the mission will be won, ignoring other tasks

Statistics

Welcome our newest member: wayal