Difference between revisions of "0A94"

From GTAMods Wiki
Jump to navigation Jump to search
(Created 0A94.)
 
(Added more correctly usage of this opcode on Sanny Builder.)
Line 3: Line 3:
 
| command    = LOAD_AND_LAUNCH_CUSTOM_MISSION
 
| command    = LOAD_AND_LAUNCH_CUSTOM_MISSION
 
| description = Begins a CLEO mission from a specified file. The file extension is not needed to specify, the opcode will search for the file with the extension .cm (Custom Mission). The mission starts from the file CLEO\missions\CustomMission1.cm in this example.
 
| description = Begins a CLEO mission from a specified file. The file extension is not needed to specify, the opcode will search for the file with the extension .cm (Custom Mission). The mission starts from the file CLEO\missions\CustomMission1.cm in this example.
| syntax1    = 0A94: load_and_launch_custom_mission "missions\CustomMission1"
+
| syntax1    = 0A94: start_custom_mission "missions\CustomMission1"
 
| p1t        = [''string'']
 
| p1t        = [''string'']
 
| p1d        = Custom mission file path.
 
| p1d        = Custom mission file path.
 
}}
 
}}

Revision as of 14:44, 30 April 2021

San Andreas LOAD_AND_LAUNCH_CUSTOM_MISSION


Description
Begins a CLEO mission from a specified file. The file extension is not needed to specify, the opcode will search for the file with the extension .cm (Custom Mission). The mission starts from the file CLEO\missions\CustomMission1.cm in this example.
Syntax
0A94: start_custom_mission "missions\CustomMission1"
Parameter
[string]
Custom mission file path.