Auto-translated
I have a very complex task. I need to implement a system where, if a player completes a quest in one mission, a script is triggered or a bonus is given in another mission.
After completing the quest, use SetGameVar("name", "value") (a number, I think). In the next mission: if GetGameVar("that name") == value then...