Additional Script Functionality

This chapter contains documentation for the Additional Script Functionality hack.


About Additional Script Functionality

Synopsis This hack adds several new mission objectives, mission conditions, script commands and ...


Additional Script Functionality Commands

Script Commands These are all the commands added by this hack. As of 1.18.1, these commands all...


Additional Script Functionality Objectives

This is a table of all the additional mission objective types added by this hack. Objective Na...


Additional Script Functionality Conditions

This is a table of all the additional mission condition types added by this hack.  Condition ...


CON Command: AddVehicleCharacter

Synopsis This can be used to add additional characters to a car on top of the driver and the pla...


CON Command: AddVehicleCharacterSuppressionCharacter

Synopsis Set the character whose suppression status (set via SuppressDriver in the Level's load ...


CON Command: SetConditionalParameter

Synopsis Set parameters on a car depending on various conditions. For use inside CON files. Sy...


CON Command: SetVehicleCharacterAnimation

Synopsis Set the animation that the character will use in the car. Syntax SetVehicleCharacterA...


CON Command: SetVehicleCharacterJumpOut

Synopsis Set the character to jump out of the vehicle is destroyed. Syntax SetVehicleCharacter...


CON Command: SetVehicleCharacterScale

Synopsis Set the scale of the character. Syntax SetVehicleCharacterScale( <character>, [...


CON Command: SetVehicleCharacterVisible

Synopsis Set whether or not the character is visible.This can be used to force a character to be...


MFK Command: AddCondTargetModel

Synopsis Specify the name of a model that fails the condition. For use inside destroycars and...


MFK Command: AddObjTargetModel

Synopsis Specify the name of a model that will advance the objective. For use inside destroyca...


MFK Command: AddStageVehicleCharacter

Synopsis Add a character to a stage vehicle or the player's car for a stage. Syntax AddStageVe...


MFK Command: DisableTrigger

Synopsis Disable a locator's trigger(s) for a stage. For use inside a stage. Repeat for each lo...


MFK Command: RemoveStageVehicleCharacter

Synopsis Remove a character from a stage vehicle or the player's car upon reaching the stage. S...


MFK Command: ResetStageHitAndRun

Synopsis Resets the Hit & Run meter when reaching a stage, erasing all existing chase cars. ...


MFK Command: SetCarChangeHitAndRunChange

Synopsis Set the amount the Hit & Run meter will change when swapping to a different vehicle...


MFK Command: SetCondDelay

Synopsis Specify a delay after the condition is failed for the mission to end. For use inside c...


MFK Command: SetCondDisplay

Synopsis Set how the condition is displayed to the user. Syntax SetCondDisplay( <display_ty...


MFK Command: SetCondMessageIndex

Synopsis Set a message index for the condition. For use inside insidetrigger and outsidetrig...


MFK Command: SetCondSound

Synopsis Set a sound for the condition. For use inside hitpeds,  insidetrigger and outsidet...


MFK Command: SetCondSpeedRangeKMH

Synopsis Sets a speed range for the condition. For use inside a maintainspeedcondition. Synta...


MFK Command: SetCondThreshold

Synopsis Set a threshold for the condition. For use inside insidetrigger and outsidetrigger?...


MFK Command: SetCondTotal

Synopsis Set the total amount of times the condition must be failed for the player to fail the m...


MFK Command: SetCondTrigger

Synopsis Specify a locator whose triggers will cause the condition to fail. For use inside ins...


MFK Command: SetHitAndRunDecayHitAndRun

Synopsis Set the amount the Hit & Run meter will decay each second while the player is in a ...


MFK Command: SetHitAndRunFine

Synopsis Set the amount of coins the player will be fined if they are caught in a Hit & Run....


MFK Command: SetHUDMapDrawable

Synopsis Set the current drawable for the HUD map when a mission starts. Syntax SetHUDMapDrawa...


MFK Command: SetNoHitAndRunMusicForStage

Synopsis Disables the game switching to the Hit & Run music during a Hit & Run for the s...


MFK Command: SetObjCameraName / SetObjMulticontName

Synopsis Set the name of the camera and multi controller to use for the objective.These commands...


MFK Command: SetObjCanSkip

Synopsis Set whether or not the objective can be skipped. For use inside camera objectives. ...


MFK Command: SetObjDecay

Synopsis Set the decay delay and decay rate for the objective. For use inside insidetrigger a...


MFK Command: SetObjExplosion

Synopsis Set an explosion to use for the objective. For use inside hitpeds objectives. Syntax ...


MFK Command: SetObjMessageIndex

Synopsis Set a message index for the objective. For use inside insidetrigger and outsidetrig...


MFK Command: SetObjNoLetterbox

Synopsis Set whether or not there will be letterboxing during the objective. For use inside ca...


MFK Command: SetObjSound

Synopsis Set a sound for the condition. For use inside hitpeds,  insidetrigger and outsidet...


MFK Command: SetObjSpeedKMH

Synopsis Set the speed required for the objective. For use in reachspeed objectives. Syntax S...


MFK Command: SetObjThreshold

Synopsis Set a threshold for the objective. For use inside insidetrigger and outsidetrigger?...


MFK Command: SetObjTotal

Synopsis Set the total amount of times the condition must be failed for the player to fail the m...


MFK Command: SetObjTrigger

Synopsis Specify a locator whose triggers will be used for the objective. For use inside insid...


MFK Command: SetObjUseCameraPosition

Synopsis Set whether or not the game should use the camera's position for spawning traffic and p...


MFK Command: SetStageAllowMissionCancel

Synopsis Set whether or not the player is allowed to restart or cancel the mission during the st...


MFK Command: SetStageCarChangeHitAndRunChange

Synopsis Set the amount the Hit & Run meter will change when swapping to a different vehicle...


MFK Command: SetStageCharacterModel

Synopsis Set the character's model for the stage. Syntax SetStageCharacterModel( <model>...


MFK Command: SetStageHitAndRun

Synopsis Set the value of the Hit & Run meter when starting the stage. Syntax SetStageHitA...


MFK Command: SetStageHitAndRunDecay

Synopsis Set the Hit & Run decay rate for a stage. Syntax SetStageHitAndRunDecay( <deca...


MFK Command: SetStageHitAndRunDecayHitAndRun

Synopsis Set the Hit & Run decay rate while in a Hit & Run for a stage. Syntax SetStag...


MFK Command: SetStageHitAndRunDecayInterior

Synopsis Set the Hit & Run decay rate while in an interior for a stage. Syntax SetStageHit...


MFK Command: SetStageHitAndRunFine

Synopsis Set the Hit & Run fine for a stage. Syntax SetStageHitAndRunFine( <fine> );...


MFK Command: SetStageNumChaseCars

Synopsis Set the amount of chase cars that will spawn during a Hit & Run this stage. Syntax...


MFK Command: SetStagePayout

Synopsis Sets an amount of coins to give the player when they complete the stage. Syntax SetSt...


MFK Command: SetStageVehicleNoDestroyedJumpOut

Synopsis Sets whether or not the driver of the vehicle will jump out when it's destroyed. Synta...


MFK Command: SetStageVehicleAllowSeatSlide

Synopsis Sets whether or not the stage vehicle allows seat slide. Syntax SetStageVehicleAllowS...


MFK Command: SetStageVehicleCharacterAnimation

Synopsis Set the animation that the character will use in the stage vehicle. This must be calle...


MFK Command: SetStageVehicleCharacterJumpOut

Synopsis Set the character to jump out of the vehicle when it's destroyed. This must be called ...


MFK Command: SetStageVehicleCharacterScale

Synopsis Set the scale of the character in the stage vehicle. Syntax SetStageVehicleCharacterS...


MFK Command: SetStageVehicleCharacterVisible

Synopsis Set if the character is visible in the vehicle. This allows you to make characters vis...


MFK Command: SetStageVehicleReset

Synopsis Sets whether or not an AI car will automatically reset onto the road if it's off for to...


Search Results Clear Search

Back to top