EXIT_REJECTED
[[EXIT_REJECTED]]
Indicates that the completion of the quest has been rejected. It’s used in conditionals (IF ELSEIF ENDIF) in events like EXIT, ON_END, ON_END_ALLHEROES, ON_END_FIRSTHEROES, so that the hero can be allowed to finish the quest only if a specific condition is met.
- Example:
{[[(Y), ON_END]] [[IF: GET(bossKilled) = 1]] You killed the Boss, your quest is complete, you can leave! [[ELSEIF]] You cannot leave until you kill the boss! [[EXIT_REJECTED]] [[ENDIF]]}