045C
Revision as of 10:08, 15 October 2016 by Spaceeinstein (talk | contribs)
- Description
- Terminates the active mission
- Syntax
- 045C: fail_current_mission
- Parameter
- none
This opcode terminates the active mission by executing its mission cleanup routine. It only affects active missions with a specific structure and has no effect elsewhere. This opcode should not be called during cutscenes because it can skip over opcode 02EA, preventing you from resuming control of your character, unless the opcode is placed in the mission cleanup routine. Names used in alternative documentations include abort_mission and terminate_active_mission. This opcode was never called in the original script of GTA III and Vice City.
Keywords
fail, abort, terminate, current, active, mission