Difference between revisions of "045C"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Icon|t}} '''FAIL_CURRENT_MISSION''' <hr /> '''Description''' : Terminates the active mission '''Syntax''' : 045C: fail_current_mission '''Parameter''' : [''none''] This opc...")
(No difference)

Revision as of 17:21, 25 November 2015

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