045C

From GTAMods Wiki
Revision as of 09:35, 16 October 2016 by Seemann (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas FAIL_CURRENT_MISSION


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