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...")
 
m
Line 1: Line 1:
{{Icon|t}} '''FAIL_CURRENT_MISSION'''
+
{{OpCode
<hr />
+
| games      = {{Icon|t}}
'''Description'''
+
| command    = FAIL_CURRENT_MISSION
: Terminates the active mission
+
| description = Terminates the active mission
'''Syntax'''
+
| syntax1    = 045C: fail_current_mission
: 045C: fail_current_mission
+
| p1t        = ''none''
'''Parameter'''
+
}}
: [''none'']
 
  
 
This opcode terminates the active mission by executing its mission cleanup routine. It only affects active missions with a [[Create a mission|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 [[Main.scm|original script]] of GTA III and Vice City.
 
This opcode terminates the active mission by executing its mission cleanup routine. It only affects active missions with a [[Create a mission|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 [[Main.scm|original script]] of GTA III and Vice City.
Line 12: Line 11:
 
== Keywords ==
 
== Keywords ==
 
fail, abort, terminate, current, active, mission
 
fail, abort, terminate, current, active, mission
 
[[Category:OpCodes]]
 

Revision as of 10:08, 15 October 2016

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