Find the nearest location (to the given position) of given type.
C Func: 0x5435cc ScriptInfo: 0xdd21a4
Find the nearest location (to the given position) having it speech non-empty.
C Func: 0x53e7a7 ScriptInfo: 0xdd2438
Return the parent task of the specified task.
C Func: 0x5a22e1 ScriptInfo: 0xdd31d4
Return current task of given person.
C Func: 0x5a25b1 ScriptInfo: 0xdd33e4
Create a new AI task (subtask of parentTask). Type is name of registered task type.
C Func: 0x5a5dc6 ScriptInfo: 0xdd353c
Create a new simple task (subtask of parentTask).
C Func: 0x5a8d6b ScriptInfo: 0xdd3778
A non-existing object. This value is not equal to anything, including itself.
C Func: 0x77d304 ScriptInfo: 0xde5690
player == objNull
Retu
C Func: 0x76b792 ScriptInfo: 0xde56e0
Returns the map elevation offset from [map]/config.cpp
C Func: 0x76b7b6 ScriptInfo: 0xde5708
Returns the value of "3D performance" as it is in OFP preferences. This can be used to estimate computer performance. The function can be used to create missions that are able to adapt to computer peformance.
C Func: 0x76b7dd ScriptInfo: 0xde5758
? benchmark>2000 : setviewdistance 2000
Returns the current time acceleration factor.
C Func: 0x76b882 ScriptInfo: 0xde5780
Checks the current music volume (set by
C Func: 0x76bbbf ScriptInfo: 0xde5af0
Checks the current sound volume (set by
C Func: 0x76bc75 ScriptInfo: 0xde5b18
Checks the current radio volume (set by
C Func: 0x76bc92 ScriptInfo: 0xde5b40
Return the current overcast.
C Func: 0x76c1bf ScriptInfo: 0xde5c80
Return the current air temperature.
C Func: 0x76c1dc ScriptInfo: 0xde5ca8
Return the current fog.
C Func: 0x76c213 ScriptInfo: 0xde5cd0
Return the current rain.
C Func: 0x76c230 ScriptInfo: 0xde5cf8
Return the time (in seconds) when the next weather change will occur.
C Func: 0x76c24d ScriptInfo: 0xde5d48
Return the overcast forecast.
C Func: 0x76c276 ScriptInfo: 0xde5d70
Return the fog forecast.
C Func: 0x76c293 ScriptInfo: 0xde5d98
Return the region where the game was sold (based on distribution id).
C Func: 0x76ea04 ScriptInfo: 0xde5e38
Return the stored value of armory points.
C Func: 0x7bc6a9 ScriptInfo: 0xde5eb0
Returns average framerate over last 16 frames.
C Func: 0x76e0d5 ScriptInfo: 0xde5f50
Returns number of frame currently displayed .
C Func: 0x76e0fa ScriptInfo: 0xde5f78
Returns minimal framerate. Calculated from the longest frame over last 16 frames.
C Func: 0x76e119 ScriptInfo: 0xde5fa0
Real time spent from the start of the game.
C Func: 0x76e151 ScriptInfo: 0xde5fc8
C Func: 0x76f0ad ScriptInfo: 0xde5ff0
C Func: 0x76f188 ScriptInfo: 0xde6018
C Func: 0x76f222 ScriptInfo: 0xde6040
C Func: 0x76f2d4 ScriptInfo: 0xde6068
C Func: 0x76f377 ScriptInfo: 0xde6090
C Func: 0x76f411 ScriptInfo: 0xde60b8
Returns the rendering distance.
C Func: 0x76c110 ScriptInfo: 0xde62e8
Server time synchronized to clients.
C Func: 0x76c151 ScriptInfo: 0xde6310
Estimated end of MP game converted to serverTime.
C Func: 0x76c188 ScriptInfo: 0xde6338
Returns sun to moon transition state.
C Func: 0x76e50b ScriptInfo: 0xde6400
Returns moon light intensity.
C Func: 0x76e53a ScriptInfo: 0xde6428
Returns 0 for metric, 1 for mixed (ground units uses metric, air units uses imperial) and 2 for imperial.
C Func: 0x76e56a ScriptInfo: 0xde6450
Returns true if picture is enabled
C Func: 0x76b74b ScriptInfo: 0xde6568
Returns true if scene is ready to rendering
C Func: 0x7789b8 ScriptInfo: 0xde65e0
_ready = isSceneReady
Checks whether cheats are enabled (whether the designers' version is running).
C Func: 0x95f5f1 ScriptInfo: 0xde66d0
Returns whether a user dialog is present.
C Func: 0x76d226 ScriptInfo: 0xde66f8
Returns the nearest building to the given object.
C Func: 0x7b5f8e ScriptInfo: 0xde0210
neareastBuilding player
Returns the nearest building to the given position.
C Func: 0x7b5f4c ScriptInfo: 0xde023c
neareastBuilding position player
Returns the nearest object of the given type to the given position or object. Pos may be using format [x,y,z, "type"] or [object, "type"].
C Func: 0x793595 ScriptInfo: 0xde0268
nearestObject [player, "StreetLamp"]
Returns the vehicle in which the given unit is mounted. If there is none, the unit is returned.
C Func: 0x780ae0 ScriptInfo: 0xde03f4
vehicle player != player
Returns the driver of the vehicle. If the vehicle is not a vehicle, but a person, the person is returned instead.
C Func: 0x780b3c ScriptInfo: 0xde0420
driver vehicle player
Returns the commander of the vehicle. If the vehicle is not a vehicle, but a person, the person is returned instead.
C Func: 0x780b89 ScriptInfo: 0xde044c
commander vehicle player
Returns the gunner of the vehicle. If the vehicle is not a vehicle, but a person, the person is returned.
C Func: 0x780c2c ScriptInfo: 0xde0478
gunner vehicle player
Text background - the argument uses format ["text","type",speed] or ["text","type"]. If speed is not given, it's assumed to be one. Type may be one of: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN".
C Func: 0x795c52 ScriptInfo: 0xde0630
cutText ["", "BLACK OUT"]
Resource background - the argument uses format ["name","type",speed] or ["name","type"]. If speed is not given, it's assumed to be one. The resource can be defined in the description.ext file.
C Func: 0x795c6b ScriptInfo: 0xde065c
cutRsc ["binocular", "PLAIN"]
Object background - the argument uses format ["name","type",speed] or ["name","type"]. If speed is not given, it's assumed to be one. The object can be defined in the description.ext file.
C Func: 0x795d61 ScriptInfo: 0xde0688
cutObj ["TVSet", "plain"]
Text title - the argument uses format ["text","type",speed] or ["text","type"]. If speed is not given, it's assumed to be one.
C Func: 0x7956a3 ScriptInfo: 0xde06b4
titleText ["Show this text", "PLAIN"]
Resource title - the argument uses format ["name","type",speed] or ["name","type"]. If speed is not given, it's assumed to be one. Resource can be defined in the description.ext file.
C Func: 0x7959a3 ScriptInfo: 0xde06e0
titleRsc ["BIS", "PLAIN"]
Object title - the argument uses format ["text","type",speed] or ["name","type"]. If speed is not given, it's assumed to be one. The object can be defined in the description.ext file.
C Func: 0x795a98 ScriptInfo: 0xde070c
titleObj ["BISLogo","plain"]
Terminate the title effect and set duration of the fade out phase to the given time.
C Func: 0x76bd77 ScriptInfo: 0xde0738
titleFadeIn 1.0
Plays a sound defined in the description.ext file.
C Func: 0x79389d ScriptInfo: 0xde07bc
playSound "soundname"
Plays a sound defined in the description.ext file. Accomodation set to false disable sound volume changes.
C Func: 0x79389d ScriptInfo: 0xde07e8
playSound ["soundname", false]
Plays music defined in the description.ext file.
C Func: 0x793a97 ScriptInfo: 0xde0814
playMusic "musicname"
Plays music defined in the description.ext file. The format of nameAndPos is [name,position]. Position is in seconds.
C Func: 0x793a97 ScriptInfo: 0xde0840
playMusic ["Track13", 30]
Removes all weapons from the unit.
C Func: 0x77e06e ScriptInfo: 0xde091c
removeAllWeapons player
Removes all weapons from the vehicle cargo space.
C Func: 0x77d8ae ScriptInfo: 0xde0948
clearWeaponCargo jeepOne
Removes all magazines from the vehicle cargo space.
C Func: 0x77d8f1 ScriptInfo: 0xde0974
clearMagazineCargo jeepOne
Removes all weapons from the vehicle cargo space. MP synchronized.
C Func: 0x77d934 ScriptInfo: 0xde09a0
clearWeaponCargoGlobal jeepOne
Removes all magazines from the vehicle cargo space. MP synchronized.
C Func: 0x77d977 ScriptInfo: 0xde09cc
clearMagazineCargoGlobal jeepOne
Deletes any unit or vehicle. Only vehicles inserted in the editor or created during a mission can be deleted. The player unit cannot be deleted.
C Func: 0x78befe ScriptInfo: 0xde0a50
deleteVehicle tank
Enables the map (the default is true).
C Func: 0x76c971 ScriptInfo: 0xde0a7c
showMap true
Enables the radio (the default is false).
C Func: 0x76c9c3 ScriptInfo: 0xde0aa8
Enables the notepad (the default is true).
C Func: 0x76ca17 ScriptInfo: 0xde0ad4
Obsolete. Enables the ID card (the default is false).
C Func: 0x76ca8d ScriptInfo: 0xde0b00
Enables the GPS receiver (the default is false).
C Func: 0x76cae1 ScriptInfo: 0xde0b2c
Enables radio transmissions to be heard and seen on screen.
C Func: 0x76cb33 ScriptInfo: 0xde0b58
Enables radio transmissions to be heard and seen on screen. It does not affect KBTell conversations.
C Func: 0x76cb61 ScriptInfo: 0xde0b84
Forces drawing of the cinema borders. This is normally used in cutscenes to indicate the player has no control.
C Func: 0x71d780 ScriptInfo: 0xde0bb0
Disables all user input. This is normally used only in cutscenes to disable the player's controls.
C Func: 0x76cb8f ScriptInfo: 0xde0bdc
Shows a text hint. The text can contain several lines. \n is used to indicate the end of a line.
C Func: 0x79665d ScriptInfo: 0xde0c08
hint "Press W to move forward"
Shows a text hint only when using cadet mode. The text can contain several lines. \n is used to indicate the end of a line.
C Func: 0x7967d0 ScriptInfo: 0xde0c34
hintCadet "Press W to move forward"
Shows a text hint. The text can contain several lines. \n is used to indicate the end of a line. This hint has to be confirmed.
C Func: 0x79689b ScriptInfo: 0xde0c60
hintC "Press W to move forward"
Shows info about new,changed or failed task. The text can contain several lines. \n is used to indicate the end of a line.
C Func: 0x7bdd43 ScriptInfo: 0xde0c8c
taskHint "Capture town."
Skips the specified time. Daytime is adjusted, a weather change is estimated and no changes to any units are done. Duration is in hours.
C Func: 0x76bde6 ScriptInfo: 0xde0d10
skipTime 2.5
Sets the rendering distance. Default is 900 meters. The accepted range is from 500 to 5000 meters.
C Func: 0x76bf47 ScriptInfo: 0xde0d3c
setviewdistance 2000
Sets the desired terrain resolution (in meters). For default landscapes the supported resolutions are: 50, 25, 12.5, 6.25 and 3.125. If you select an unsupported resolution, the nearest supported resolution is used instead.
C Func: 0x76bea2 ScriptInfo: 0xde0d68
setTerrainGrid 12.5
Sets the rendering distance of objects.
C Func: 0x76bfe7 ScriptInfo: 0xde0d94
setobjectviewdistance 2000
Sets the rendering distance of objects.
C Func: 0x76bfe7 ScriptInfo: 0xde0dc0
setobjectviewdistance 2000
Only in scripts: go to given label. Note: the string argument is used here. Be sure to use double quotes around the label name in goto.
C Func: 0x703688 ScriptInfo: 0xde0dec
goto "Loop"
Dumps the argument value into the debugging output.
C Func: 0x76bb2c ScriptInfo: 0xde0e18
textLog player
Dumps the argument's type and value to the debugging output.
C Func: 0x76bb2c ScriptInfo: 0xde0e44
debugLog player
Destroys the camera.
C Func: 0x781198 ScriptInfo: 0xde0e70
Saves the variable value into the global campaign space. The variable is then available to all following missions in the campaign.
C Func: 0x79196e ScriptInfo: 0xde0f20
saveVar "varOne"
Sets the time acceleration coeficient. It can also be used to slow down time in cutscenes.
C Func: 0x76b89f ScriptInfo: 0xde0f4c
setAccTime 0.1
Forces the map to display.
C Func: 0x76c4de ScriptInfo: 0xde0f78
forceMap true
Adds the next frame to the map animation. The format of frame is [time, zoom, position], the format of position is
C Func: 0x781b13 ScriptInfo: 0xde0ffc
mapAnimAdd [1, 0.1, getMarkerPos "anim1"]
Returns the estimated time left in the game. Using this function the designer can provide a "time left" estimate that is shown in the "Game in progress" screen or in the master browser. For missions with a hard set limit adjusted via Param1, the following example can be used in the init.sqs file.
C Func: 0x76d0e8 ScriptInfo: 0xde1028
estimatedTimeLeft Param1
Sets the actual mission date and time.
C Func: 0x7ad488 ScriptInfo: 0xde10ac
Destroys the given marker. The marker is destroyed on all computers in a network session.
C Func: 0x7b8640 ScriptInfo: 0xde1130
deleteMarker "Marker1"
Destroys the given marker. The marker is only destroyed on the computer where the command is called.
C Func: 0x7b859b ScriptInfo: 0xde115c
deleteMarkerLocal "Marker1"
Activates the given key for the current user profile. The keys are used to unlock missions or campaigns. See keys, keysLimit and doneKeys in the description.ext file of the missions.
C Func: 0x7bfcd1 ScriptInfo: 0xde13c4
activateKey "M04"
Deactivates the given key from the current user profile. The keys are used to unlock missions or campaigns. See keys, keysLimit and doneKeys in the description.ext file of the missions.
C Func: 0x7c007d ScriptInfo: 0xde13f0
deActivateKey "M04"
Hides the body of the given person.
C Func: 0x780c7a ScriptInfo: 0xde1448
hideBody player
Sets the shadows rendering distance.
C Func: 0x76bee6 ScriptInfo: 0xde14f8
setShadowDistance 1000
Sets the satellite normal map blend pars.
C Func: 0x7ac117 ScriptInfo: 0xde1524
setSatNormalMapBlendPars [80, 100]
Sets the detail texture map blend pars.
C Func: 0x7ac1fe ScriptInfo: 0xde1550
setDetailMapBlendPars [20, 50]
Terminate (abort) the script
C Func: 0x77a224 ScriptInfo: 0xde1600
Activates the listed addons. The list of active addons is initialized during this function.
C Func: 0x7b6590 ScriptInfo: 0xde162c
activateAddons ["BISOFP"]
Switch player to given unit.
C Func: 0x782fef ScriptInfo: 0xde16dc
selectPlayer aP
Detach light from object.
C Func: 0x782467 ScriptInfo: 0xde17e4
Suspend execution of script for given time.
C Func: 0x79e344 ScriptInfo: 0xde183c
sleep 0.5
Suspend execution of script for given uitime.
C Func: 0x79e3d6 ScriptInfo: 0xde1868
uisleep 0.5
Set / clear using of night vision during cutscenes.
C Func: 0x76e768 ScriptInfo: 0xde1944
Sets custom camera apreture (-1 to do it automatically).
C Func: 0x76e829 ScriptInfo: 0xde1970
Sets coefficient that is used to determine rectangle, which HDR luminance is computed from. Set to negative value to use automatic values from light config.
C Func: 0x76e881 ScriptInfo: 0xde199c
Sets coefficient that is used to multiply desired luminance. Set to negative value to use automatic values from light config.
C Func: 0x76e8ca ScriptInfo: 0xde19c8
Sets wanted fog coef for haze at haze distance (0=full fog, 1 = no fog). Set to negative value to compute haze in standard way.
C Func: 0x76e913 ScriptInfo: 0xde19f4
Sets coef used to compute haze distance (haze distance = farFog * coef). Set to negative value to compute haze in standard way.
C Func: 0x76e95c ScriptInfo: 0xde1a20
Scans rectangle formed by xywh and selects spawn point based on spawn params.
C Func: 0x639f64 ScriptInfo: 0xde1aa4
same as hideObject.
C Func: 0x782276 ScriptInfo: 0xde1afc
Hide object (cannot hide static objects).
C Func: 0x7822a0 ScriptInfo: 0xde1b28
Move (UI) mouse pointer to specified position of the screen.
C Func: 0x7adaf5 ScriptInfo: 0xde1bac
setMousePosition [0.5, 0.5]
Reload all weapons.
C Func: 0x78417d ScriptInfo: 0xde1ef0
Clear vehicle init field.
C Func: 0x783300 ScriptInfo: 0xde1fa0
clearVehicleInit soldier3
Copy the text to the clipboard.
C Func: 0x7918e8 ScriptInfo: 0xde2100
Store the given amount of armory points.
C Func: 0x7c01ed ScriptInfo: 0xde212c
Finish the mission. The end type can be "CONTINUE", "KILLED", "LOSER", "END1", "END2", "END3", "END4", "END5", or "END6".
C Func: 0x79a735 ScriptInfo: 0xde21b0
Finish the mission. The end type can be "CONTINUE", "KILLED", "LOSER", "END1", "END2", "END3", "END4", "END5", or "END6". Mission saves will not be deleted.
C Func: 0x79a7da ScriptInfo: 0xde21dc
Moves the soldier out of vehicle. (Immediately, without animation).
C Func: 0x781fd1 ScriptInfo: 0xde2208
Detaches an object.
C Func: 0x780eb1 ScriptInfo: 0xde228c
detach player
Defines an action performed when commnad mode change. Command receives
_isHighCommand
C Func: 0x76df2b ScriptInfo: 0xde23ec
Enable / disable showing of
C Func: 0x76e037 ScriptInfo: 0xde2418
Set current (forced == false) or permanent (forced == true) wind direction and force.
C Func: 0x76c3fe ScriptInfo: 0xde2444
Dumps the argument's type and value to the report file.
C Func: 0x78c59f ScriptInfo: 0xde24c8
diag_log player
Opens gear dialog for given unit.
C Func: 0x784ab9 ScriptInfo: 0xde2578
CreateGearDialog [palyer,"RscDisplayGear"]
Shows loading screen with the given text, using the given resource. When loading screen is shown, simulation and scene drawing is disabled, scripts run at full speed.
C Func: 0x7a1397 ScriptInfo: 0xde25a4
If loading screen is show, set progress bar to the given value (from interval [0, 1])
C Func: 0x76ef1e ScriptInfo: 0xde25d0
Defines an action performed just before the preload screen started.
C Func: 0x76df8d ScriptInfo: 0xde25fc
Defines an action performed after the preload screen finished.
C Func: 0x76dfa9 ScriptInfo: 0xde2628
Same as
C Func: 0x796715 ScriptInfo: 0xde2654
Removes all special items from the unit.
C Func: 0x77e0be ScriptInfo: 0xde26ac
removeAllItems player
Enable / disable saving of the game. When disabled, the autosave is created (if not forbidden by save == false).
C Func: 0x7ac2e2 ScriptInfo: 0xde275c
Enable / disable showing of HUD.
C Func: 0x76b6df ScriptInfo: 0xde2788
Shortcut to textLog format [format, arg1, arg2, ...] (for better performance in retail version).
C Func: 0x76bb2c ScriptInfo: 0xde2864
Adds camera shake source.
C Func: 0x7ada02 ScriptInfo: 0xde2a1c
Sets camera shake params.
C Func: 0x76e1cc ScriptInfo: 0xde2a48
Sets camera shake default params.
C Func: 0x76e2e6 ScriptInfo: 0xde2a74
Enables/disables camera shakes.
C Func: 0x76e4a8 ScriptInfo: 0xde2aa0
Enables/disables engine's artillery.
C Func: 0x76e5ba ScriptInfo: 0xde2acc
Set system of units. 0 for metric, 1 for mixed, 2 for imperial.
C Func: 0x76e589 ScriptInfo: 0xde2b24
C Func: 0x76e600 ScriptInfo: 0xde2b7c
setHazeDistance 5000
The mission is launched (from the main menu). Both campaign and mission are given as their directory name. If the campaign is empty, a single mission is launched. If skipBriefing is true, the intro and briefing are skipped.
C Func: 0x79b23e ScriptInfo: 0xde2c2c
playMission["XOutrage","x05Negotiator.Noe"]
Enable/disable environmental effects (ambient life + sound).
C Func: 0x76e717 ScriptInfo: 0xde2c58
enableEnvironment false
Checks a side of the airport.
C Func: 0x78051d ScriptInfo: 0xde2c84
airportSide 0
Set min/max movement borders displayed in HUD gauges. Use -1 to skip some value.Speed [m/s],alt [m], dir [deg]. Use [-1,-1,-1] to keep current position
C Func: 0x7abc68 ScriptInfo: 0xde2de4
SetHUDMovementLevels [20,30,-1,-1,0.23,2.1]
Removes event handler added by
C Func: 0x7aa907 ScriptInfo: 0xde2e3c
removeMissionEventHandler ["ended",0]
Removes all event handlers of the given type which were added by
C Func: 0x7b82f2 ScriptInfo: 0xde2e68
removeAllMissionEventHandlers "ended"
Send the variable value to the server computer.
Only type
C Func: 0x796a5f ScriptInfo: 0xde2ec0
publicVariableServer "CTFscoreOne"
Types text to the system radio channel. Note: this function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on all of them.
C Func: 0x79442f ScriptInfo: 0xde2eec
systemChat "Dam of Peace"
Types text to the status. Note: this function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on all of them.
C Func: 0x79445a ScriptInfo: 0xde2f18
statusChat "Dam of Peace"; statusChat ["Hello","colorImportant"]
Set custom server host adress.
C Func: 0x79d3c4 ScriptInfo: 0xde30a4
dbSelectHost http://url.com/
Set custom server instance id.
C Func: 0x79d43a ScriptInfo: 0xde30fc
dbSelectInstance 099999
Clears all items in the given listbox or combobox.
C Func: 0x7795ce ScriptInfo: 0xde388c
lbClear _control
Clears all items in the given listbox or combobox.
C Func: 0x7795f8 ScriptInfo: 0xde38e4
lbClear _control
Clears the map animation.
C Func: 0x779fbe ScriptInfo: 0xde3a44
Plays the map animation.
C Func: 0x779ff8 ScriptInfo: 0xde3a70
Set the input focus on given control.
C Func: 0x7794f5 ScriptInfo: 0xde3b20
ctrlSetFocus _control
Launch actions attached to given (button based) control.
C Func: 0x779522 ScriptInfo: 0xde3b4c
ctrlActivate _control
Creates a JVM object representing a FSM and register it for execution.
C Func: 0x7a2869 ScriptInfo: 0xde3c54
Moves the top most JVM panel to a new position.
C Func: 0x7b2984 ScriptInfo: 0xde3c80
Send the command to the list of clients or some count of clients.
C Func: 0x76ec2f ScriptInfo: 0xde3d04
SendAUMessage [[dpnid1, dpnid2], "ConnectTo: 192.168.1.66"]
Closes the topmost user dialog as if a button with id idc was pressed.
C Func: 0x76d1dc ScriptInfo: 0xde3d88
closeDialog 1
Shows / hides the control with id idc of the topmost user dialog.
C Func: 0x76d290 ScriptInfo: 0xde3e0c
ctrlShow [100, true]
Enables / disables the control with id idc of the topmost user dialog.
C Func: 0x76d31c ScriptInfo: 0xde3e38
ctrlEnable [100, false]
Sets the text that will be shown in the control with id idc of the topmost user dialog. This can be used for static texts, buttons, edit lines and active texts.
C Func: 0x7995c9 ScriptInfo: 0xde3e90
ctrlSetText [100, "Hello, world"]
Assigns an action to the control with id idc of the topmost user dialog. Action is any expression in this scripting language. The function can be used for buttons and active texts.
C Func: 0x7998a4 ScriptInfo: 0xde3ee8
buttonSetAction [100, "player exec ""reply.sqs"""]
Selects the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x76d415 ScriptInfo: 0xde3f6c
lbSetCurSel [101, 0]
Clears all items in the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x76d4c3 ScriptInfo: 0xde3f98
lbClear 101
Removes the item with the given index from the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x76d4e6 ScriptInfo: 0xde3ff0
lbDelete [101, 0]
Sets the additional text (invisible) in the item with the given index of the listbox or combobox with id idc of the topmost user dialog to the given data.
C Func: 0x799abb ScriptInfo: 0xde4074
lbSetData [101, 1, "#1"]
Sets the additional integer value in the item with the given index of the listbox or combobox with id idc of the topmost user dialog to the given value.
C Func: 0x76d621 ScriptInfo: 0xde40cc
lbSetValue [101, 0, 1]
Sets the picture in the item with the given index of the listbox or combobox with id idc of the topmost user dialog. Name is the picture name. The picture is searched in the mission directory, the dtaExt subdirectory of the campaign directory and the dtaExt directory and the data bank (or directory).
C Func: 0x7bf008 ScriptInfo: 0xde4124
lbSetPicture [101, 0, "iskoda"]
Sets the color of the item with the given index of the listbox or combobox with id idc of the topmost user dialog to the given color. Color is in format
C Func: 0x7ad3a6 ScriptInfo: 0xde417c
lbSetColor [101, 0, [0, 1, 0, 0.5]]
Selects the row with the given index of the 2D listbox.
C Func: 0x76d702 ScriptInfo: 0xde422c
lnbSetCurSel [105, 0]
Clears all items in the 2D listbox.
C Func: 0x76d4c3 ScriptInfo: 0xde4258
lnbClear 101
Removes row with given index from the 2D listbox.
C Func: 0x76d7ac ScriptInfo: 0xde42dc
lnbDeleteRow [105, 0]
Removes column with given index.
C Func: 0x76d911 ScriptInfo: 0xde4334
lnbDeleteColumn [101, 0]
Sets the additional text (invisible) in the item with the given position of the 2D listbox.
C Func: 0x77ca95 ScriptInfo: 0xde4360
lnbSetData [101, [0,1], "#1"]
Sets the additional text (invisible) in the item with the given position of the 2D listbox.
C Func: 0x799e6a ScriptInfo: 0xde43b8
lnbSetData [101, [0,1], "#1"]
Sets the additional text (invisible) in the item with the given position of the 2D listbox.
C Func: 0x79a034 ScriptInfo: 0xde4410
lnbSetData [101, [0,1], "#1"]
Sets the additional integer value in the item with the position index of the 2D listbox.
C Func: 0x76db2b ScriptInfo: 0xde4468
lnbSetValue [101, [0,1], 1]
Sets the picture in the item with the given position of the 2D listbox. Name is the picture name. The picture is searched in the mission directory, the dtaExt subdirectory of the campaign directory and the dtaExt directory and the data bank (or directory).
C Func: 0x7bf332 ScriptInfo: 0xde44c0
lnbSetPicture [101, [0,1], "iskoda"]
Sets the color of the item with the given position of the 2D listbox. Color is in format
C Func: 0x7ad205 ScriptInfo: 0xde4518
lnbSetColor [101, [0,1], [0, 1, 0, 0.5]]
Sets the current thumb position of the slider with id idc of the topmost user dialog.
C Func: 0x76dce5 ScriptInfo: 0xde4570
sliderSetPosition [100, 0]
Sets the limits of the slider with id idc of the topmost user dialog.
C Func: 0x76dd67 ScriptInfo: 0xde45c8
sliderSetRange [100, 0, 10]
Sets the speed (a click on the arrow results in a move per line. A click on the scale outside the thumb results in a move per page) of the slider with id idc of the topmost user dialog.
C Func: 0x76de3d ScriptInfo: 0xde4620
sliderSetSpeed [100, 0.5, 2.0]
Drops a particle into the scene. Array is in format
C Func: 0x5f9a83 ScriptInfo: 0xde464c
Defines a sound (voice) that is played the first time when the Plan section in the briefing is selected.
C Func: 0x79a618 ScriptInfo: 0xde4678
onBriefingPlan "PlanVoiceOver"
Defines a sound (voice) that is played the first time when the Notes section in the briefing is selected.
C Func: 0x79a64f ScriptInfo: 0xde46a4
onBriefingNotes "NotesVoiceOver"
Defines a sound (voice) that is played the first time when the Group section in the briefing is selected.
C Func: 0x79a686 ScriptInfo: 0xde46d0
onBriefingGroup "GroupVoiceOver"
Defines an action performed on each frame (even when game is paused). Code is performed synchronously, cannot contain any sleep or wait.
C Func: 0x76df47 ScriptInfo: 0xde46fc
onEachFrame {}
Defines an action performed when the user clicks on the map. Command receives:
_pos
_units
_shift,_alt
If the click is processed, command should return true.
C Func: 0x76dfc5 ScriptInfo: 0xde4728
onMapSingleClick """SoldierEG"" createUnit [_pos, group player]"
This statement is launched whenever a player is connected to a MP session. Variables _id, _name and _uid are set. See also getPlayerUID, kickUID, banUID.
C Func: 0x76dfff ScriptInfo: 0xde4754
This statement is launched whenever a player is connecting to a MP session. Variables _id, _name and _uid are set.
C Func: 0x79a6bd ScriptInfo: 0xde4780
This statement is launched whenever a player is disconnected from a MP session. Variables _id, _name and _uid are set.
C Func: 0x76e01b ScriptInfo: 0xde47ac
Destroy given team.
C Func: 0x7a15a4 ScriptInfo: 0xde4964
deleteTeam _team
Enables/Disables simul weather
C Func: 0x7744a6 ScriptInfo: 0xde4b48
Reload parameters of simul weather from the config
C Func: 0x7bc7a2 ScriptInfo: 0xde4b74
Sets rendering mode of simul weather (0=primitiveUP, 1=vertex buffer, 2=vertex buffer async
C Func: 0x7744f2 ScriptInfo: 0xde4ba0
Loads sequencer file
C Func: 0x7a272f ScriptInfo: 0xde4bcc
Simul weather command
C Func: 0x76f688 ScriptInfo: 0xde4c7c
Simul weather command
C Func: 0x76f885 ScriptInfo: 0xde4ca8
Simul weather command
C Func: 0x76fa82 ScriptInfo: 0xde4cd4
Simul weather command
C Func: 0x76fc7f ScriptInfo: 0xde4d00
Simul weather command
C Func: 0x770087 ScriptInfo: 0xde4d2c
Simul weather command
C Func: 0x770284 ScriptInfo: 0xde4d58
Simul weather command
C Func: 0x770481 ScriptInfo: 0xde4d84
Simul weather command
C Func: 0x77067e ScriptInfo: 0xde4db0
Simul weather command
C Func: 0x770889 ScriptInfo: 0xde4ddc
Simul weather command
C Func: 0x770a94 ScriptInfo: 0xde4e08
Simul weather command
C Func: 0x770c9f ScriptInfo: 0xde4e34
Simul weather command
C Func: 0x770eaa ScriptInfo: 0xde4e60
Simul weather command
C Func: 0x7710b5 ScriptInfo: 0xde4e8c
Simul weather command
C Func: 0x7712c0 ScriptInfo: 0xde4eb8
Simul weather command
C Func: 0x7714bd ScriptInfo: 0xde4ee4
Simul weather command
C Func: 0x7716bd ScriptInfo: 0xde4f10
Simul weather command
C Func: 0x7718bd ScriptInfo: 0xde4f3c
Simul weather command
C Func: 0x771abd ScriptInfo: 0xde4f68
Simul weather command
C Func: 0x771cbd ScriptInfo: 0xde4f94
Simul weather command
C Func: 0x7720cb ScriptInfo: 0xde4fc0
Simul weather command
C Func: 0x7722cb ScriptInfo: 0xde4fec
Simul weather command
C Func: 0x7724cb ScriptInfo: 0xde5018
Simul weather command
C Func: 0x7726cb ScriptInfo: 0xde5044
Simul weather command
C Func: 0x7728cb ScriptInfo: 0xde5070
Simul weather command
C Func: 0x772acb ScriptInfo: 0xde509c
Simul weather command
C Func: 0x772cca ScriptInfo: 0xde50c8
Simul weather command
C Func: 0x772eca ScriptInfo: 0xde50f4
Simul weather command
C Func: 0x7730ca ScriptInfo: 0xde5120
Simul weather command
C Func: 0x7732ca ScriptInfo: 0xde514c
Simul weather command
C Func: 0x7734c7 ScriptInfo: 0xde5178
Simul weather command
C Func: 0x7736c4 ScriptInfo: 0xde51a4
Simul weather command
C Func: 0x7738c1 ScriptInfo: 0xde51d0
Simul weather command
C Func: 0x773abe ScriptInfo: 0xde51fc
Simul weather command
C Func: 0x773cbb ScriptInfo: 0xde5228
Simul weather command
C Func: 0x773ebb ScriptInfo: 0xde5254
Simul weather command
C Func: 0x7740bb ScriptInfo: 0xde5280
Simul weather command
C Func: 0x7742bb ScriptInfo: 0xde52ac
Simul weather command
C Func: 0x76fe7c ScriptInfo: 0xde52d8
Simul weather command
C Func: 0x771ebd ScriptInfo: 0xde5304
Simul weather command
C Func: 0x7b1acf ScriptInfo: 0xde5330
Simul weather command
C Func: 0x7b1d5d ScriptInfo: 0xde535c
Simul weather command
C Func: 0x7b1fe5 ScriptInfo: 0xde5388
Sets the identity of a person. Identities are defined in the descripion.ext file of the mission or campaign.
C Func: 0x793165 ScriptInfo: 0xde682c
setIdentity "JohnDoe"
Sets the facial animation phase (eye blinking). Blink is in the range from 0 to 1.
C Func: 0x780426 ScriptInfo: 0xde6860
setFaceAnimation 0.5
Sets the person's face.
C Func: 0x793482 ScriptInfo: 0xde6894
setFace "Face10"
Sets a unit's mimic. The following values are recognized: "Default", "Normal", "Smile", "Hurt", "Ironic", "Sad", "Cynic", "Surprised", "Agresive" and "Angry".
C Func: 0x7bd80b ScriptInfo: 0xde68c8
setMimic "Angry"
Sets the flag texture. If the texture is "", the flag is not drawn.
C Func: 0x793512 ScriptInfo: 0xde68fc
setFlagTexture "usa_vlajka.pac"
Lower / raise the flag.
C Func: 0x7804c5 ScriptInfo: 0xde6930
flagObj flagLower 1
Controls the lamppost mode. Mode may be "ON", "OFF" and "AUTO". "AUTO" is default and means the lampost is only on during nighttime.
C Func: 0x793803 ScriptInfo: 0xde6998
nearestObject [player, "StreetLamp"] switchLight "Off"
Controls fireplace buring. Set to true to inflame the fireplace.
C Func: 0x780a10 ScriptInfo: 0xde69cc
fireplaceOne inflame true
Adds number to the unit rating. This is usually used to reward for completed mission objectives. The rating for killed enemies and killed friendlies is adjusted automatically. When the rating is lower than zero, a unit is considered "renegade" and is an enemy to everyone.
C Func: 0x77dc74 ScriptInfo: 0xde6a00
player addRating 1000
Sets the object position. The pos array uses the
C Func: 0x77f3a8 ScriptInfo: 0xde6a68
player setPos [getpos player select 0, getpos player select 1 + 10]
Sets the object position. The pos array uses the
C Func: 0x77f013 ScriptInfo: 0xde6a9c
player setPosASL [getPosASL player select 0, getPosASL player select 1 + 10, getPosASL select 2]
Sets the object position. The pos array uses the
C Func: 0x77f260 ScriptInfo: 0xde6ad0
player setPosASL [getPosATL player select 0, getPosATL player select 1 + 10, getPosATL select 2]
Sets the object position. The pos array uses the
C Func: 0x76bb2c ScriptInfo: 0xde6b04
Sets the object heading. The accepted heading range is from 0 to 360.
C Func: 0x77f57b ScriptInfo: 0xde6b38
player setDir 180
Sets the velocity (speed vector) of a vehicle.
C Func: 0x77f72b ScriptInfo: 0xde6b6c
Damages / repairs the object. Damage 0 means the object is fully functional, damage 1 means it's completely destroyed / dead.
C Func: 0x7802cc ScriptInfo: 0xde6ba0
player setdammage 1
Damages / repairs the object. Damage 0 means the object is fully functional, damage 1 means it's completely destroyed / dead.
Note: this function is identical to
C Func: 0x78032a ScriptInfo: 0xde6bd4
player setdamage 1
Request server to damage the object. Damage is [owner,position,ammo,component]
C Func: 0x7aa9df ScriptInfo: 0xde6c08
Obsolete.
C Func: 0x780346 ScriptInfo: 0xde6c3c
Obsolete.
C Func: 0x780399 ScriptInfo: 0xde6c70
Sets the height level for the helicopter. The accepted range is from 50 to 1000.
C Func: 0x77fabd ScriptInfo: 0xde6ca4
cobraOne flyInHeight 150
Moves the marker. The format of pos is
C Func: 0x797c51 ScriptInfo: 0xde6cd8
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"
Moves the marker. The format of pos is
C Func: 0x797b79 ScriptInfo: 0xde6d0c
"MarkerOne" setMarkerPosLocal getMarkerPos "MarkerTwo"
Sets the marker type. Type may be any of: "Flag", "Flag1", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow" or "Empty". The marker is modified on all computers in a network session.
C Func: 0x797f04 ScriptInfo: 0xde6d40
"MarkerOne" setMarkerType "Arrow"
Sets the marker type. Type may be any of: "Flag", "Flag1", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow" or "Empty". The marker is only modified on the computer where the command is called.
C Func: 0x797e21 ScriptInfo: 0xde6d74
"MarkerOne" setMarkerTypeLocal "Arrow"
Sets the marker size. Size is in format [a-axis, b-axis]. The marker is modified on all computers in a network session.
C Func: 0x79839d ScriptInfo: 0xde6da8
"MarkerOne" setMarkerSize [100, 200]
Sets the marker size. Size is in format [a-axis, b-axis]. The marker is only modified on the computer where the command is called.
C Func: 0x79827b ScriptInfo: 0xde6ddc
"MarkerOne" setMarkerSizeLocal [100, 200]
Sets the marker color. Color is one of: "Default", "ColorBlack", "ColorRed", "ColorRedAlpha", "ColorGreen", "ColorGreenAlpha", "ColorBlue", "ColorYellow" or "ColorWhite". The marker is modified on all computers in a network session.
C Func: 0x79869d ScriptInfo: 0xde6e10
"MarkerOne" setMarkerColor "ColorBlack"
Sets the marker color. Color is one of: "Default", "ColorBlack", "ColorRed", "ColorRedAlpha", "ColorGreen", "ColorGreenAlpha", "ColorBlue", "ColorYellow" or "ColorWhite". The marker is only modified on the computer where the command is called.
C Func: 0x7985ba ScriptInfo: 0xde6e44
"MarkerOne" setMarkerColorLocal "ColorBlack"
Set the ammo count of given magazine.
C Func: 0x77ded1 ScriptInfo: 0xde6ee0
magazine setMagazineAmmo 30
Adds the weapon to the unit. Note: you may create invalid combinations by using this function, for example by adding two rifles. When doing so, application behaviour is undefined.
C Func: 0x7bcce8 ScriptInfo: 0xde6f48
player addWeapon "AK74"
Removes the weapon from the unit. Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.
C Func: 0x7bcda9 ScriptInfo: 0xde6f7c
player removeWeapon "M16"
Adds a magazine to the unit. Note: you may create invalid combinations by using this function, for example by adding 20 grenades. When doing so, application behaviour is undefined.
C Func: 0x7bce5f ScriptInfo: 0xde6fb0
player addMagazine "M16"
Adds a magazine to the unit and sets ammo count. Note: you may create invalid combinations by using this function, for example by adding 20 grenades. When doing so, application behaviour is undefined.
C Func: 0x7bcf1f ScriptInfo: 0xde6fe4
player addMagazine ["M16",15]
Adds a magazine to the turret. Use turret path [-1] for driver's turret. Note: you may create invalid combinations by using this function, for example by adding 20 grenades. When doing so, application behaviour is undefined.
C Func: 0x7bd07d ScriptInfo: 0xde7018
player addMagazine "M16"
Removes the magazine from the unit. Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.
C Func: 0x7bd291 ScriptInfo: 0xde704c
player removeMagazine "M16"
Removes the magazine from the turret. Use turret path [-1] for driver's turret. Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.
C Func: 0x7bd345 ScriptInfo: 0xde7080
vehicle player removeMagazine ["60rnd_cmflaremagazine",[-1]]
Removes all magazines of the given type from the unit. Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.
C Func: 0x7bd54e ScriptInfo: 0xde70b4
player removeMagazines "M16"
Removes all magazines of the given type from the unit. Use turret path [-1] for driver's turret. Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.
C Func: 0x7bd602 ScriptInfo: 0xde70e8
vehicle player removeMagazines ["60rnd_cmflaremagazine",,[-1]]
Adds the backpack to the unit. Note: unit with secondary or two-slot weapon cannot have backpack.
C Func: 0x79110d ScriptInfo: 0xde711c
player addBackpack "usbackpack"
Selects the given weapon.
For weapon values see
C Func: 0x7bb3fa ScriptInfo: 0xde7150
soldierOne selectWeapon "LAWLauncher"
The unit will fire from the given weapon.
C Func: 0x79132c ScriptInfo: 0xde7184
soldierOne fire "HandGrenade"
The unit will fire from the given weapon. The array has format [muzzle, mode, magazine] or [muzzle, mode].
C Func: 0x7913f4 ScriptInfo: 0xde71b8
soldierOne fire ["throw","SmokeShell","SmokeShell"]
Forces a helicopter landing. The landing mode may be "LAND" (a complete stop), "GET IN" (hovering very low for another unit to get in), "GET OUT" (hovering low for another unit to get out) or "NONE" (cancel landing).
C Func: 0x796bd9 ScriptInfo: 0xde71ec
cobraOne land "LAND"
The unit will play the given sound. If the unit is a person, it will also pefrorm the corresponding lipsync effect. The sound is defined in the description.ext file. If target is given, titles will be written to the conversation history.
C Func: 0x7ab33d ScriptInfo: 0xde7220
soldierOne say "speechId"
The format of speechName is [sound, maxTitlesDistance] or [sound, maxTitlesDistance, speed]. The unit will play the given sound. If the unit is a person, it will also pefrorm the corresponding lipsync effect. If the camera is not withing the given range, the title is not shown. The sound is defined in the description.ext file. If target is given, titles will be written to the conversation history.
C Func: 0x7ab33d ScriptInfo: 0xde7254
Sends the message to the global radio channel. The message is defined in the description.ext file or radio protocol.
C Func: 0x793f80 ScriptInfo: 0xde7288
soldierOne globalRadio "messageOne"
Sends the message to the vehicle radio channel. The message is defined in the description.ext file or radio protocol.
C Func: 0x793fb9 ScriptInfo: 0xde72bc
soldierOne vehicleRadio "messageOne"
Sends the message to the direct channel. The message is defined in the description.ext file or radio protocol.
C Func: 0x794146 ScriptInfo: 0xde72f0
soldierOne directSay "messageOne"
Types text to the global radio channel. Note: this function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on all of them.
C Func: 0x79433f ScriptInfo: 0xde7324
soldierOne globalChat "Show this text"
Types text to the vehicle radio channel. Note: this function only types text to the list, it does not broadcast the message. If you want the message to show on all computers, you have to execute it on all of them.
C Func: 0x7943b9 ScriptInfo: 0xde7358
soldierOne vehicleChat "Show this text"
Switch between elapsed gamet time and audio time being used as animation timer. Used for audio/animation synchronization.
C Func: 0x780e64 ScriptInfo: 0xde738c
player useAudioTimeForMoves true
When used on a person, a smooth transition to the given move will be initiated.
C Func: 0x7bd9fa ScriptInfo: 0xde73c0
soldierOne playMove "Stand"
When used on a person, the given move is started immediately (there is no transition). Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck.
C Func: 0x7bdb9e ScriptInfo: 0xde73f4
soldierOne switchMove "FXStandDip"
When used on a person, a smooth transition to the given action will be initiated.
C Func: 0x7ab909 ScriptInfo: 0xde7428
soldierOne playAction "SitDown"
When used on a person, the given action is started immediately (there is no transition). Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck.
C Func: 0x794592 ScriptInfo: 0xde745c
soldierOne switchAction "SitDown"
When used on a person, a smooth transition to the given move will be initiated.
C Func: 0x7bd9fa ScriptInfo: 0xde7490
soldierOne playMove ["Stand",{_this globalChat 'Done'}]
When used on a person, a smooth transition to the given action will be initiated.
C Func: 0x7ab909 ScriptInfo: 0xde74c4
soldierOne playAction ["SitDown",{_this globalChat 'Done'}]
Sets the unit position rules. Mode may be one of: "DOWN", "UP" or "AUTO".
C Func: 0x79160c ScriptInfo: 0xde7698
soldierOne setUnitPos "Down"
Enable/disable given AI feature. Feature may be one of: "AwareFormationSoft", "CombatFormationSoft".
C Func: 0x79182f ScriptInfo: 0xde76cc
"AwareFormationSoft" enableAIFeature true
Locks the vehicle (disables mounting / dismounting) for the player.
C Func: 0x781ea9 ScriptInfo: 0xde7700
jeepOne lock true
Locks the vehicle (disables mounting / dismounting) for the player. 0 - Unlocked, 1 - Default, 2 - Locked, 3 - Locked for player
C Func: 0x781ea9 ScriptInfo: 0xde7734
jeepOne lock 3
Stops an AI unit. This function is obsolete. Use disableAI to get better control over stopping a unit.
C Func: 0x781f82 ScriptInfo: 0xde7768
soldierOne stop true
Disables parts of the AI behaviour to get more control over a unit. Section is one of "TARGET" (disables watching assigned targets), "AUTOTARGET" (disables independed target assigning and watching of unknown targets) or "MOVE" (disables movement).
C Func: 0x796a8f ScriptInfo: 0xde779c
soldierOne disableAI "Move"
Enables parts of the AI behaviour. Section is one of "TARGET" (enables watching assigned targets), "AUTOTARGET" (enables independed target assigning and watching of unknown targets) or "MOVE" (enables movement).
C Func: 0x796b33 ScriptInfo: 0xde77d0
soldierOne enableAI "Move"
Moves the soldier into the vehicle's commander position. (Immediatetely, without animation).
C Func: 0x78b956 ScriptInfo: 0xde7804
soldierOne moveInCommander jeepOne
Moves the soldier into the vehicle's driver position. (Immediately, without animation).
C Func: 0x78ba4d ScriptInfo: 0xde7838
soldierOne moveInDriver jeepOne
Moves the soldier into the vehicle's gunner position. (Immediately, without animation).
C Func: 0x78bb47 ScriptInfo: 0xde786c
soldierOne moveInGunner jeepOne
Moves the soldier into the vehicle's cargo position. (Immediately, without animation).
C Func: 0x78bc3e ScriptInfo: 0xde78a0
soldierOne moveInCargo jeepOne
Moves the soldier into a vehicle's specified cargo position. (Immediately, without animation).
C Func: 0x78be0e ScriptInfo: 0xde78d4
soldierOne moveInCargo jeepOne
Moves the soldier into the vehicle's turret. (Immediately, without animation).
C Func: 0x7ac4bf ScriptInfo: 0xde7908
soldierOne moveInTurret [tank, [0, 0]]
interpolates and sets vectors. Time has to be from <0,1>
C Func: 0x77fb59 ScriptInfo: 0xde793c
Sets the briefing objective status. Status may be one of: "ACTIVE", "FAILED", "DONE" or "HIDDEN".
C Func: 0x796328 ScriptInfo: 0xde7970
"obj_1" objStatus "FAILED"
Executes a script. Argument is passed to the script as local variable _this. The script is first searched in the mission folder, then in the campaign scripts subfolder and finally in the global scripts folder.
C Func: 0x7a132e ScriptInfo: 0xde79a4
[player, jeepOne] exec "getIn.sqs"
Changes the overcast level to the given value smoothly during the given time (in seconds). A time of zero means an immediate change. An overcast level of zero means clear (sunny) weather and with an overcast level of one, storms and showers are very likely.
C Func: 0x76c2b0 ScriptInfo: 0xde7a0c
1800 setOvercast 0.5
Changes the fog value smoothly during the given time (in seconds). A time of zero means there will be an immediate change. A fog level of zero is minimum fog and a fog level of one is maximum fog.
C Func: 0x76c328 ScriptInfo: 0xde7a40
1800 setFog 0.5
Set max. wind overall wind changes in time. A time of zero means there will be an immediate change. A wind level of zero is minimal changes and a wind level of one means that wind can chage rapidly and max. wind speed i 35m/s.
C Func: 0x76c38e ScriptInfo: 0xde7a74
1800 setFog 0.5
Changes the rain density smoothly during the given time (in seconds). A time of zero means an immediate change. A rain level of zero is no rain and a rain level of one is maximum rain. Rain is not possible when overcast is smaller than 0.7.
C Func: 0x76c2f3 ScriptInfo: 0xde7aa8
60 setRain 1
Sets the fuel amount. A fuel level of one is a full gas tank.
C Func: 0x77d62b ScriptInfo: 0xde7adc
jeepOne setFuel 0
Sets the fuel amount in the cargo space of a refuelling vehicle. A fuel level of one is a full gas tank.
C Func: 0x77d712 ScriptInfo: 0xde7b10
refuelTruckOne setFuelCargo 0
Sets the amount or repair resources in the cargo space of a repair vehicle. An amount of one is a full cargo space.
C Func: 0x77d7ae ScriptInfo: 0xde7b44
repairTruckOne setRepairCargo 0
Sets the amount of ammo resources in the cargo space of a repair vehicle. Ammo resources are used to resupply vehicles; soldiers use individual magazines instead. An amount of one indicates a full cargo.
C Func: 0x77d82e ScriptInfo: 0xde7b78
rearmTruckOne setAmmoCargo 0
Adds weapons to the weapon cargo space. This is used for infantry weapons. The format of weapons is [weaponName, count].
For weaponName values see
C Func: 0x790863 ScriptInfo: 0xde7bac
rearmTruckOne addWeaponCargo ["M16", 10]
Adds magazines to the weapon cargo space. This is used for infantry weapons. The format of magazines is [magazineName, count].
For magazineName values see
C Func: 0x790a0b ScriptInfo: 0xde7be0
rearmTruckOne addMagazineCargo ["M16", 10]
Causes a smooth change in the music volume. The change duration is given by time, the target volume by volume. The default music volume is 0.5.
C Func: 0x76bb8c ScriptInfo: 0xde7c7c
5 fadeMusic 0
Causes a smooth change in the master volume. The change duration is given by time, the target volume by volume. The default master volume is 1.0.
C Func: 0x76bbdc ScriptInfo: 0xde7cb0
5 fadeSound 0.1
Causes a smooth change in the radio volume. The change duration is given by time, the target volume by volume. The default radio volume is 1.0.
C Func: 0x76bc42 ScriptInfo: 0xde7ce4
5 fadeRadio 0.1
Switches the camera to the given vehicle / camera. The format of effect is [name, position]. Name is one of: "Internal", "External", "Fixed" or "FixedWithZoom". Position is one of: "TOP", "LEFT", "RIGHT", "FRONT" or "BACK" ("BACK" is normally used).
C Func: 0x794bb3 ScriptInfo: 0xde7d18
cameraEffect ["External", "Back"]
Sets the camera position (format
C Func: 0x78123b ScriptInfo: 0xde7d80
_camera camSetPos getPos player
Sets the camera position relative to the current position of the currect target (see
C Func: 0x78142b ScriptInfo: 0xde7db4
_camera camSetRelPos [10,5]
Sets the camera field of view (zoom). It does not automatically commit changes.
C Func: 0x781495 ScriptInfo: 0xde7de8
_camera camSetFov 0.1
focusRange is in format [distance,blur]. Sets the camera focus blur. It does not automatically commit changes.
C Func: 0x781509 ScriptInfo: 0xde7e1c
_camera camSetFocus [50, 1]
Sets the camera field of view range for auto zooming. It does not automatically commit changes.
C Func: 0x76bb2c ScriptInfo: 0xde7e50
_camera camSetFovRange [0.1, 0.5]
Sets the camera dive angle. It does not automatically commit changes.
C Func: 0x7815e2 ScriptInfo: 0xde7e84
_camera camSetDive -0.1
Sets the camera bank angle. It does not automatically commit changes.
C Func: 0x7815e2 ScriptInfo: 0xde7eb8
_camera camSetBank -0.1
Sets the camera heading. It does not automatically commit changes.
C Func: 0x781602 ScriptInfo: 0xde7eec
_camera camSetDir 150
Commits the camera changes smoothly over time. A time of zero results in an immediate change.
C Func: 0x78176a ScriptInfo: 0xde7f20
_camera camCommit 5
Sets the camera target. It does not automatically commit changes.
C Func: 0x7816ac ScriptInfo: 0xde7f54
_camera camSetTarget player
Sets the camera target to a position (format
C Func: 0x78171b ScriptInfo: 0xde7f88
_camera camSetTarget getPos player
Prepares the camera position (format
C Func: 0x7817a8 ScriptInfo: 0xde7fbc
_camera camPreparePos getPos player
Prepares the camera position relative to the current position of the currect target (see
C Func: 0x7817f7 ScriptInfo: 0xde7ff0
_camera camPrepareRelPos [10,5]
Prepares the camera field of view (zoom). See also
C Func: 0x781861 ScriptInfo: 0xde8024
_camera camPrepareFov 0.1
focusRange is in format [distance,blur].
Prepares the camera focus blur. See also
C Func: 0x7818ab ScriptInfo: 0xde8058
_camera camPrepareFocus [50, 1]
Prepares the camera field of view range for auto zooming. See also
C Func: 0x76bb2c ScriptInfo: 0xde808c
_camera camPrepareFovRange [0.1, 0.5]
Prepares the camera dive angle. See also
C Func: 0x7815e2 ScriptInfo: 0xde80c0
_camera camPrepareDive -0.1
Prepares the camera bank angle. See also
C Func: 0x7815e2 ScriptInfo: 0xde80f4
_camera camPrepareBank -0.1
Prepares the camera heading. See also
C Func: 0x7815e2 ScriptInfo: 0xde8128
_camera camPrepareDir 150
Commits the prepared camera changes smoothly over time. A time of zero results in an immediate change.
C Func: 0x781a1b ScriptInfo: 0xde815c
_camera camCommit 5
Preload the scene for he prepared camera. Time gives timeout, zero means no (infinite) timeout.
C Func: 0x781a59 ScriptInfo: 0xde8190
_camera camCommit 5
Prepares the camera target. See also
C Func: 0x781984 ScriptInfo: 0xde81c4
_camera camPrepareTarget player
Prepares the camera target to a position (format
C Func: 0x7819cc ScriptInfo: 0xde81f8
_camera camPrepareTarget getPos player
Executes a command on the given camera / actor object. The "manual on" and "manual off" commands are recognized for all types. For the "camera" type, the following commands can be used: "inertia on" and "inertia off". For the "seagull" type it's one of: "landed" and "airborne".
C Func: 0x795427 ScriptInfo: 0xde822c
_camera camCommand "Manual on"
Sets construction camera parameters.
C Func: 0x78128a ScriptInfo: 0xde8260
_camera camConstuctionSetParams [getpos player,50,20]
Switches the camera to the given vehicle / camera. Mode is one of: "INTERNAL" (1st person), "GUNNER" (optics / sights), "EXTERNAL" (3rd person) or "GROUP" (group).
C Func: 0x79546f ScriptInfo: 0xde8294
sniperOne switchCamera "gunner"
Makes the unit peform an action. The format of action can be [type, target, param1, param2, param3]. Only type is required, target defaults to unit and param1, param2, param3 are type specific.
C Func: 0x79210b ScriptInfo: 0xde82c8
soldierOne action ["eject", vehicle soldierOne]
Change action texts
C Func: 0x79259f ScriptInfo: 0xde8330
player VehSetUserActionText [0, "hello"]
Removes the action with the given id.
C Func: 0x77eb62 ScriptInfo: 0xde8364
player removeAction 0
Reveals the object to the unit. It does not matter whether the unit can know about the object or not.
C Func: 0x77e892 ScriptInfo: 0xde8398
soldierOne reveal soldierTwo
Reveals the object to the unit. It does not matter whether the unit can know about the object or not.
C Func: 0x77e892 ScriptInfo: 0xde83cc
soldierOne reveal [soldierTwo,1.5]
Removes event handler added by
C Func: 0x7928a2 ScriptInfo: 0xde8434
player removeEventHandler ["killed",0]
Removes all event handlers of the given type which were added by
C Func: 0x79299e ScriptInfo: 0xde8468
player removeAllEventHandlers "killed"
Switches the vehicle's engine on (true) or off (false).
C Func: 0x782841 ScriptInfo: 0xde849c
vehicle player engineOn false
Sets the text label of an existing marker. The marker is modified on all computers in a network session.
C Func: 0x79b9ba ScriptInfo: 0xde84d0
"Marker1" setMarkerText You are here.
Sets the text label of an existing marker. The marker is only modified on the computer where the command is called.
C Func: 0x79b8f8 ScriptInfo: 0xde8504
"Marker1" setMarkerTextLocal You are here.
Selects the shape (type) of the marker. Shape can be "ICON", "RECTANGLE" or "ELLIPSE". The marker is modified on all computers in a network session.
C Func: 0x79bce6 ScriptInfo: 0xde8538
"Marker1" setMarkerShape "RECTANGLE"
Selects the shape (type) of the marker. Shape can be "ICON", "RECTANGLE" or "ELLIPSE". The marker is only modified on the computer where the command is called.
C Func: 0x79bc07 ScriptInfo: 0xde856c
"Marker1" setMarkerShapeLocal "RECTANGLE"
Selects the fill texture for the marker ("RECTANGLE" or "ELLIPSE"). Brush is the name of the subclass in CfgMarkerBrushes. The marker is modified on all computers in a network session.
C Func: 0x79bece ScriptInfo: 0xde85a0
"Marker1" setMarkerBrush "DiagGrid"
Selects the fill texture for the marker ("RECTANGLE" or "ELLIPSE"). Brush is the name of the subclass in CfgMarkerBrushes. The marker is only modified on the computer where the command is called.
C Func: 0x79bdf9 ScriptInfo: 0xde85d4
"Marker1" setMarkerBrushLocal "DiagGrid"
Sets the orientation of the marker. Angle is in degrees. The marker is modified on all computers in a network session.
C Func: 0x79c081 ScriptInfo: 0xde8608
"Marker1" setMarkerDir 90
Sets the orientation of the marker. Angle is in degrees. The marker is only modified on the computer where the command is called.
C Func: 0x79bfd9 ScriptInfo: 0xde863c
"Marker1" setMarkerDirLocal 90
Creates a hint dialog with the given title and text.
C Func: 0x7b6381 ScriptInfo: 0xde8670
Creates a hint dialog with the given title and text.
C Func: 0x7b6574 ScriptInfo: 0xde86a4
Creates a hint dialog with the given title and text. Texts can be plain or structured.
C Func: 0x7b6574 ScriptInfo: 0xde86d8
Changes the object position. If the markers array contains more than one marker names, the position of a random one is used. Otherwise, the given position is used. The object is placed inside a circle with this position as its center and placement as its radius.
C Func: 0x79c876 ScriptInfo: 0xde8740
player setVehiclePosition [[0, 0, 0], ["Marker1"], 0]
Sets the name of the variable which contains a reference to this object. It is necessary in MP to change the variable content after a respawn.
C Func: 0x79d905 ScriptInfo: 0xde8774
player setVehicleVarName "aP"
Sets the armor (or health for men) state of the vehicle (a value from 0 to 1).
C Func: 0x782eda ScriptInfo: 0xde87a8
player setVehicleArmor 0.5
Sets how much ammunition (compared to the current configuration of magazines, but fully loaded) the vehicle has. The value ranges from 0 to 1.
C Func: 0x782f40 ScriptInfo: 0xde87dc
player setVehicleAmmo 0
Sets id (integer value) to vehicle. By this id vehicle is referenced by triggers and waypoints.
C Func: 0x782f7c ScriptInfo: 0xde8810
player setVehicleId 1
Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.
C Func: 0x79df23 ScriptInfo: 0xde8844
player setUnitRank "COLONEL"
Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.
C Func: 0x79dfdf ScriptInfo: 0xde8878
player setRank "COLONEL"
Sets skill of given unit. Skill may vary from 0.2 to 1.0.
C Func: 0x782f9c ScriptInfo: 0xde88ac
player setUnitSkill 1.0
Set how vehicle is locked for player. Possible values: UNLOCKED, DEFAULT or LOCKED.
C Func: 0x79dffb ScriptInfo: 0xde88e0
veh1 setVehicleLock "LOCKED"
Execute statement attached to vehicle. This statement is also propagated over network in MP games.
C Func: 0x79e079 ScriptInfo: 0xde8914
soldier3 setVehicleInit "this allowfleeing 0"
Set parameters to particle source. Array is in format
C Func: 0x5f9ca7 ScriptInfo: 0xde89b0
Set randomization of particle source parameters.
C Func: 0x5f073f ScriptInfo: 0xde89e4
Update particle source to create particles on circle with given radius. Velocity is transformed and added to total velocity.
C Func: 0x5f078b ScriptInfo: 0xde8a18
Set interval of emitting particles from particle source.
C Func: 0x5f0894 ScriptInfo: 0xde8a4c
_source setDropInterval 0.05
Set camera interest for given entity.
C Func: 0x7823f6 ScriptInfo: 0xde8a80
_soldier setCameraInterest 50
Set diffuse color of light.
C Func: 0x7acda9 ScriptInfo: 0xde8ab4
Set ambient color of light.
C Func: 0x7ace90 ScriptInfo: 0xde8ae8
Set brightness of light.
C Func: 0x78242c ScriptInfo: 0xde8b1c
Attach light to given object (at given position).
C Func: 0x7acf77 ScriptInfo: 0xde8b50
Set object's up vector. Direction vector will remain unchanged.
C Func: 0x7ae2ae ScriptInfo: 0xde8b84
Set object's direction vector. Up vector will remain unchanged.
C Func: 0x7ae4af ScriptInfo: 0xde8bb8
Set object's direction and up vector
C Func: 0x7ae6d8 ScriptInfo: 0xde8bec
Low level command to person to move to given position. Position is expected to be in ATL format.
C Func: 0x78373c ScriptInfo: 0xde8c54
Limit speed of given vehicle to given value (in km/h).
C Func: 0x783d0b ScriptInfo: 0xde8d58
C Func: 0x794e7e ScriptInfo: 0xde8dc0
rendertarget0 setPiPEffect [0, 0, [], [], []]
Functionally same as Say, only difference is sound played as 3D allways.
C Func: 0x7ab38a ScriptInfo: 0xde8df4
soldierOne say "speechId"
Functionally same as Say, only difference is sound played as 3D allways.
C Func: 0x7ab38a ScriptInfo: 0xde8e28
Functionally same as Say, only difference is sound played as 2D (mono) allways.
C Func: 0x7ab36c ScriptInfo: 0xde8e5c
soldierOne say "speechId"
Functionally same as Say, only difference is sound played as 2D (mono) allways.
C Func: 0x7ab36c ScriptInfo: 0xde8e90
Set variable to given value in the variable space of given object. If public is true then the value is broadcast to all computers.
C Func: 0x7aecbf ScriptInfo: 0xde8ec4
Set quantity to given value in the variable space of given object.
C Func: 0x790f6d ScriptInfo: 0xde8ef8
_item setQuantity 4
Set the destination for path planning of the pilot.
C Func: 0x7aef98 ScriptInfo: 0xde8fc8
Force the speed of the given object.
C Func: 0x783d47 ScriptInfo: 0xde8ffc
Makes the unit to apply suppressive fire on known enemies.
C Func: 0x783f9b ScriptInfo: 0xde90cc
It sets the data for hiding. ObjectWhereHide can be taken using findCover. HidePosition can be taken using getHideFrom.
C Func: 0x78cb4e ScriptInfo: 0xde9100
Enable / disable reload right after magazine is empty.
C Func: 0x784109 ScriptInfo: 0xde9134
_vehicle enableReload false
Equal to setUnitPos, for usage in formation FSM (to avoid collision with setUnitPos used by the mission).
C Func: 0x7916e5 ScriptInfo: 0xde9168
soldierOne setUnitPosWeak "Down"
Text background - the right argument uses format ["text","type",speed] or ["text","type"]. If speed is not given, it's assumed to be one. Type may be one of: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN". The left argument define layer in which the effect is show, 0 is the back most.
C Func: 0x795e54 ScriptInfo: 0xde919c
0 cutText ["", "BLACK OUT"]
Resource background - the right argument uses format ["name","type",speed] or ["name","type"]. If speed is not given, it's assumed to be one. The left argument define layer in which the effect is show, 0 is the back most. The resource can be defined in the description.ext file.
C Func: 0x795f5a ScriptInfo: 0xde91d0
0 cutRsc ["binocular", "PLAIN"]
Object background - the right argument uses format ["name","type",speed] or ["name","type"]. If speed is not given, it's assumed to be one. The left argument define layer in which the effect is show, 0 is the back most. The object can be defined in the description.ext file.
C Func: 0x796087 ScriptInfo: 0xde9204
0 cutObj ["TVSet", "plain"]
Terminate the effect in the given layer and set duration of the fade out phase to the given time.
C Func: 0x76bd9d ScriptInfo: 0xde9238
0 cutFadeIn 1.0
Create an event handler for given variable. The event handler will be executed when some client in MP exports a variable using publicVariable on all clients except the publishing one.
C Func: 0x7a1234 ScriptInfo: 0xde9370
"alarm" addPublicVariableEventHandler {_this execVM "alarm.sqf"}
Enable / disable simulation for given entity.
C Func: 0x7828c8 ScriptInfo: 0xde93a4
Lock / unlock the unit to using conversation. Implemented by the counter, so lock - unlock need to be matched.
C Func: 0x77e544 ScriptInfo: 0xde93d8
player disableConversation true
Defines an action performed when the user clicks on the map. Command receives:
_pos
_units
_shift,_alt
_this
If the click is processed, command should return true.
C Func: 0x76df63 ScriptInfo: 0xde940c
"SoldierEG" onMapSingleClick "_this createUnit [_pos, group player]"
Set variable to given value in the variable space of given FSM. The FSM handle is the number returned by the execFSM command.
C Func: 0x7b11c6 ScriptInfo: 0xde9440
When used on a person, a smooth transition to the given move will be initiated, but all previous playAction are discarded.
C Func: 0x7bdc1d ScriptInfo: 0xde94a8
soldierOne playMoveNow "Stand"
When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded.
C Func: 0x794607 ScriptInfo: 0xde94dc
soldierOne playActionNow "SitDown"
Attaches an object to another object. The offset is applied to the object center unless a memory point is provided.
C Func: 0x79467c ScriptInfo: 0xde9510
player attachTo [car, [0,2,0],hatch1]
Set / reset the unconscious life state of the given unit (in MP works only for a local unit).
C Func: 0x781104 ScriptInfo: 0xde9544
Sets the marker alpha. The marker is modified on all computers in a network session.
C Func: 0x798932 ScriptInfo: 0xde9578
"MarkerOne" setMarkerAlpha 0.5
Sets the marker alpha. The marker is only modified on the computer where the command is called.
C Func: 0x79884f ScriptInfo: 0xde95ac
"MarkerOne" setMarkerAlpha 0.5
Changes default cursor texture ("Track", "Move","Array", "Scroll") to custom one. To restore default texture, write empty string. If new texture does not exist, default cursor texture is used.
C Func: 0x7b109d ScriptInfo: 0xde9614
ctrlMapCursor ["Track","customCursor"]
Damage / repair part of object. Damage 0 means fully functional, damage 1 means completely destroyed / dead.
C Func: 0x792ce8 ScriptInfo: 0xde9648
vehicle player setHit ["engine", 1]
Damage / repair part of object. Damage 0 means fully functional, damage 1 means completely destroyed / dead. Use name of hit point.
C Func: 0x792eb9 ScriptInfo: 0xde967c
vehicle player setHit ["engine", 1]
Lock the driver position of the vehicle.
C Func: 0x782015 ScriptInfo: 0xde96b0
Lock the gunner position of the vehicle turret.
C Func: 0x7ac629 ScriptInfo: 0xde96e4
Lock the cargo position of the vehicle.
C Func: 0x7ac6f2 ScriptInfo: 0xde9718
Lock the all cargo positions of the vehicle.
C Func: 0x782056 ScriptInfo: 0xde974c
Enable / disable continuous centering the map on the camera position
C Func: 0x778ad4 ScriptInfo: 0xde98ec
Switch FSM debug log on/off.
C Func: 0x76e06d ScriptInfo: 0xde9954
BIS_grpMainFSM debugFSM true
Force player to walk.
C Func: 0x782a49 ScriptInfo: 0xde99f0
player forceWalk true
Control what the unit is glancing at (target or position) (format
C Func: 0x77eb26 ScriptInfo: 0xde9ac0
someSoldier glanceAt otherSoldier; otherSoldier glanceAt getMarkerPos "markerOne"
Control what the unit is looking at (target or position) (format
C Func: 0x77eb44 ScriptInfo: 0xde9af4
someSoldier lookAt otherSoldier; otherSoldier lookAt getMarkerPos "markerOne"
Set owner of the airport
C Func: 0x76bb3a ScriptInfo: 0xde9b5c
0 setAirportSide east
Order AI airplane to land at given airport
C Func: 0x77fb07 ScriptInfo: 0xde9b90
plane landAt 0
Set airport to be used by AI on getout
C Func: 0x7801f4 ScriptInfo: 0xde9bc4
plane assignToAirport 0
Hide object (cannot hide static objects).
C Func: 0x7822b9 ScriptInfo: 0xde9bf8
player hideObject true
Activate camera thermal vision
C Func: 0x76e79c ScriptInfo: 0xde9c2c
Set ti parameters for specified vehicle, pars: engine/body, tracks/wheels, main gun.
C Func: 0x7838c6 ScriptInfo: 0xde9c60
Causes a smooth change in the master speech volume. The change duration is given by time, the target volume by volume. The default master volume is 1.0.
C Func: 0x76bc0f ScriptInfo: 0xde9c94
5 fadeSound 0.1
Enable/disable transport vision modes(Ti)
C Func: 0x780ca7 ScriptInfo: 0xde9cc8
Initiates the loading action on active weapon of the given turret.
C Func: 0x7bb79e ScriptInfo: 0xde9d30
vehicle player loadMagazine [[0],"m256","20Rnd_120mmHE_M1A2"]
If true, units can be in vehicle with broken tracks/wheels.
C Func: 0x780d4d ScriptInfo: 0xde9d64
vehicle allowCrewInImmobile true
Enables copilot actions.
C Func: 0x780f16 ScriptInfo: 0xde9d98
Disable collision between vehicles.
C Func: 0x782916 ScriptInfo: 0xde9dcc
Enable collision between vehicles.
C Func: 0x782970 ScriptInfo: 0xde9e00
Proportionaly increase/decrease unit's recoil.
C Func: 0x780dc2 ScriptInfo: 0xde9e34
soldier setUnitRecoilCoefficient 0.5
Send the variable value to the client computer.
Only type
C Func: 0x7969c7 ScriptInfo: 0xde9e9c
3 publicVariableClient "CTFscoreOne"
Execute given code on a client owning the player. Intended to control local effects for the player, like camera or UI
C Func: 0x781dce ScriptInfo: 0xde9ed0
[man, 'Hu'] spawnForPlayer {hint (_this select 1)}
Execute given code on a client owning the player. Intended to control local effects for the player, like camera or UI
C Func: 0x781dce ScriptInfo: 0xde9f04
man spawnForPlayer {hint 'Hu'}
Execute given code on a client. Intended for executing commands on a client with no player object.
C Func: 0x781e19 ScriptInfo: 0xde9f38
[_id, 'Hu'] spawnForPlayer {hint (_this select 1)}
Execute given code on a client. Intended for executing commands on a client with no player object.
C Func: 0x781e19 ScriptInfo: 0xde9f6c
_id spawnForPlayer {hint 'Hu'}
On server machine, change the person controlled by a given client.
C Func: 0x783187 ScriptInfo: 0xdea10c
Starts the process of loading character from the central database. When finished, given code is executed. Works on game server only.
C Func: 0x79d841 ScriptInfo: 0xdea140
dbServerLoadCharacter [_id, {_id selectPlayer _agent;}]
Take given item to hands.
C Func: 0x781095 ScriptInfo: 0xdea174
_person moveToHands _item
Low level command to person to move directly (no pathplanning) to given position. Position is expected to be in ATL format.
C Func: 0x7837df ScriptInfo: 0xdea1a8
Set target category for setTargetDistanceLimit
C Func: 0x798c0f ScriptInfo: 0xdea1dc
_unit setTargetCategory 'player'
Set target tracking limit for a given unit and target category
C Func: 0x7ad06a ScriptInfo: 0xdea210
['player','player'] setTargetDistanceLimit 500
Set target tracking limit for a given unit for all target categories
C Func: 0x7ad06a ScriptInfo: 0xdea244
'player' setTargetDistanceLimit 500
Subscribe variable for synchronization.
C Func: 0x7ba038 ScriptInfo: 0xdea278
C Func: 0x7c2452 ScriptInfo: 0xdea2ac
Switch inventory item On/Off. One cannot powerOn an item with no power supplies left.
C Func: 0x78058a ScriptInfo: 0xdea2e0
Register conversation topic to given person.
C Func: 0x7af11c ScriptInfo: 0xdea480
Unregister conversation topic from given person.
C Func: 0x79f081 ScriptInfo: 0xdea4b4
Make the person tell to the receiver the sentence. Last parameter can be false/true to force radio channel selection, or number 1..10 to force possible CustomChannel, or radio channel name 'GLOBAL','SIDE','GROUP','VEHICLE','DIRECT','COMMAND'.
C Func: 0x7af7f8 ScriptInfo: 0xdea4e8
Pass a non-verbal communication to the receiver.
C Func: 0x7af437 ScriptInfo: 0xdea51c
Draw icon in map.
C Func: 0x7c0668 ScriptInfo: 0xdea5b8
Draw line in map.
C Func: 0x7841a7 ScriptInfo: 0xdea5ec
Draw arrow in map.
C Func: 0x78427c ScriptInfo: 0xdea620
Draw ellipse in map.
C Func: 0x7c09c4 ScriptInfo: 0xdea654
Draw rectangle in map.
C Func: 0x7c0c2f ScriptInfo: 0xdea688
Enable / disable given control.
C Func: 0x778b8c ScriptInfo: 0xdea724
_control ctrlEnable false
Show / hide given control.
C Func: 0x778bc8 ScriptInfo: 0xdea758
_control ctrlShow false
Sets the text that will be shown in given control.
C Func: 0x79f6d9 ScriptInfo: 0xdea78c
_control ctrlSetText "Hello, world."
Sets the main font of given control.
C Func: 0x79f752 ScriptInfo: 0xdea7c0
_control ctrlSetFont "TahomaB"
Sets the main font size of given control.
C Func: 0x778c54 ScriptInfo: 0xdea7f4
_control ctrlSetFontHeight 0.05
Sets H1 font of given HTML control.
C Func: 0x79f7c6 ScriptInfo: 0xdea828
_control ctrlSetFontH1 "TahomaB"
Sets H2 font of given HTML control.
C Func: 0x79f842 ScriptInfo: 0xdea85c
_control ctrlSetFontH2 "TahomaB"
Sets H3 font of given HTML control.
C Func: 0x79f8be ScriptInfo: 0xdea890
_control ctrlSetFontH3 "TahomaB"
Sets H4 font of given HTML control.
C Func: 0x79f93d ScriptInfo: 0xdea8c4
_control ctrlSetFontH4 "TahomaB"
Sets H5 font of given HTML control.
C Func: 0x79f9bc ScriptInfo: 0xdea8f8
_control ctrlSetFontH5 "TahomaB"
Sets H5 font of given HTML control.
C Func: 0x79fa3b ScriptInfo: 0xdea92c
_control ctrlSetFontH6 "TahomaB"
Sets P font of given HTML control.
C Func: 0x79faba ScriptInfo: 0xdea960
_control ctrlSetFontP "TahomaB"
Sets H1 bold font of given HTML control.
C Func: 0x79fb39 ScriptInfo: 0xdea994
_control ctrlSetFontH1B "TahomaB"
Sets H2 bold font of given HTML control.
C Func: 0x79fbb5 ScriptInfo: 0xdea9c8
_control ctrlSetFontH2B "TahomaB"
Sets H3 bold font of given HTML control.
C Func: 0x79fc31 ScriptInfo: 0xdea9fc
_control ctrlSetFontH3B "TahomaB"
Sets H4 bold font of given HTML control.
C Func: 0x79fcb0 ScriptInfo: 0xdeaa30
_control ctrlSetFontH4B "TahomaB"
Sets H5 bold font of given HTML control.
C Func: 0x79fd2f ScriptInfo: 0xdeaa64
_control ctrlSetFontH5B "TahomaB"
Sets H6 bold font of given HTML control.
C Func: 0x79fdae ScriptInfo: 0xdeaa98
_control ctrlSetFontH6B "TahomaB"
Sets P bold font of given HTML control.
C Func: 0x79fe2d ScriptInfo: 0xdeaacc
_control ctrlSetFontPB "TahomaB"
Sets H1 font size of given HTML control.
C Func: 0x778c88 ScriptInfo: 0xdeab00
_control ctrlSetFontHeightH1 0.05
Sets H2 font size of given HTML control.
C Func: 0x778cbb ScriptInfo: 0xdeab34
_control ctrlSetFontHeightH2 0.05
Sets H3 font size of given HTML control.
C Func: 0x778cee ScriptInfo: 0xdeab68
_control ctrlSetFontHeightH3 0.05
Sets H4 font size of given HTML control.
C Func: 0x778d24 ScriptInfo: 0xdeab9c
_control ctrlSetFontHeightH4 0.05
Sets H5 font size of given HTML control.
C Func: 0x778d5a ScriptInfo: 0xdeabd0
_control ctrlSetFontHeightH5 0.05
Sets H6 font size of given HTML control.
C Func: 0x778d90 ScriptInfo: 0xdeac04
_control ctrlSetFontHeightH6 0.05
Sets P font size of given HTML control.
C Func: 0x778dc6 ScriptInfo: 0xdeac38
_control ctrlSetFontHeightP 0.05
Sets wanted position and size for control animation. Width and height are optional.
C Func: 0x77905a ScriptInfo: 0xdeac6c
_control ctrlSetPosition [0.5, 0.5]
Sets wanted scale for control animation. Top left corner remains same.
C Func: 0x7791a2 ScriptInfo: 0xdeaca0
_control ctrlScale 0.5
Sets number of second required to scroll to next line. If speed smaller than 0, auto-scroll is disabled.
C Func: 0x7791ee ScriptInfo: 0xdeacd4
_control ctrlSetAutoScrollSpeed 5
Sets number of second before auto-scroll starts.
C Func: 0x779281 ScriptInfo: 0xdead08
_control ctrlSetAutoScrollDelay 5
Defines if scroll should rewind when auto-scroll reach end.
C Func: 0x779314 ScriptInfo: 0xdead3c
_control ctrlSetAutoScrollDelay 5
Sets wanted transparency for control animation.
C Func: 0x7793b4 ScriptInfo: 0xdead70
_control ctrlSetFade 1
Commit control animation.
C Func: 0x779404 ScriptInfo: 0xdeada4
_control ctrlCommit 2
Sets background color of given control. Color is in format
C Func: 0x7b0143 ScriptInfo: 0xdeae0c
_control ctrlSetBackgroundColor [1, 0, 0, 1]
Sets background color of given control. Color is in format
C Func: 0x7b0184 ScriptInfo: 0xdeae40
_control ctrlSetForegroundColor [1, 0, 0, 1]
Sets text color of given control. Color is in format
C Func: 0x7b01c5 ScriptInfo: 0xdeae74
_control ctrlSetTextColor [1, 0, 0, 1]
Sets text color of given control when control is selected. Color is in format
C Func: 0x7b0206 ScriptInfo: 0xdeaea8
_control ctrlSetActiveColor [1, 0, 0, 1]
Sets tooltip text of given control.
C Func: 0x79feac ScriptInfo: 0xdeaedc
_control ctrlSetTooltip "tooltip"
Sets tooltip text color of given control. Color is in format
C Func: 0x7b0247 ScriptInfo: 0xdeaf10
_control ctrlSetTooltipColorText [1, 0, 0, 1]
Sets tooltip border color of given control. Color is in format
C Func: 0x7b0284 ScriptInfo: 0xdeaf44
_control ctrlSetTooltipColorBox [1, 0, 0, 1]
Sets tooltip background color of given control. Color is in format
C Func: 0x7b02c1 ScriptInfo: 0xdeaf78
_control ctrlSetTooltipColorShade [1, 0, 0, 1]
Create child display of given display and load from resource "name".
C Func: 0x7a0cbf ScriptInfo: 0xdeb07c
_display createDisplay "RscObserver"
Close given display.
C Func: 0x76ee26 ScriptInfo: 0xdeb0b0
_display closeDisplay IDC_OK
Load HTML from file to given control.
C Func: 0x79ff21 ScriptInfo: 0xdeb0e4
_control htmlLoad "briefing.html"
Set the structured text which will be displayed in structured text control.
C Func: 0x79ffa4 ScriptInfo: 0xdeb118
_control ctrlSetStructuredText parseText "First line<img image=data\isniper.paa/><br/>Second line"
Sets given event handler of given control
C Func: 0x7b02fe ScriptInfo: 0xdeb14c
_control ctrlSetEventHandler ["KeyDown", ""]
Sets given event handler of given display.
C Func: 0x7b05b3 ScriptInfo: 0xdeb180
_control displaySetEventHandler ["KeyDown", ""]
Sets skill of given type of person (commander unit). Value of skill may vary from 0 to 1.
C Func: 0x7b12f5 ScriptInfo: 0xdeb21c
hero setSkill ["Endurance", 1]
Selects the item with the given index of the given listbox or combobox.
C Func: 0x779611 ScriptInfo: 0xdeb250
_control lbSetCurSel 0
Removes the item with the given index from the given listbox or combobox.
C Func: 0x779662 ScriptInfo: 0xdeb2b8
_control lbDelete 0
Sets the additional text (invisible) in the item with the given index of the given listbox or combobox to the given data.
C Func: 0x7b0868 ScriptInfo: 0xdeb354
_control lbSetData [1, "#1"]
Sets the additional integer value in the item with the given index of the given listbox or combobox to the given value.
C Func: 0x7b0965 ScriptInfo: 0xdeb3bc
_control lbSetValue [0, 1]
Sets the picture in the item with the given index of the given listbox or combobox. Name is the picture name. The picture is searched in the mission directory, the dtaExt subdirectory of the campaign directory and the dtaExt directory and the data bank (or directory).
C Func: 0x7c0e89 ScriptInfo: 0xdeb424
_control lbSetPicture [0, "iskoda"]
Sets the text color of the item with the given index of the given listbox or combobox. Color is in format
C Func: 0x7b0a6e ScriptInfo: 0xdeb48c
_control lbSetColor [0, [0, 1, 0, 0.5]]
Set the selection state of the given row of the given listbox. Listbox must support multiple selection
C Func: 0x7b0b83 ScriptInfo: 0xdeb4f4
_control lbSetSelection [0, true]
Selects the item with the given index of the given listbox or combobox.
C Func: 0x779857 ScriptInfo: 0xdeb528
_control lbSetCurSel row
Set position of 2d listbox columns.
C Func: 0x77cbc1 ScriptInfo: 0xdeb55c
_control lbSetColumnsPos [pos1,pos2,...]
Removes the item with the given index from the given listbox or combobox.
C Func: 0x779972 ScriptInfo: 0xdeb5c4
_control lbDelete 0
Removes row with the given index from the given listbox or combobox.
C Func: 0x7798b6 ScriptInfo: 0xdeb62c
_control lnbDelete 0
Sets the additional text (invisible) in the item with the given index of the given 2D listbox to the given data.
C Func: 0x7a0549 ScriptInfo: 0xdeb694
_control lnbSetData [[row, column], "#1"]
Sets the additional text (invisible) in the item with the given position of the given 2D listbox to the given data.
C Func: 0x7a06f9 ScriptInfo: 0xdeb6fc
_control lnbSetData [[row, column], "#1"]
Sets the additional integer value in the item with the given position of the given 2D listbox to the given value.
C Func: 0x779b26 ScriptInfo: 0xdeb764
_control lnbSetValue [[row, column], 1]
Sets the picture in the item with the given position of the given 2D listbox. Name is the picture name. The picture is searched in the mission directory, the dtaExt subdirectory of the campaign directory and the dtaExt directory and the data bank (or directory).
C Func: 0x7c117c ScriptInfo: 0xdeb7cc
_control lnbSetPicture [[row, column], "iskoda"]
Sets the text color of the item with the given position of the given 2D listbox . Color is in format
C Func: 0x7b0ca9 ScriptInfo: 0xdeb834
_control lnbSetColor [[row, column], [0, 1, 0, 0.5]]
Assigns an action to the given button or active text. Action is any expression in this scripting language.
C Func: 0x7a0a68 ScriptInfo: 0xdeb868
_control buttonSetAction "player exec ""reply.sqs"""
Sets the current thumb position of the given slider.
C Func: 0x779cd1 ScriptInfo: 0xdeb89c
_control sliderSetPosition 0
Sets the limits of the slider with id idc of the given slider.
C Func: 0x7b0e39 ScriptInfo: 0xdeb8d0
_control sliderSetRange [0, 10]
Sets the speed (a click on the arrow results in a move per line. A click on the scale outside the thumb results in a move per page) of the given slider.
C Func: 0x779d9a ScriptInfo: 0xdeb904
_control sliderSetSpeed [0.5, 2.0]
Adds the next frame to the map animation. The format of frame is [time, zoom, position], the format of position is
C Func: 0x784597 ScriptInfo: 0xdeb938
_map ctrlMapAnimAdd [1, 0.1, getMarkerPos "anim1"]
Sets the current position in the progress bar.
C Func: 0x77a0f9 ScriptInfo: 0xdeba3c
_control sliderSetPosition 0
Remove a given event handler from the given control.
C Func: 0x7b04c8 ScriptInfo: 0xdebaa4
_control ctrlRemoveEventHandler ["KeyDown", 0]
Remove all even handlers from the given control.
C Func: 0x7a0004 ScriptInfo: 0xdebad8
_control ctrlRemoveAllEventHandlers "KeyDown"
Remove a given event handler from the given display.
C Func: 0x7b077d ScriptInfo: 0xdebb40
_display displayRemoveEventHandler ["KeyDown", 0]
Remove all even handlers from the given display.
C Func: 0x7a0036 ScriptInfo: 0xdebb74
_display displayRemoveAllEventHandlers "KeyDown"
Creates a JVM object representing a FSM, pass it arguments and register it for execution.
C Func: 0x7a28c1 ScriptInfo: 0xdebbdc
Creates a new JVM UI panel based on given class. The second parameter defines the position and size of the panel.
C Func: 0x7b27eb ScriptInfo: 0xdebc10
Set the custom channel label.
C Func: 0x7a23c9 ScriptInfo: 0xdebc44
Set the custom channel call sign.
C Func: 0x7a24f5 ScriptInfo: 0xdebc78
Add the units to the custom radio channel.
C Func: 0x78d23d ScriptInfo: 0xdebcac
Remove the units from the custom radio channel.
C Func: 0x7a2641 ScriptInfo: 0xdebce0
Sends the message to the custom radio channel. The message is defined in the description.ext file or radio protocol.
C Func: 0x794003 ScriptInfo: 0xdebd14
soldierOne customRadio [1,"WordEnemy"]
Sends the chat message to the custom radio channel.
C Func: 0x794197 ScriptInfo: 0xdebd48
sweetBoy customChat [1,"Hi, any sweetgirls to chat?"]
On server machine, type the status text on the given client.
C Func: 0x7944d9 ScriptInfo: 0xdebd7c
(owner agent007) statusChat "Feels tired"; (owner agent007) statusChat ["Never tired!","colorImportant"]
Process animation on object. Animation is defined in config file. Wanted animation phase is set to phase.
C Func: 0x79a88f ScriptInfo: 0xdebeb4
house animate ["doors1", 1]
Sets ability levell of person (commander unit). Value of skill may vary from 0 to 1.
C Func: 0x77dcd8 ScriptInfo: 0xdebf1c
hero setSkill 1
C Func: 0x7bd895 ScriptInfo: 0xdebf50
Add given member to given team.
C Func: 0x7ba986 ScriptInfo: 0xdebfec
_team addTeamMember _teamMember
Remove given member from given team.
C Func: 0x7ba9d1 ScriptInfo: 0xdec020
_team removeTeamMember _teamMember
Add (register) resources to the team member.
C Func: 0x7b7079 ScriptInfo: 0xdec0bc
teamMember _agent addResources ["Arms", "Legs"]
Delete (unregister) resources of the team member.
C Func: 0x7b8704 ScriptInfo: 0xdec0f0
teamMember _agent deleteResources ["Legs"]
Set a new formation to given team.
C Func: 0x7a190c ScriptInfo: 0xdec124
_team setFormation "Wedge"
Set if given team member was inserted directly from editor.
C Func: 0x76f076 ScriptInfo: 0xdec158
_teamMember setFromEditor true
Set variable to given value in the variable space of given team member. If public is true then the value is broadcast to all computers.
C Func: 0x7a1953 ScriptInfo: 0xdec18c
team1 setVariable ["owner",player,true]
Set the leader of given team.
C Func: 0x78d165 ScriptInfo: 0xdec228
Executes the given command for each member of the team (recursively).
C Func: 0x7a1b76 ScriptInfo: 0xdec25c
Executes the given command for each team member of the team (recursively).
C Func: 0x7a1c87 ScriptInfo: 0xdec290
Executes the given command for each agent member of the team (recursively).
C Func: 0x7a1d98 ScriptInfo: 0xdec2c4
Sets the team member's combat mode (engagement rules). Mode can be one of: "BLUE" (Never fire), "GREEN" (Hold fire - defend only), "WHITE" (Hold fire, engage at will), "YELLOW" (Fire at will) or "RED" (Fire at will, engage at will).
C Func: 0x7a14d6 ScriptInfo: 0xdec2f8
(teamMember agent1) setCombatMode "BLUE"
a raised to the power of b
C Func: 0x95ef5d ScriptInfo: 0xdf3718
count^4
a multiplied by b
C Func: 0x95ee9a ScriptInfo: -0x1
iCounter*3
a divided by b
C Func: 0x962523 ScriptInfo: 0xdf3780
enemyStrenght/3
The remainder of a divided by b. Note that the remainder is calculated in the real domain.
C Func: 0x962573 ScriptInfo: 0xdf37b4
4.5 % 3
The remainder of a divided by b. Note that the remainer is calculated in the real domain.
C Func: 0x9625ca ScriptInfo: 0xdf37e8
3 mod 2
Returns the arctangens of x/y. The returned value is in degrees, in the range from -180 to +180, using the signs of both parameters to determine the quadrant of the returned value.
C Func: 0x95f416 ScriptInfo: 0xdf381c
5 atan2 3
a plus b
C Func: 0x95ee44 ScriptInfo: -0x1
counter + 1
a minus b
C Func: 0x95ee6f ScriptInfo: -0x1
counter - 1
Counts the elements in the array for which the given condition is true. It is calculated as follows: 1) Set the count to 0. 2) For each element in the array assign an element as _x and evaluate the condition expression. If it's true, increase the count.
C Func: 0x96ac4f ScriptInfo: 0xdf3c94
"_x > 2" count [0, 1, 1, 2, 3, 3]
Returns the position of the first array element that matches x, returns -1 if not found.
C Func: 0x95f762 ScriptInfo: 0xdf3d30
[0, 1, 2] find 1
The smaller of a,b
C Func: 0x95eec5 ScriptInfo: 0xdf403c
3 min 2
The greater of a,b
C Func: 0x95ef11 ScriptInfo: 0xdf4070
3 max 2
The sine of x, the argument is in degrees.
C Func: 0x95f245 ScriptInfo: 0xdf2d38
sin 30
The random real value from 0 to x. (0<=random<1)
C Func: 0x95f218 ScriptInfo: 0xdf2d64
random 1
The cosine of x, the argument is in degrees.
C Func: 0x95f27e ScriptInfo: 0xdf2d90
cos 60
The tangens of x, the argument is in degrees.
C Func: 0x95f2d5 ScriptInfo: 0xdf2dbc
tg 45
The tangens of x, the argument is in degrees.
C Func: 0x95f32e ScriptInfo: 0xdf2de8
tan 45
The arcsine of x, the result is in degrees.
C Func: 0x95f347 ScriptInfo: 0xdf2e14
asin 0.5
The arccosine of x, the result is in degrees.
C Func: 0x95f384 ScriptInfo: 0xdf2e40
acos 0.5
The arctangens of x, the result is in degrees.
C Func: 0x95f3c1 ScriptInfo: 0xdf2e6c
atg 1
The arctangens of x, the result is in degrees.
C Func: 0x95f3fd ScriptInfo: 0xdf2e98
atan 1
Converts x from radians to degrees.
C Func: 0x95f1f1 ScriptInfo: 0xdf2ec4
deg 1
Converts x from degrees to radians.
C Func: 0x95f1ca ScriptInfo: 0xdf2ef0
rad 180
The base-10 logarithm of x.
C Func: 0x95f460 ScriptInfo: 0xdf2f1c
log 10
The natural logarithm of x.
C Func: 0x95f481 ScriptInfo: 0xdf2f48
ln 10
The exponential value of x.
C Func: 0x95f4a2 ScriptInfo: 0xdf2f74
exp 1
The square root of x.
C Func: 0x95f4c2 ScriptInfo: 0xdf2fa0
sqrt 9
The absolute value of x.
C Func: 0x95f4df ScriptInfo: 0xdf2fcc
abs -3
The floor value of x.
C Func: 0x95f4fc ScriptInfo: 0xdf2ff8
floor 5.25
The ceil value of x.
C Func: 0x95f521 ScriptInfo: 0xdf3024
ceil 5.25
The round value of x.
C Func: 0x95f546 ScriptInfo: 0xdf3050
round -5.25
unary plus: returns a
C Func: 0x95f192 ScriptInfo: -0x1
+4
unary minus: zero minus a
C Func: 0x95f1ad ScriptInfo: -0x1
- - 3
The number of elements in the array.
C Func: 0x95f636 ScriptInfo: 0xdf3184
count [0,0,1,2]
Parse string containing real number.
C Func: 0x963622 ScriptInfo: 0xdf35d0
parseNumber "0.125"
Always false.
C Func: 0x95f5f1 ScriptInfo: 0xdf2b30
Set tone mapping method
C Func: 0xa0e7eb ScriptInfo: 0xdffd8c
setToneMapping "filmic"
Create location of given type with given size at given position.
C Func: 0x5439b2 ScriptInfo: 0xdd2120
Create a new AI task (subtask of parentTask). Type is name of registered task type.
C Func: 0x5a5abe ScriptInfo: 0xdd3508
This is the person controlled by the player. In MP this value is different on each computer.
C Func: 0x77e1b3 ScriptInfo: 0xde55f0
alive player
Returns the time that elapsed since the mission started (in seconds).
C Func: 0x76b76b ScriptInfo: 0xde56b8
Returns true if freelook is active
C Func: 0x76bcaf ScriptInfo: 0xde64c8
Obsolete.
C Func: 0x795b89 ScriptInfo: 0xde0604
Marks the unit as captive. If the unit is a vehicle, the vehicle commander is marked instead. A captive is neutral to everyone. Note: This function does not remove the unit's weapons.
C Func: 0x77db2d ScriptInfo: 0xde67f8
setCaptive player
Always true.
C Func: 0x95f5e1 ScriptInfo: 0xdf2b08
Disable saving of script containing this command. After this, script can work with the data types which do not support serialization (UI types).
C Func: 0x95f619 ScriptInfo: 0xdf2b80
Create post process effect specified by name and priority
C Func: 0xa1702d ScriptInfo: 0xdffd60
A non-existing location. This value is not equal to anything, including itself.
C Func: 0x0 ScriptInfo: 0xdd2484
Delete the given location.
C Func: 0x540a6f ScriptInfo: 0xdd214c
Find the nearest locations (from the given position) of certain types, within the specified distance. If <position to sort from> is provided, locations will be ordered by distance from this point.
C Func: 0x54322d ScriptInfo: 0xdd2178
Return (raw) position of given location.
C Func: 0x53e915 ScriptInfo: 0xdd21d0
Return (raw) position of given location.
C Func: 0x53e9dc ScriptInfo: 0xdd21fc
Return position of given location.
C Func: 0x53eaad ScriptInfo: 0xdd2228
Return direction (angle) of given location.
C Func: 0x53da30 ScriptInfo: 0xdd2254
Return size of given location (width, height).
C Func: 0x53eac6 ScriptInfo: 0xdd2280
Return type of given location.
C Func: 0x53fb0d ScriptInfo: 0xdd22ac
Return importance of given location.
C Func: 0x53da67 ScriptInfo: 0xdd22d8
Return name of global vatiable containing given location.
C Func: 0x53fb45 ScriptInfo: 0xdd2304
Return short name of location. (used for scripting)
C Func: 0x53fb75 ScriptInfo: 0xdd2330
Return text attached to given location.
C Func: 0x53fba5 ScriptInfo: 0xdd235c
Check if given location has rectangular shape.
C Func: 0x53da8f ScriptInfo: 0xdd2388
Return object attached to given location.
C Func: 0x53eb3e ScriptInfo: 0xdd23b4
Return target side of given location.
C Func: 0x53dab5 ScriptInfo: 0xdd23e0
Check whether the value is null.
C Func: 0x53dcca ScriptInfo: 0xdd240c
Set a new position of given location.
C Func: 0x540aa3 ScriptInfo: 0xdd24b0
Set a new direction (angle) of given location.
C Func: 0x53daee ScriptInfo: 0xdd24e4
Set a new size (width, height) of given location.
C Func: 0x53db26 ScriptInfo: 0xdd2518
Set a new type of given location.
C Func: 0x543782 ScriptInfo: 0xdd254c
Set a new importance of given location.
C Func: 0x53dbe8 ScriptInfo: 0xdd2580
Set which global variable will contain given location.
C Func: 0x53fbd5 ScriptInfo: 0xdd25b4
Set a new text attached to given location.
C Func: 0x53fc21 ScriptInfo: 0xdd25e8
Set if given location has rectangular shape.
C Func: 0x53dc1a ScriptInfo: 0xdd261c
Attach a object to given location.
C Func: 0x53eb7b ScriptInfo: 0xdd2650
Set a new target side of given location.
C Func: 0x53dc54 ScriptInfo: 0xdd2684
Set variable to given value in the variable space of given location.
C Func: 0x53fc6d ScriptInfo: 0xdd26b8
Return the value of variable in the variable space of given location.
C Func: 0x53fd78 ScriptInfo: 0xdd26ec
Check if the position is inside area defined by the location.
C Func: 0x53dc81 ScriptInfo: 0xdd2720
Computes the distance between two locations or positions.
C Func: 0x53dd08 ScriptInfo: 0xdd2754
Computes the distance between two locations or positions.
C Func: 0x53ddf5 ScriptInfo: 0xdd2788
Computes the distance between two locations or positions.
C Func: 0x53ddf5 ScriptInfo: 0xdd27bc
Checks whether two locations are the same. If either of them is null, false is returned.
C Func: 0x53de23 ScriptInfo: 0xdd27f0
Checks whether two locations are different. If either of them is null, true is returned.
C Func: 0x53de5e ScriptInfo: 0xdd2824
Draw location in the map.
C Func: 0x53f124 ScriptInfo: 0xdd2858
A non-existing task. This value is not equal to anything, including itself.
C Func: 0x0 ScriptInfo: 0xdd3474
taskNull == taskNull
Return the state of the given task.
C Func: 0x5a6590 ScriptInfo: 0xdd3150
Return the result of the given task.
C Func: 0x5a3538 ScriptInfo: 0xdd317c
Return if task is completed. (state Succeeded, Failed or Canceled)
C Func: 0x5a2276 ScriptInfo: 0xdd31a8
Return the child tasks of the specified task.
C Func: 0x5a6647 ScriptInfo: 0xdd3200
Return the type of the task.
C Func: 0x5a6984 ScriptInfo: 0xdd322c
Returns the position of the task (as specified by destination parameter in config).
C Func: 0x5a69b4 ScriptInfo: 0xdd3258
Returns the descripction of the task.
C Func: 0x5a6a8b ScriptInfo: 0xdd3284
Return the priority of the task.
C Func: 0x5a2315 ScriptInfo: 0xdd32b0
List all uncompleted tasks.
C Func: 0x5a6c1d ScriptInfo: 0xdd32dc
List all registered task types.
C Func: 0x5a6cc6 ScriptInfo: 0xdd3308
Checks whether the value is equal to taskNull. Note: a==TaskNull does not work, because taskNull is not equal to anything, even to itself.
C Func: 0x5a2353 ScriptInfo: 0xdd3334
isNull taskNull
Create a link to the section of diary given by subject. Record is selected based on given object (diary record, task or unit).
C Func: 0x5a626b ScriptInfo: 0xdd3360
_link = createDiarySubject ["Group", player, "Player"]
Open the diary screen on the record specified by link.
C Func: 0x5a8745 ScriptInfo: 0xdd338c
Return all simple tasks assigned to given person.
C Func: 0x5a703e ScriptInfo: 0xdd33b8
Register a new task type. Parameters are defined in the given config class (subclass of CfgTasks).
C Func: 0x5a9188 ScriptInfo: 0xdd34a0
Unregister a task type.
C Func: 0x5a5a47 ScriptInfo: 0xdd34d4
Create a new subject page in a log.
C Func: 0x5a8256 ScriptInfo: 0xdd3570
_index = player createDiarySubject ["myPage", "My page"]
Create a new record in a log.
C Func: 0x5a83cc ScriptInfo: 0xdd35a4
_record = player createDiaryRecord ["diary", "Kill all enemies."]
Set a new state of the task.
C Func: 0x5a65ca ScriptInfo: 0xdd35d8
Set a result of the task.
C Func: 0x5a66dc ScriptInfo: 0xdd360c
Send a result of the task to the task sender.
C Func: 0x5a67d5 ScriptInfo: 0xdd3640
Checks whether two tasks are equal.
C Func: 0x5a2394 ScriptInfo: 0xdd3674
Checks whether two tasks are different.
C Func: 0x5a23cf ScriptInfo: 0xdd36a8
Return the value of variable in the variable space of given task.
C Func: 0x5a6d6f ScriptInfo: 0xdd36dc
Set variable to given value in the variable space of given task.
C Func: 0x5a6e59 ScriptInfo: 0xdd3710
Select the subject page in a log.
C Func: 0x5a61e5 ScriptInfo: 0xdd3744
Attach a destination to the simple task. Overrides setSimpleTaskTarget.
C Func: 0x5a247a ScriptInfo: 0xdd37ac
Attach a target to the simple task. Overrides setSimpleTaskDestination.
C Func: 0x5a24d3 ScriptInfo: 0xdd37e0
task setSimpleTaskTarget [vehicle, true]
Attach descriptions to the simple task.
C Func: 0x5a6f39 ScriptInfo: 0xdd3814
Set the task as a current task of the person.
C Func: 0x5a240a ScriptInfo: 0xdd3848
Checks whether given subject is present in the diary of given person.
C Func: 0x5a6222 ScriptInfo: 0xdd387c
Remove a simple task from the list of simple tasks.
C Func: 0x5a8884 ScriptInfo: 0xdd38b0
List of all players on the server.
C Func: 0x7bb69c ScriptInfo: 0xde5618
{_x globalChat 'I am here'}forEach players
Returns true if the computer is the server.
C Func: 0x76b716 ScriptInfo: 0xde5640
Returns the player's side. This is valid even when the player controlled person is dead (a difference from player side).
C Func: 0x7788ac ScriptInfo: 0xde5668
Returns true if the mission is played in cadet mode and false in veteran mode.
C Func: 0x76b7f5 ScriptInfo: 0xde5730
Checks whether the player has the map enabled.
C Func: 0x76c71d ScriptInfo: 0xde57a8
Checks whether the player has the radio transmitter enabled.
C Func: 0x76c75c ScriptInfo: 0xde57d0
Checks whether the player has the notebook enabled.
C Func: 0x76c79e ScriptInfo: 0xde57f8
Checks whether the player has the ID card enabled. (Obsolete).
C Func: 0x76c7f8 ScriptInfo: 0xde5820
Checks whether the player has the GPS receiver enabled.
C Func: 0x76c83a ScriptInfo: 0xde5848
The West side.
C Func: 0x0 ScriptInfo: 0xde5870
The East side.
C Func: 0x0 ScriptInfo: 0xde5898
The Civilian side.
C Func: 0x7788e6 ScriptInfo: 0xde58c0
The Resistance side.
C Func: 0x7788f8 ScriptInfo: 0xde58e8
The unknown side.
C Func: 0x77890a ScriptInfo: 0xde5910
The Logic side.
C Func: 0x77891c ScriptInfo: 0xde5938
The Enemy side (used for renegades).
C Func: 0x77892e ScriptInfo: 0xde5960
The Friendly side (used for captives).
C Func: 0x778940 ScriptInfo: 0xde5988
Creates an autosave game (used for Retry).
C Func: 0x76c8d7 ScriptInfo: 0xde59b0
Exits the script.
C Func: 0x702f23 ScriptInfo: 0xde59d8
Enables the dialog buttons to be shown during the OnPlayerKilled script.
C Func: 0x76d149 ScriptInfo: 0xde5a00
Forces the mission to terminate.
C Func: 0x76d163 ScriptInfo: 0xde5a28
Loads binary file with proxy data for further usage by other methods.
C Func: 0x76cfb2 ScriptInfo: 0xde5a50
C Func: 0x7bf527 ScriptInfo: 0xde5a78
Load server host adress from config.
Exit game.
C Func: 0x76e194 ScriptInfo: 0xde5aa0
Get system time in array, yyyy.mm.dd.hh.mm.
C Func: 0x79772f ScriptInfo: 0xde5ac8
Clears the map animation.
C Func: 0x76c63d ScriptInfo: 0xde5b68
Plays the map animation.
C Func: 0x76c684 ScriptInfo: 0xde5b90
Checks whether the map animation has finished.
C Func: 0x76c6cb ScriptInfo: 0xde5bb8
Returns the vehicle to which the camera is attached.
C Func: 0x77e438 ScriptInfo: 0xde5be0
Returns the name of the current mission.
C Func: 0x78c7b6 ScriptInfo: 0xde5c08
Returns the time of the mission start in format [year, month, day, hour, minute, second].
C Func: 0x783330 ScriptInfo: 0xde5c30
Clean up the content of radio protocol history.
C Func: 0x7bc0c1 ScriptInfo: 0xde5c58
Return the current wind vector.
C Func: 0x781a97 ScriptInfo: 0xde5d20
Return a list of vehicles in the current mission.
C Func: 0x7b9093 ScriptInfo: 0xde5dc0
_vehicles = vehicles
Return the actual mission date and time as an array [year, month, day, hour, minute].
C Func: 0x78c618 ScriptInfo: 0xde5de8
Return the name of the currently loaded world.
C Func: 0x76e181 ScriptInfo: 0xde5e10
Return the product name and version, in form ["product name","product short name",version*100,build]
C Func: 0x79eebe ScriptInfo: 0xde5e60
productVersion
Return the content of the (text) cli
C Func: 0x7918bd ScriptInfo: 0xde5e88
Switch player to no unit.
C Func: 0x76e6cb ScriptInfo: 0xde5ed8
Return a list of dead units and destroyed vehicles. Dead unit might be inside vehicle.,
C Func: 0x7b90e6 ScriptInfo: 0xde5f00
Return if mouse vertical axe is inverted.
C Func: 0x76eede ScriptInfo: 0xde5f28
returns [width, height, 2D viewport Width, 2D viewport Height, aspect ration, UI scale]
C Func: 0x7846fb ScriptInfo: 0xde60e0
This is the entity pointed to by a player's cursor.
C Func: 0x77e2be ScriptInfo: 0xde6108
alive cursorTarget
Direction of a player's cursor.
C Func: 0x77e2ff ScriptInfo: 0xde6130
alive cursorTarget
Return the global namespace attached to mission.
C Func: 0x76b811 ScriptInfo: 0xde6158
Return the global namespace attached to user interface.
C Func: 0x76b82a ScriptInfo: 0xde6180
Return the global namespace attached to config parser.
C Func: 0x76b86f ScriptInfo: 0xde61a8
Return the global namespace attached to user profile.
C Func: 0x76b83d ScriptInfo: 0xde61d0
Saves the variables stored in profileNamespace to user profile.
C Func: 0x76b856 ScriptInfo: 0xde61f8
Finish loading screen displaying (started by startLoadingScreen).
C Func: 0x76eef4 ScriptInfo: 0xde6220
Return true if multiPlayer.
C Func: 0x76f643 ScriptInfo: 0xde6248
Return true for dedicated server.
C Func: 0x95f5f1 ScriptInfo: 0xde6270
Return true if the main map is shown (active).
C Func: 0x76f664 ScriptInfo: 0xde6298
Return type of camera.
C Func: 0x7bdc9c ScriptInfo: 0xde62c0
Check if saving the game is enabled.
C Func: 0x76c94f ScriptInfo: 0xde6360
Load a game from the autosave, if failed, restart the mission.
C Func: 0x76c90e ScriptInfo: 0xde6388
Open MP interface.
C Func: 0x76c928 ScriptInfo: 0xde63b0
Resets all camera shakes.
C Func: 0x76e4ec ScriptInfo: 0xde63d8
Saves joysticks key mappings into the joysticks.cfg file. Engine add these joysticks to the Joystick Scheme mapping dialog in options controls section.
C Func: 0x796618 ScriptInfo: 0xde6478
Returns movement borders for HUD [min speed, max speed, min alt, max alt, min dir, max dir, position[x,y,z] or target]
C Func: 0x7948f1 ScriptInfo: 0xde64a0
Creates a structured text containing a line break.
C Func: 0x7789e0 ScriptInfo: 0xde64f0
txt3 = lineBreak
Copyright information needed by libraries used.
C Func: 0x79ef55 ScriptInfo: 0xde6518
libraryCredits
Disclaimer information needed by libraries used (duplicate disclaimers are removed).
C Func: 0x7b6b38 ScriptInfo: 0xde6540
libraryDisclaimers
Returns language.
C Func: 0x78a5e1 ScriptInfo: 0xde6590
Determine local instance UID.
C Func: 0x78c6f2 ScriptInfo: 0xde65b8
Return root of config entries hierarchy.
C Func: 0x7ba1b6 ScriptInfo: 0xde6608
Return root of mission description.ext entries hierarchy.
C Func: 0x7ba24e ScriptInfo: 0xde6630
A non-existing control. This value is not equal to anything, including itself.
C Func: 0x784351 ScriptInfo: 0xde6658
A non-existing display. This value is not equal to anything, including itself.
C Func: 0x778b25 ScriptInfo: 0xde6680
Destroy the top most JVM panel.
C Func: 0x77460b ScriptInfo: 0xde66a8
A non-existing team member. This value is not equal to anything, including itself.
C Func: 0x7a1786 ScriptInfo: 0xde6720
_teamMember == teamMemberNull
Return a list of teams in the current mission.
C Func: 0x7a17ab ScriptInfo: 0xde6748
_teams = teams
Return a list of agents in the current mission.
C Func: 0x7baa1d ScriptInfo: 0xde6770
_agents = agents
Synchronizes SW with arma weather, generates all keyframes.
C Func: 0x774592 ScriptInfo: 0xde6798
Checks whether the value is equal to objNull. Note: a==ObjNull does not work, because objNull is not equal to anything, even to itself.
C Func: 0x77d32b ScriptInfo: 0xddfc90
isNull objNull
Checks whether the given person, vehicle or building is't dead / destroyed.
C Func: 0x77d4d8 ScriptInfo: 0xddfcbc
alive player
MP: checks whether the given unit is local on the computer. This can be used when one or more activation fields or scripts need to be performed only on one computer. In SP all objects are local. Note: all static objects are local on all computers.
C Func: 0x77d600 ScriptInfo: 0xddfce8
local unitName
Checks whether the appropriate version of the application is available. If it's not, a warning message is shown and false is returned. The version format is "Major.Minor", e.g. "1.30".
C Func: 0x798de0 ScriptInfo: 0xddfd14
requiredVersion "1.30"
Returns the object heading in the range from 0 to 360.
C Func: 0x77f508 ScriptInfo: 0xddfef8
getDir player
Returns the object heading in the range of 0 to 360.
C Func: 0x77f562 ScriptInfo: 0xddff50
direction player
Returns the object damage in the range from 0 to 1.
C Func: 0x780287 ScriptInfo: 0xddffd4
getDammage player
Returns the object damage in a range of 0 to 1. Note: this function is identical to
C Func: 0x7802b3 ScriptInfo: 0xde0000
damage player
Returns the object speed (in km/h).
C Func: 0x780246 ScriptInfo: 0xde002c
speed player
Gets the type of the marker. See
C Func: 0x797d58 ScriptInfo: 0xde00b0
getMarkerType "MarkerOne"
Gets the type of the marker. See
C Func: 0x797e08 ScriptInfo: 0xde00dc
markerType "MarkerOne"
Gets the marker text. See
C Func: 0x7980b6 ScriptInfo: 0xde018c
markerText "MarkerOne"
Gets the marker color. See
C Func: 0x7984f1 ScriptInfo: 0xde01b8
getMarkerColor "MarkerOne"
Gets the marker color. See
C Func: 0x7985a1 ScriptInfo: 0xde01e4
markerColor "MarkerOne"
Checks whether the given vehicle is able to move. It does not test for fuel, only the damage status is checked.
C Func: 0x77d54d ScriptInfo: 0xde02c0
canMove vehicle player
Checks whether the given vehicle is able to fire. It does not check for ammo, only for damage.
C Func: 0x77d599 ScriptInfo: 0xde02ec
canFire vehicle player
Checks whether the given soldier is able to stand up.
C Func: 0x7803b5 ScriptInfo: 0xde0318
canStand player
Checks whether the soldier's hands are hit (causing inaccurate aiming).
C Func: 0x7803ea ScriptInfo: 0xde0344
handsHit leader player
Checks whether the unit has some ammo remaining.
C Func: 0x78a2d5 ScriptInfo: 0xde0370
someAmmo vehicle player
Checks how much fuel is left in the gas tank, in the range from 0 to 1.
C Func: 0x77d6a7 ScriptInfo: 0xde039c
fuel vehicle player
Checks the unit rating. This rating is increased for killing enemies, decreased for killing friendlies and can be changed by a mission designer.
C Func: 0x77da1d ScriptInfo: 0xde03c8
rating player
Check a state of the flag
C Func: 0x78048b ScriptInfo: 0xde04d0
flagLowered objFlag
Check if fireplace is inflamed (buring).
C Func: 0x780a7b ScriptInfo: 0xde04fc
inflamed fireplaceOne
Checks whether the lampost is turned on. Possible values are "ON", "OFF" and "AUTO" (auto means the lamp will be shining during the night automatically).
C Func: 0x78b5ca ScriptInfo: 0xde0528
lightIsOn nearestObject [player, "StreetLamp"] != "OFF"
Returns the current state of the given scud launcher. The following states are recognized: 0 - No activity, 1 - Launch preparation, 2 - Launch prepared, 3 - Ignition and 4 - Launched. Note: non-integral values are used to indicate a transition between states.
C Func: 0x780aab ScriptInfo: 0xde0554
scudState scudOne>=4
Returns the side of the unit.
C Func: 0x781c25 ScriptInfo: 0xde0580
side player == west
Returns the name of the variable assigned to the object in the mission editor. When used on a vehicle, the name of the first crew member is returned (in order: commander, driver, gunner).
C Func: 0x78b702 ScriptInfo: 0xde05ac
name vehicle player
Returns the behaviour mode of the given unit ("CARELESS","SAFE","AWARE","COMBAT" or "STEALTH").
C Func: 0x78a4fa ScriptInfo: 0xde05d8
behaviour player
Resource title - argument uses format ["name","type",speed, showInMap] or ["name","type"]. Speed is ignored. Preload data The resource can be defined in the description.ext file.
C Func: 0x79576b ScriptInfo: 0xde0764
titleRsc ["BIS", "PLAIN"]
Object title - argument uses format ["text","type",speed, showInMap] or ["name","type"]. Speed is ignored. Preload data The object can be defined in the description.ext file.
C Func: 0x795890 ScriptInfo: 0xde0790
titleObj ["BISLogo","plain"]
Checks whether the vehicle is locked for the player. If it's locked, the player cannot mount / dismount without an order. 0 - Unlocked, 1 - Default, 2 - Locked, 3 - Locked for player
C Func: 0x781e64 ScriptInfo: 0xde086c
locked jeepOne
Checks whether the unit is stopped using the "stop" command.
C Func: 0x781f4e ScriptInfo: 0xde0898
stopped jeepOne
Checks whether the unit is a captive. If the unit is a vehicle, its commander is checked instead.
C Func: 0x77dc24 ScriptInfo: 0xde08c4
captive player
Checks whether the unit is a captive. If the unit is a vehicle, its commander is checked instead.
C Func: 0x77dc4a ScriptInfo: 0xde08f0
captive player
The first argument of the array is in format string. This string may contain references to the following arguments using format %1, %2, etc. Each %x is replaced by the corresponding argument. %x may appear in the string in any order.
C Func: 0x798f8a ScriptInfo: 0xde0cb8
format ["%1 - %2 - %1", 1, "text"]
Replaces the string with the given name with the corresponding localized text from the stringtable.csv file.
C Func: 0x7991d1 ScriptInfo: 0xde0ce4
localize "STR_DN_FROG"
Checks whether the camera has finished committing.
C Func: 0x7811c3 ScriptInfo: 0xde0e9c
camCommitted _camera
Checks whether the camera has finished preloading.
C Func: 0x7811ff ScriptInfo: 0xde0ec8
camPreloaded _camera
Returns camera's target.
C Func: 0x78b677 ScriptInfo: 0xde0ef4
camTarget _camera
Show player's map. If forced, cannot be closed.
C Func: 0x76c50c ScriptInfo: 0xde0fa4
openMap [true,true]
Show player's map. If forced, cannot be closed.
C Func: 0x76c50c ScriptInfo: 0xde0fd0
openMap true
Returns the preprocessed content of the given file. The preprocessor is C-like, it supports comments using // or /* and */ and macros defined with #define.
C Func: 0x7c28eb ScriptInfo: 0xde1054
preprocessFile "myFunction.sqf"
Checks whether the engine is on.
C Func: 0x78280c ScriptInfo: 0xde1080
on = isEngineOn vehicle player
Creates a new marker on the given position. The marker name has to be unique. The marker is created on all computers in a network session.
C Func: 0x7b84aa ScriptInfo: 0xde10d8
marker = createMarker [Marker1, position player]
Creates a new marker on the given position. The marker name has to be unique. The marker is only created on the computer where the command is called.
C Func: 0x7b8323 ScriptInfo: 0xde1104
marker = createMarkerLocal [Marker1, position player]
Returns the name of the type of the given object.
C Func: 0x791e6c ScriptInfo: 0xde1188
typeOf player
Returns the name of a button (on the keyboard, mouse or joystick) with the given code.
C Func: 0x79aa9a ScriptInfo: 0xde11b4
name = keyName 28
Returns a structured text, containing an image or name (if no image is found) of the button (on the keyboard, mouse or joystick) with the given code.
C Func: 0x778952 ScriptInfo: 0xde11e0
name = keyImage 28
Returns a list of button names assigned to the given user action. A maximum of maxKeys keys is listed. You can find the action names in config class ControllerSchemes.
C Func: 0x79acce ScriptInfo: 0xde1238
list = actionKeysNames "ReloadMagazine"
Returns localized name of action.
C Func: 0x79ac2b ScriptInfo: 0xde1290
name = actionName "ReloadMagazine"
Returns a list of button images or names assigned to the given user action. A maximum of maxKeys keys is listed. You can find the action names in config class ControllerSchemes.
C Func: 0x79b60d ScriptInfo: 0xde12bc
text = actionKeysImages "ReloadMagazine"
Creates a structured text containing the given image.
C Func: 0x79e468 ScriptInfo: 0xde12e8
txt1 = image "data\isniper.paa"
Creates a structured text containing the given plain text.
C Func: 0x79e4df ScriptInfo: 0xde1314
txt2 = text "Hello world."
Creates a structured text by joining the given structured or plain texts.
C Func: 0x7ae14b ScriptInfo: 0xde1340
txt = composeText ["First line", image "data\isniper.paa", lineBreak, "Second line"]
Creates a structured text by parsing the given XML description.
C Func: 0x79e53d ScriptInfo: 0xde136c
txt = parseText "First line<img image=data\isniper.paa/><br/>Second line"
Creates a structured text by replacing %1, %2, etc. in format by plain or structured texts given as arguments.
C Func: 0x7b6646 ScriptInfo: 0xde1398
txt = formatText ["Image: %1", image "data\isniper.paa"]
Checks whether the given key is active in the current user profile.
C Func: 0x7bff05 ScriptInfo: 0xde141c
ok = isKeyActive "M04"
Process the specified server command. The Server command string is identical to that used in chat line in MP.
C Func: 0x798f0d ScriptInfo: 0xde1474
serverCommand "#kick friendlykiller"
Checks whether current user is able to process the specified server command. See also
C Func: 0x798ea8 ScriptInfo: 0xde14a0
serverCommandAvailable "#kick"
Get the shadows rendering distance.
C Func: 0x76beca ScriptInfo: 0xde14cc
_dist = setShadowDistance
Make sure sound can start playing without any delay once we need it.
C Func: 0x797844 ScriptInfo: 0xde157c
Preload all textures and models around given position
C Func: 0x7822fa ScriptInfo: 0xde15a8
Check if script is already finished
C Func: 0x77a1ef ScriptInfo: 0xde15d4
Creates a mine of the given type (type is the name of the subclass of CfgVehicles). If the markers array contains several marker names, the position of a random one is used. Otherwise, the given position is used. The mine is placed inside a circle with this position as its center and placement as its radius.
C Func: 0x79c3cf ScriptInfo: 0xde1658
mine = createMine ["MineMine", position player, [], 0]
Creates a sound source of the given type (type is the name of the subclass of CfgVehicles). If the markers array contains several marker names, the position of a random one is used. Otherwise, the given position is used. The sound source is placed inside a circle with this position as its center and placement as its radius.
C Func: 0x79c63d ScriptInfo: 0xde1684
soundSource = createSoundSource ["LittleDog", position player, [], 0]
Creates a vehicle of the given type (type is the name of the subclass in CfgVehicles). If the markers array contains several marker names, the position of a random one is used. Otherwise, the given position is used. The vehicle is placed inside a circle with this position as center and placement as its radius. Special properties can be: "NONE", "FLY" and "FORM".
C Func: 0x79c9de ScriptInfo: 0xde16b0
veh = createVehicle ["Cobra", position player, [], 0, "FLY"]
This is the person controlled by a given player.
C Func: 0x77e1e4 ScriptInfo: 0xde1708
Return camera interest for given entity.
C Func: 0x7823c0 ScriptInfo: 0xde1734
Returns whether water is on given position.
C Func: 0x76d01f ScriptInfo: 0xde1760
Returns what surface is on given position.
C Func: 0x79798a ScriptInfo: 0xde178c
Returns the preprocessed content of the given file. The preprocessor is C-like, it supports comments using // or /* and */ and macros defined with #define.
C Func: 0x7c29b9 ScriptInfo: 0xde1810
preprocessFileLineNumbers "myFunction.sqf"
Check if latest low level moveTo command is finished.
C Func: 0x783882 ScriptInfo: 0xde18ec
Check if latest low level moveTo command failed.
C Func: 0x95f5f1 ScriptInfo: 0xde1918
Creates an (independent) agent (person) of the given type (type is a name of a subclass of CfgVehicles). If the markers array contains several marker names, the position of a random one is used. Otherwise, the given position is used. The unit is placed inside a circle with this position as its center and placement as its radius. Special properties can be: "NONE" and "FORM".
C Func: 0x79cbfc ScriptInfo: 0xde1ad0
agent = createAgent ["SoldierWB", position player, [], 0, "FORM"]
Check if file is signed by any key present in game keys folders. Note: On client, it does not check against the keys accepted by server.
C Func: 0x7b926b ScriptInfo: 0xde1b54
Returns the name of the variable which contains a reference to this object.
C Func: 0x79d94d ScriptInfo: 0xde1b80
Check if given person is the player.
C Func: 0x7836c5 ScriptInfo: 0xde1bd8
Return the precision of the given entity.
C Func: 0x783706 ScriptInfo: 0xde1c04
Return the rank of the given unit.
C Func: 0x79de77 ScriptInfo: 0xde1c30
Return the rank of the given unit for comparison.
C Func: 0x79deca ScriptInfo: 0xde1c5c
Return the name of the current primary animation.
C Func: 0x7c029a ScriptInfo: 0xde1de8
Return the unit position rules.
C Func: 0x78a594 ScriptInfo: 0xde1e14
Check if given AI feature is currently enabled.
C Func: 0x7917be ScriptInfo: 0xde1e40
Returns the effective commander (who really commands) of the vehicle.
C Func: 0x780bd7 ScriptInfo: 0xde1e6c
Check whether magazine is reloaded whenever emptied.
C Func: 0x7840da ScriptInfo: 0xde1e98
Return how much vehicle wants to reload its weapons.
C Func: 0x78414a ScriptInfo: 0xde1ec4
Return whether the person is hidden (reached the hiding position).
C Func: 0x78400c ScriptInfo: 0xde1f1c
Return the target assigned to the vehicle.
C Func: 0x78404b ScriptInfo: 0xde1f48
Check if given difficulty setting is currently enabled. For possible values of flag, see config class Flags in CfgDificulties.
C Func: 0x79ee41 ScriptInfo: 0xde1f74
Return the size of the entity of given type.
C Func: 0x791dc1 ScriptInfo: 0xde1fcc
Execute the scripted FSM. The FSM file is first searched in the mission folder, then in the campaign scripts folder and finally in the global scripts folder. Return the FSM handler or 0 when failed.
C Func: 0x7c2a87 ScriptInfo: 0xde2024
execFSM "test.fsm"
Check whether the given FSM completes. The FSM handle is the number returned by the execFSM command.
C Func: 0x76ee9d ScriptInfo: 0xde2050
Return the name of the currently selected weapon (on the primary turret for vehicles).
C Func: 0x790bb3 ScriptInfo: 0xde20a8
Return the name of the type of the currently using magazine (on the primary turret for vehicles).
C Func: 0x790c43 ScriptInfo: 0xde20d4
Check if the entity has enabled simulation.
C Func: 0x782892 ScriptInfo: 0xde2158
Return the state of input devices mapped to given input action.
C Func: 0x79b846 ScriptInfo: 0xde2184
Gets the marker shape. See
C Func: 0x79bab1 ScriptInfo: 0xde2234
markerShape "MarkerOne"
Gets the marker brush. See
C Func: 0x79bb5e ScriptInfo: 0xde2260
markerBrush "MarkerOne"
Returns the life state of the given unit.
C Func: 0x794b65 ScriptInfo: 0xde22b8
Gets the marker alpha. See
C Func: 0x7987ac ScriptInfo: 0xde22e4
markerAlpha "MarkerOne"
Gets unit faction. If faction is not defined, returns empty string.
C Func: 0x798a45 ScriptInfo: 0xde2310
On server machine, return the ID of the client where the object is local. Otherwise return 0.
C Func: 0x7825d5 ScriptInfo: 0xde233c
Check whether driver position of the vehicle turret is locked.
C Func: 0x7820ae ScriptInfo: 0xde2470
Check whether given position is on road.
C Func: 0x7820dd ScriptInfo: 0xde249c
Unlock the given achievement.
C Func: 0x7b6c15 ScriptInfo: 0xde24f4
Convert date to float number.
C Func: 0x76f4b4 ScriptInfo: 0xde2520
time = DateToNumber [year,month,day,hour,minute]
Check if cargo of this vehicle want to get out when in combat.
C Func: 0x77e10b ScriptInfo: 0xde26d8
Enable / disable showing of subtitles. Return the previous state.
C Func: 0x76b6ab ScriptInfo: 0xde2704
Return the result of helicopter landing position searching (performed after land command). The value can be "Found" (position found), "NotFound" (position not found), "NotReady" (position searching is still in progress) or empty string when wrong argument given.
C Func: 0x796c70 ScriptInfo: 0xde2730
Get unique player id.
C Func: 0x798c8a ScriptInfo: 0xde27b4
Get unique player id from the clientId.
C Func: 0x798d3e ScriptInfo: 0xde27e0
Send message to given adress using UDP protocol.
C Func: 0x95f5f1 ScriptInfo: 0xde280c
Returns the position as map coords.
C Func: 0x7970f8 ScriptInfo: 0xde2838
mapGridPosition player
Returns unit's backpack.
C Func: 0x7829cc ScriptInfo: 0xde2890
Returns true if player is forced to walk
C Func: 0x782a1a ScriptInfo: 0xde28bc
Returns true if vehicle has enabled auto hover
C Func: 0x782a8a ScriptInfo: 0xde28e8
Returns zeroing of unit's weapon.
C Func: 0x782abf ScriptInfo: 0xde2914
Returns vision mode of unit's weapon. 0-dayTime, 1-night vision, 2-FLIR
C Func: 0x782c56 ScriptInfo: 0xde2940
Returns current muzzle of unit's weapon.
C Func: 0x79d984 ScriptInfo: 0xde296c
Returns current weapon mode of unit's weapon.
C Func: 0x79da32 ScriptInfo: 0xde2998
Returns true if manul fire is on.
C Func: 0x782cb2 ScriptInfo: 0xde29c4
Returns true walk is toggled.
C Func: 0x782ce1 ScriptInfo: 0xde29f0
Returns terrain height above sea level.
C Func: 0x76e62f ScriptInfo: 0xde2af8
z = getTerrainHeightASL [x,y]
Returns unit's custom recoil coefficient.
C Func: 0x780df8 ScriptInfo: 0xde2b50
coef = unitRecoilCoefficient player
Returns true, if object is touching ground.
C Func: 0x782e35 ScriptInfo: 0xde2ba8
isTouchingGround vehicle
Checks a current morale level of the unit (-1..+1).
C Func: 0x77d50c ScriptInfo: 0xde2cb0
morale leader player
Checks for intersection of terrain between two positions. Returns true if intersects with terrain
C Func: 0x7b162b ScriptInfo: 0xde2cdc
_doesIntersect = terrainIntersect [ position player, position enemy1 ];
Checks for intersection of terrain between two positions. Returns true if intersects with terrain
C Func: 0x7b177e ScriptInfo: 0xde2d08
_doesIntersect = terrainIntersectASL [ getposAsl player, getposAsl enemy1 ];
Returns true, if line intersect with any object.
C Func: 0x7b7531 ScriptInfo: 0xde2d34
lineIntersects [begPos, endPos, withObj, ignoreObj]
Returns true if copilots actions are enabled.
C Func: 0x780f83 ScriptInfo: 0xde2db8
enabled = isCopilotEnabled vehicle player
The format of handler is [type,command]. Check scripting topic Event handlers for more information. The index of the currently added handler is returned.
C Func: 0x7b5c7c ScriptInfo: -0x1
addMissionEventHandler ["ended",{_this exec "missionEnded.sqs"}]
Store the state of given player to the central database. Works on game server only.
C Func: 0x7ad5f5 ScriptInfo: 0xde2f44
_ok = dbServerSaveCharacter person
Creates new character record in database.
C Func: 0x79d4a6 ScriptInfo: 0xde2f9c
_bool = DBCreateCharacter uid
Kill character (zero it's aliveness in database).
C Func: 0x79d556 ScriptInfo: 0xde2fc8
_bool = dbKillCharacter uid
Load character status and inventory from database.
C Func: 0x7b9de3 ScriptInfo: 0xde2ff4
_bool = dbLoadCharacter uid
Save character status and inventory to database.
C Func: 0x79cf6e ScriptInfo: 0xde3020
_bool = dbSaveCharacter uid
Save single column variable into database.
C Func: 0x79d137 ScriptInfo: 0xde304c
_bool = dbSaveInt uid, column, value
Load single column variable from database.
C Func: 0x7b98e9 ScriptInfo: 0xde3078
_scalar = dbLoadInt uid, column
Increase or decrease queue time for player.
C Func: 0x79d606 ScriptInfo: 0xde30d0
_bool = dbSetQueue uid, +-time
Temporarily set the new time limit for scripts simulation. Parameter is in seconds.
C Func: 0x76e1a9 ScriptInfo: 0xde3128
old = setTimeForScripts 0.02
Returns the user friendly name of the object's type.
C Func: 0x79d8d5 ScriptInfo: 0xde3154
name = displayName player
Returns true when inventory item is switched on.
C Func: 0x780fb2 ScriptInfo: 0xde3180
isOn myRadio
Returns true when power is available for the item
C Func: 0x780fe7 ScriptInfo: 0xde31ac
hasPower myRadio
Returns the item person hold in hands.
C Func: 0x78104e ScriptInfo: 0xde31d8
_item = itemInHands _person
Returns the ammo count of the given magazine.
C Func: 0x77de43 ScriptInfo: 0xde3204
_ammoCount = magazineAmmo _magazine
On server machine, find the object pointed to by a player's cursor.
C Func: 0x77e32c ScriptInfo: 0xde3230
alive playerTarget _id
Returns the maximal ammo count fits to the given magazine.
C Func: 0x77de8e ScriptInfo: 0xde325c
_maxAmmoCount = maxMagazineAmmo _magazine
Returns the owner of the item in the hierarchy of objects.
C Func: 0x77e029 ScriptInfo: 0xde3288
_weapon = itemParent _attachment
Drop an item that is in a players inventory or that is an attachment.
C Func: 0x78101c ScriptInfo: 0xde32b4
bool = moveToGround _attachment
Returns the maximal quantity stacked for that item.
C Func: 0x77dfe5 ScriptInfo: 0xde32e0
_maxQuantity = maxQuantity _item
Returns the quantity of stacked items for a pile.
C Func: 0x77df71 ScriptInfo: 0xde330c
_q = quantity _item
Returns name of config entry.
C Func: 0x79f049 ScriptInfo: 0xde3338
_name = configName (configFile >> "CfgVehicles")
Returns base entry of config entry.
C Func: 0x7ba4bb ScriptInfo: 0xde3364
_base = inheritsFrom (configFile >> "CfgVehicles" >> "Car")
Returns count of subentries.
C Func: 0x76eaa4 ScriptInfo: 0xde3390
_count = count (configFile >> "CfgVehicles")
Check if config entry represents config class.
C Func: 0x76eaf5 ScriptInfo: 0xde33bc
_ok = isClass (configFile >> "CfgVehicles")
Check if config entry represents array.
C Func: 0x76eb28 ScriptInfo: 0xde33e8
_ok = isArray (configFile >> "CfgVehicles")
Check if config entry represents number.
C Func: 0x76eb5b ScriptInfo: 0xde3414
_ok = isNumber (configFile >> "CfgVehicles")
Check if config entry represents text.
C Func: 0x76eb9e ScriptInfo: 0xde3440
_ok = isText (configFile >> "CfgVehicles")
Extract number from config entry.
C Func: 0x778a33 ScriptInfo: 0xde3498
_array = getNumber (configFile >> "CfgVehicles" >> "Thing" >> "maxSpeed")
Extract text from config entry.
C Func: 0x7c05fa ScriptInfo: 0xde34c4
_array = getText (configFile >> "CfgVehicles" >> "Thing" >> "icon")
Returns whether given control is enabled.
C Func: 0x778c04 ScriptInfo: 0xde34f0
_ok = ctrlEnabled _control
Returns whether given control is shown.
C Func: 0x778c2f ScriptInfo: 0xde351c
_ok = ctrlShown _control
Returns the text shown in given control.
C Func: 0x79f71e ScriptInfo: 0xde3548
_text = ctrlText _control
Returns the text height.
C Func: 0x779d0c ScriptInfo: 0xde3574
h = ctrlTextHeight _control
Returns the current scale of control.
C Func: 0x778dfc ScriptInfo: 0xde35cc
_scale = ctrlScale _control
Returns number of seconds to auto-scroll one line. -1 if auto-scroll is disabled. -2 if scrollbar not present.
C Func: 0x778e3e ScriptInfo: 0xde35f8
_speed = ctrlAutoScrollSpeed _control
Returns number of seconds until auto-scroll starts. -2 if scrollbar not present.
C Func: 0x778ec2 ScriptInfo: 0xde3624
_delay = ctrlAutoScrollDelay _control
True if auto-scroll should move back to start after it reach end.
C Func: 0x778f46 ScriptInfo: 0xde3650
_rewind = ctrlAutoScrollRewind _control
Returns the current fade factor of control.
C Func: 0x778fc0 ScriptInfo: 0xde367c
_scale = ctrlFade _control
Check if the control animation is finished.
C Func: 0x779010 ScriptInfo: 0xde36a8
_done = ctrlCommitted _control
Returns value representing type of control.
C Func: 0x77947f ScriptInfo: 0xde36d4
_type = ctrlType _control
Returns container of given control.
C Func: 0x7794bc ScriptInfo: 0xde3700
_display = ctrlParent _control
Returns true when HTML content was successfully loaded.
C Func: 0x77944e ScriptInfo: 0xde372c
_htmlLoaded ctrlHTMLLoaded _control
Find display by its IDD.
C Func: 0x779ef4 ScriptInfo: 0xde3758
_display = findDisplay 1
Compile and execute function (sqf). The function is first searched in the mission folder, then in the campaign scripts folder and finally in the global scripts folder.
C Func: 0x7a0faf ScriptInfo: 0xde37b0
execVM "test.sqf"
Sorts the given listbox or combobox by item text.
C Func: 0x7796b1 ScriptInfo: 0xde37dc
lbSort _control
Sorts the given listbox or combobox by item value.
C Func: 0x7796dc ScriptInfo: 0xde3808
lbSortByValue _control
Returns the number of items in the given listbox or combobox.
C Func: 0x779551 ScriptInfo: 0xde3834
_n = lbSize _control
Returns the index of the selected item of the given listbox or combobox.
C Func: 0x779591 ScriptInfo: 0xde3860
_index = lbCurSel _control
Returns the index of the selected item of the given listbox or combobox.
C Func: 0x7797fd ScriptInfo: 0xde393c
_index = lbCurSel _control
Returns the action assigned to the given button or active text. The action is any expression in this scripting language.
C Func: 0x7a08a9 ScriptInfo: 0xde3994
_action = buttonAction _button
Returns the current thumb position of the given slider.
C Func: 0x779ca2 ScriptInfo: 0xde39c0
_pos = sliderPosition _control
Checks whether the map animation has finished.
C Func: 0x77a032 ScriptInfo: 0xde3a9c
Checks whether the value is equal to controlNull. Note: a==controlNull does not work, because controlNull is not equal to anything, even to itself.
C Func: 0x778b4a ScriptInfo: 0xde3ac8
isNull controlNull
Checks whether the value is equal to displayNull. Note: a==displayNull does not work, because displayNull is not equal to anything, even to itself.
C Func: 0x76ed6f ScriptInfo: 0xde3af4
isNull displayNull
Return the current scale of the map control.
C Func: 0x77a077 ScriptInfo: 0xde3b78
Returns the current position in the progress bar.
C Func: 0x77a0b8 ScriptInfo: 0xde3ba4
_pos = progressPosition _control
Returns the current time of the most important RTM animation currently being played on the soldier.
C Func: 0x780e2e ScriptInfo: 0xde3bd0
moveTime player
Loads the file .class from the scripts locations and return a handler used to call its methods.
C Func: 0x7a27e5 ScriptInfo: 0xde3c28
Create Custom Radio Channel with given color, callSign format and units. Returns index to identify/manipulate the created Custom Channel.
C Func: 0x7b18d3 ScriptInfo: 0xde3cac
Checks whether given string name is localized
C Func: 0x79e825 ScriptInfo: 0xde3cd8
isLocalized "STR_DN_FROG"
Returns object for object based (3D) controls.
C Func: 0x7843e8 ScriptInfo: 0xde3d30
_obj = ctrlObject _control
Creates a user dialog from the resource template name. If a user dialog already exists, it creates a child dialog of the topmost user dialog. The class name is searched in the description.ext file of the mission, the description.ext file of the campaign and the globlal resource.cpp file. The function returns its success.
C Func: 0x7992c3 ScriptInfo: 0xde3d5c
_ok = createDialog "RscDisplayGame"
Returns whether the control with id idc of the topmost user dialog is visible.
C Func: 0x76d242 ScriptInfo: 0xde3db4
_visible = ctrlVisible 100
Returns whether the control with id idc of the topmost user dialog is enabled.
C Func: 0x76d266 ScriptInfo: 0xde3de0
_enabled = ctrlEnabled 100
Returns the text shown in the control with id idc of the topmost user dialog. This can be used for static texts, buttons, edit lines and active texts.
C Func: 0x7993e8 ScriptInfo: 0xde3e64
_message = ctrlText 100
Returns the action assigned to the control with id idc of the topmost user dialog. The action is any expression in this scripting language. The function can be used for buttons and active texts.
C Func: 0x7996b0 ScriptInfo: 0xde3ebc
_action = buttonAction 100
Returns the number of items in the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x76d3a8 ScriptInfo: 0xde3f14
_n = lbSize 101
Returns the index of the selected item of the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x76d3e0 ScriptInfo: 0xde3f40
_index = lbCurSel 101
Adds an item with the given text to the listbox or combobox with id idc of the topmost user dialog. It returns the index of the newly added item.
C Func: 0x7999dd ScriptInfo: 0xde3fc4
_index = lbAdd [101, "First item"]
Returns the shown text in the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x78c0b5 ScriptInfo: 0xde401c
_text = lbText [101, 0]
Returns the additional text (invisible) in an item with the given index of the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x78c15c ScriptInfo: 0xde4048
_data = lbData [101, 0]
Returns the additional integer value in the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x76d579 ScriptInfo: 0xde40a0
_value = lbValue [101, 0]
Returns the picture name of the item with the given index of the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x7beed5 ScriptInfo: 0xde40f8
_picture = lbPicture [101, 0]
Returns the index of the selected row id 2D listbox.
C Func: 0x76d3e0 ScriptInfo: 0xde4200
_row = lnbCurSel 105
Adds an row of strings.
C Func: 0x7b93f4 ScriptInfo: 0xde4284
_index = lnbAddRow [105, ["First column", "second column", ...]]. Returns row index.
Adds list of rows of strings.
C Func: 0x7b9534 ScriptInfo: 0xde42b0
_index = lnbAddArray [idc,[[[text,text,text], [value], [data]], [[text,text,text], [value, value], [data]]]] . Returns row index.
Adds an column at given position. It returns the index of the newly added column.
C Func: 0x76d850 ScriptInfo: 0xde4308
_index = lnbAddColumn [105, 0.8]
Returns the shown text in the item with the given position of the 2D listbox.
C Func: 0x78c203 ScriptInfo: 0xde438c
_text = lnbText [101, [0,1]]
Returns the additional text (invisible) in an item with the given position of the 2D listbox.
C Func: 0x78c35d ScriptInfo: 0xde43e4
_data = lnbData [101, [0,1]]
Returns the additional integer value in the item with the given position of the 2D listbox.
C Func: 0x76d9d0 ScriptInfo: 0xde443c
_value = lnbValue [101, [0,1]]
Returns the picture name of the item with the given position of the 2D listbox.
C Func: 0x7bf155 ScriptInfo: 0xde4494
_picture = lnbPicture [101, [0,1]]
Returns the current thumb position of the slider with id idc of the topmost user dialog.
C Func: 0x76dcbe ScriptInfo: 0xde4544
_pos = sliderPosition 101
Returns the current level of ability of the person.
C Func: 0x77da79 ScriptInfo: 0xde47d8
skill player
Returns the name of the vehicle's primary weapon (an empty string if there is none).
C Func: 0x790cd9 ScriptInfo: 0xde4804
primaryWeapon player
Returns the name of a vehicle's secondary weapon (an empty string if there is none).
C Func: 0x790d7b ScriptInfo: 0xde4830
secondaryWeapon player
Unique ID of an object.
C Func: 0x793756 ScriptInfo: 0xde48b4
netId player
Get object with given unique ID.
C Func: 0x793786 ScriptInfo: 0xde48e0
objectFromNetId netId player
Control animation of the local player, similar to what playAction does on the server.
C Func: 0x7aba9d ScriptInfo: 0xde490c
playerAction 'Stand'
Create a team and name it.
C Func: 0x7ba805 ScriptInfo: 0xde4938
_team = createTeam ["USMC_Team", "Fire Team Red"]
Return an agent for given person.
C Func: 0x7a15e1 ScriptInfo: 0xde4990
_agent = teamMember player
Return a person for given agent.
C Func: 0x7846aa ScriptInfo: 0xde49bc
_person = agent _agent
Return a type of given team.
C Func: 0x7a170e ScriptInfo: 0xde4a14
_type = teamType _team
Return a name of given team.
C Func: 0x7a174a ScriptInfo: 0xde4a40
_name = teamName _team
Return a formation of given team.
C Func: 0x7a18d0 ScriptInfo: 0xde4a6c
_formation = formation _team
Return if given team was inserted directly from mission editor.
C Func: 0x76f051 ScriptInfo: 0xde4a98
_fromEditor = fromEditor _member
Return the leader of given team.
C Func: 0x7a1a6c ScriptInfo: 0xde4ac4
Check if team member is an agent.
C Func: 0x76efab ScriptInfo: 0xde4af0
Returns if given position is in clouds.
C Func: 0x7b2196 ScriptInfo: 0xde4bf8
Returns density of clouds at given position.
C Func: 0x7b2303 ScriptInfo: 0xde4c24
Returns clouds occlusion between two given points (0 = no clouds, 1 = full clouds).
C Func: 0x7b2463 ScriptInfo: 0xde4c50
Returns the given indexed position in a building. The returned value is in format
C Func: 0x780672 ScriptInfo: 0xde6964
building buildingPos 1
Computes the distance between two objects or positions.
C Func: 0x7835c2 ScriptInfo: 0xde6a34
player distance leader player
Checks whether the soldier is mounted in the vehicle.
C Func: 0x77ddd5 ScriptInfo: 0xde6e78
player in jeepOne
Counts how many shots the unit has left for the given magazine type.
C Func: 0x7bb4bc ScriptInfo: 0xde6eac
player ammo "M16"
Checks whether the unit has the given weapon.
C Func: 0x7bb5f5 ScriptInfo: 0xde6f14
player hasWeapon "M16"
Checks whether two objects are the same. If either of them is objNull, false is returned.
C Func: 0x77e13d ScriptInfo: 0xde74f8
player == leader player
Checks whether two objects are different. If either of them is objNull, true is returned.
C Func: 0x77e178 ScriptInfo: 0xde752c
vehicle player != player
Checks whether two side values are equal.
C Func: 0x76c8a8 ScriptInfo: 0xde7560
side player == west
Checks whether two side values are different.
C Func: 0x76c879 ScriptInfo: 0xde7594
side player != west
Checks whether two structured text values are equal.
C Func: 0x76ebd1 ScriptInfo: 0xde75c8
Checks whether two structured text values are different.
C Func: 0x76e743 ScriptInfo: 0xde75fc
Counts how many vehicles in the array are of the given type. For types see
C Func: 0x7919e1 ScriptInfo: 0xde7630
"Tank" countType list triggerOne
Checks how many vehicles belong to the given side.
C Func: 0x77e4fc ScriptInfo: 0xde7664
west countSide list triggerOne
Executes a script. Argument is passed to the script as local variable _this.
C Func: 0x77a143 ScriptInfo: 0xde79d8
Preload all data for given object.
C Func: 0x7acabe ScriptInfo: 0xde7c48
Creates an action. The action ID should be returned, but due to a bug, it's not. To determine the action ID, use following algorithm: the first action added to the given vehicle has ID zero, the next vehicle has ID one, etc.
C Func: 0x792277 ScriptInfo: -0x1
player addAction ["Hello", "hello.sqs"]
The format of handler is [type,command]. Check scripting topic Event handlers for more information. The index of the currently added handler is returned.
C Func: 0x792759 ScriptInfo: -0x1
player addEventHandler ["killed",{_this exec "playerKilled.sqs"}]
Returns a structured text created by the given structured or plain text by setting attributes to the given values.
C Func: 0x79e691 ScriptInfo: 0xde870c
txt = img setAttributes ["image", "data\iSoldier.paa"]
Find named selection in object which is in specified lod intersected by given section of a line.
C Func: 0x7bf676 ScriptInfo: 0xde8948
[tank, "VIEW" intersect [[1500, 1500, 2], [1550, 1500, 2]]
Returns direction where is given weapon aiming.
C Func: 0x7bbefd ScriptInfo: 0xde8c20
_dir = _vehicle weaponDirection "M16"
Find objects in the circle with given radius. If typeName is given, only objects of given type (or its subtype) are listed.
C Func: 0x7ae9d2 ScriptInfo: 0xde8c88
_list = position player nearObjects 50
Search for selection in the object model (first in the memory level, then in other levels). Returns position in model space.
C Func: 0x79ec9c ScriptInfo: 0xde8cbc
Converts position from object model space to world space.
C Func: 0x783a82 ScriptInfo: 0xde8cf0
Converts position from world space to object model space.
C Func: 0x783bd4 ScriptInfo: 0xde8d24
Returns the number of available cargo, driver, gunner or commander positions in the vehicle.
C Func: 0x7906c8 ScriptInfo: 0xde8d8c
_freePositions = (vehicle player) freePositions "cargo"
Change quantity by given value in the variable space of given object. Returns the result.
C Func: 0x790fc1 ScriptInfo: 0xde8f2c
_result = _item addQuantity 4
Return the value of variable in the variable space of given object.
C Func: 0x7aeda8 ScriptInfo: 0xde8f60
Return the value of variable in the variable space of given object. If not found, default value is returned.
C Func: 0x7aeda8 ScriptInfo: 0xde8f94
Returns the hiding position in format
C Func: 0x783e27 ScriptInfo: 0xde9064
Check target database of the unit for all targets in max. distance radius around it. The output is list of items: [position, type, side, subj. cost, object]
C Func: 0x77e7b0 ScriptInfo: 0xde926c
Checks whether the type typeName1 is inherited from the type typeName1.
C Func: 0x791bb2 ScriptInfo: 0xde92a0
"Tank" isKindOf "Land"
Execute the scripted FSM. Argument is passed to the FSM as local variable _this. The FSM file is first searched in the mission folder, then in the campaign scripts folder and finally in the global scripts folder. Return the FSM handler or 0 when failed.
C Func: 0x7c2ba2 ScriptInfo: 0xde92d4
player execFSM "test.fsm"
Find the road segments within the circle of given radius.
C Func: 0x79e956 ScriptInfo: 0xde9308
_list = player nearRoads 50
Returns the given indexed exit in a building. The returned value is in format
C Func: 0x7807a8 ScriptInfo: 0xde933c
buildingExit [building, 1]
Return the value of variable in the variable space of given FSM. The FSM handle is the number returned by the execFSM command.
C Func: 0x7a113e ScriptInfo: 0xde9474
Check whether all data are loaded to nearObjects will return in reasonable time.
C Func: 0x7839ea ScriptInfo: 0xde95e0
_ok = position player nearObjectsReady 50
Check whether gunner position of the vehicle turret is locked.
C Func: 0x78217b ScriptInfo: 0xde9780
Check whether cargo position of the vehicle is locked.
C Func: 0x7821ba ScriptInfo: 0xde97b4
Search for the position nearest (up to maxDistance) to the center, with the free area (vehicle of the given type can be placed anywhere) of the given radius. When not found, empty array is returned.
C Func: 0x791ed5 ScriptInfo: 0xde97e8
Check if findEmptyPosition can be called without waiting for files.
C Func: 0x7aa598 ScriptInfo: 0xde981c
Chek if given area is flat and emty.
C Func: 0x78a996 ScriptInfo: 0xde9850
newposition = position isFlatEmpty(10, 0, 0.5, 5, 0, false, player)
Find entities in the circle with given radius. If typeName(s) is (are) given, only entities of given type (or its subtype) are listed.
C Func: 0x7b6852 ScriptInfo: 0xde98b8
_list = position player nearObjects 50
Return units below passed height.
C Func: 0x7a1ea9 ScriptInfo: 0xde9920
units group player unitsBelowHeight 50
Gunner in unit's vehicle fire at given target. If weapon is not given, current is used.
C Func: 0x7bbae5 ScriptInfo: 0xde9988
bool = vehicle FireAtTarget [target]; bool = player FireAtTarget [target,1]
Returns how good is weapon aimed to target.
C Func: 0x7bbcd0 ScriptInfo: 0xde99bc
bool = vehicle AimedAtTarget [target]; bool = vehicle AimedAtTarget [target,1]
Returns all weapons of given turret. Use turret path [-1] for drivers turret.
C Func: 0x789d9d ScriptInfo: 0xde9a24
vehicle player weaponsTurret [0,0]
Returns all magazines of given turret. Use turret path [-1] for drivers turret.
C Func: 0x78a082 ScriptInfo: 0xde9a58
vehicle player magazinesTurret [0,0]
Returns damage of given hitpoint.
C Func: 0x793089 ScriptInfo: 0xde9a8c
vehicle player getHitPointDamage "hitEngine"
Checks whether the object is of the given type.
C Func: 0x791a93 ScriptInfo: 0xde9b28
vehicle player isKindOf "Tank"
Set states and/or makes an action of/on weapon. ReloadTime goes from 0 to 1, where 1 is 100 percent of max reloading time.
C Func: 0x793cf2 ScriptInfo: 0xde9cfc
_done = _vehicle setWeaponReloadingTime [gunner, , 0.5]
On server machine, change the ownership of object to a given client. Returns true if locality was changed.
C Func: 0x78262e ScriptInfo: 0xde9e68
Get information about a proxy contained in the memory LOD selection
C Func: 0x792a41 ScriptInfo: 0xde9fa0
house proxySelection "cupboard"
Move an item to the person's inventory.
C Func: 0x782d10 ScriptInfo: 0xdea03c
player moveToInventory item
Move an item to the cargo space of the entity.
C Func: 0x782dac ScriptInfo: 0xdea070
vehicle moveToCargo item
Returns subentry of config entry with given name.
C Func: 0x7ba2e6 ScriptInfo: 0xdea314
configFile >> "CfgVehicles"
Returns subentry of config entry with given name (alias for >>).
C Func: 0x7ba49f ScriptInfo: 0xdea348
configFile / "CfgVehicles"
Returns subentry with given index.
C Func: 0x7ba5ba ScriptInfo: 0xdea37c
(configFile >> "CfgVehicles") select 0
Checks whether two config entries are equal.
C Func: 0x76ebd1 ScriptInfo: 0xdea3b0
Checks whether two config entries are different.
C Func: 0x76e743 ScriptInfo: 0xdea3e4
Register knowledge base database to given person.
C Func: 0x76ec7d ScriptInfo: 0xdea418
_unit kbAddDatabase "chat.txt"
Register target list knowledge base database to given person.
C Func: 0x76ec7d ScriptInfo: 0xdea44c
_unit kbAddDatabase "chat.txt"
Check if given item was said by person to someone.
C Func: 0x79f0cc ScriptInfo: 0xdea550
Check if conversation topic was registered to given person.
C Func: 0x79f1e4 ScriptInfo: 0xdea584
Convert screen coordinates in map to world coordinates.
C Func: 0x7afd09 ScriptInfo: 0xdea6bc
Convert world coordinates to screen coordinates in map.
C Func: 0x78cc24 ScriptInfo: 0xdea6f0
Return child control with specified idc.
C Func: 0x784376 ScriptInfo: 0xdeadd8
_control = _display displayCtrl 101
Checks whether two displays are equal.
C Func: 0x76edb0 ScriptInfo: 0xdeafac
Checks whether two displays are different.
C Func: 0x76edeb ScriptInfo: 0xdeafe0
Checks whether two controls are equal.
C Func: 0x779e7e ScriptInfo: 0xdeb014
Checks whether two controls are different.
C Func: 0x779eb9 ScriptInfo: 0xdeb048
Compile and execute function (sqf). Argument is passed to the script as local variable _this. The function is first searched in the mission folder, then in the campaign scripts folder and finally in the global scripts folder.
C Func: 0x7a1073 ScriptInfo: 0xdeb1b4
player execVM "test.sqf"
Returns skill of given type of person (commander unit). Value of skill may vary from 0 to 1.
C Func: 0x7a1266 ScriptInfo: 0xdeb1e8
hero skill "Endurance"
Adds an item with the given text to the given listbox or combobox. It returns the index of the newly added item.
C Func: 0x7a0068 ScriptInfo: 0xdeb284
_index = _control lbAdd "First item"
Returns the shown text in the item with the given index of the given listbox or combobox.
C Func: 0x7a00c4 ScriptInfo: 0xdeb2ec
_text = _control lbText 0
Returns the additional text (invisible) in an item with the given index of the given listbox or combobox.
C Func: 0x7a011e ScriptInfo: 0xdeb320
_data = _control lbData 0
Returns the additional integer value in the item with the given index of the given listbox or combobox.
C Func: 0x779707 ScriptInfo: 0xdeb388
_value = _control lbValue 0
Returns the picture name of the item with the given index of the given listbox or combobox.
C Func: 0x7a0178 ScriptInfo: 0xdeb3f0
_picture = _control lbPicture 0
Returns the text color of the item with the given index of the given listbox or combobox.
C Func: 0x7a0240 ScriptInfo: 0xdeb458
_color = _control lbColor 0
Check whether given row of the given listbox is selected.
C Func: 0x77976b ScriptInfo: 0xdeb4c0
_selected = _control lbIsSelected 0
Adds an item with the given text to the given listbox or combobox. It returns the index of the newly added item.
C Func: 0x77990f ScriptInfo: 0xdeb590
_index = _control lbAdd "First item"
Adds an row to the end od 2d listbox . It returns the index of the newly added row.
C Func: 0x7ba724 ScriptInfo: 0xdeb5f8
_index = _control lnbAdd [t1,t2,t3,...]
Returns the shown text in the item with the given position of the given 2D listbox.
C Func: 0x78ce72 ScriptInfo: 0xdeb660
_text = _control lnbText [row, column]
Returns the additional text (invisible) in an item with the given position of the given 2D listbox.
C Func: 0x78cf7d ScriptInfo: 0xdeb6c8
_data = _control lnbData [row, column]
Returns the additional integer value in the item with the given position of the given 2D listbox.
C Func: 0x7799cb ScriptInfo: 0xdeb730
_value = _control lnbValue [row, column]
Returns the picture name of the item with the given position of the given listbox or combobox.
C Func: 0x7c0ff6 ScriptInfo: 0xdeb798
_picture = _control lnbPicture [row, column]
Returns the text color of the item with the given position of the given 2D listbox.
C Func: 0x7a03c0 ScriptInfo: 0xdeb800
_color = _control lnbColor [row, column]
Convert position in the map from screen coordinates to world coordinates.
C Func: 0x7b0f20 ScriptInfo: 0xdeb96c
Convert position in the map from world coordinates to screen coordinates.
C Func: 0x78d088 ScriptInfo: 0xdeb9a0
Create single missions display as a child of given display. The mission dialog will be set to the directory given as an argument "root".
C Func: 0x7a0dd7 ScriptInfo: 0xdeb9d4
_display createMissionDisplay "Test missions"
Create single missions display as a child of given display. The mission dialog will be set to the directory given as an argument "root". Mission space defines container's config class name.
C Func: 0x7a0dd7 ScriptInfo: 0xdeba08
_display createMissionDisplay ["","Tutorial"]
Add an event handler to the given control. Returns id of the handler or -1 when failed.
C Func: 0x7b03d0 ScriptInfo: 0xdeba70
_id = _control ctrlAddEventHandler ["KeyDown", ""]
Add an event handler to the given display. Returns id of the handler or -1 when failed.
C Func: 0x7b0685 ScriptInfo: 0xdebb0c
_id = _display displayAddEventHandler ["KeyDown", ""]
Call a method name of class cls, passing arguments args.
C Func: 0x7b26bc ScriptInfo: 0xdebba8
Add two vectors of the same dimensions, e.g. two of format
C Func: 0x7aa47d ScriptInfo: 0xdebdb0
[0,0,0] v+ [0,1,2]
Add two vectors of the same dimensions, e.g. two of format
C Func: 0x7aa4af ScriptInfo: 0xdebde4
[0,0,0] v- [0,1,2]
Add two vectors of the same dimensions, e.g. two of format
C Func: 0x7aa4e1 ScriptInfo: 0xdebe18
[0,0,0] v* [0,1,2]
Add two vectors of the same dimensions, e.g. two of format
C Func: 0x789ca7 ScriptInfo: 0xdebe4c
1 v* [0,1,2]
Add two vectors of the same dimensions, e.g. two of format
C Func: 0x789cd9 ScriptInfo: 0xdebe80
[0,0,0] v* 1
Return animation phase of animation on object.
C Func: 0x79aa11 ScriptInfo: 0xdebee8
house animationPhase "doors1"
Checks whether two team members are the same. If either of them is teamMemberNull, false is returned.
C Func: 0x76efdb ScriptInfo: 0xdec054
teamMember player == _teamMember
Checks whether two team members are different. If either of them is teamMemberNull, true is returned.
C Func: 0x76f016 ScriptInfo: 0xdec088
teamMember player != _teamMember
Return the value of variable in the variable space of given team member.
C Func: 0x7b145f ScriptInfo: 0xdec1c0
Return the value of variable in the variable space of given team member.
C Func: 0x7b145f ScriptInfo: 0xdec1f4
a greater or equal than b
C Func: 0x95f067 ScriptInfo: 0xdf38b8
player distance redCar < 100
a lesser or equal than b
C Func: 0x95f031 ScriptInfo: 0xdf38ec
player distance redCar <= 100
a greater than b
C Func: 0x95effd ScriptInfo: -0x1
counter > 4
a lesser than b
C Func: 0x95efc7 ScriptInfo: -0x1
counter < 4
a equal to b
C Func: 0x95ef8f ScriptInfo: 0xdf3988
counter == 4
a is not equal to b
C Func: 0x95f09b ScriptInfo: 0xdf39bc
counter != 4
a equal to b (case insensitive)
C Func: 0x96265f ScriptInfo: 0xdf39f0
nameOfPlayer == "John Doe"
a is not equal to b (case insensitive)
C Func: 0x9625e6 ScriptInfo: 0xdf3a24
nameOfPlayer != "John Doe"
stringA and stringB are concatenated.
C Func: 0x9626d9 ScriptInfo: -0x1
"I" + " am" + " blind"
arrayA and arrayB are concatenated.
C Func: 0x962dc5 ScriptInfo: -0x1
[0, 1, 2] + [1, 2, 3]
All elements in arrayB are removed from arrayA.
C Func: 0x962e96 ScriptInfo: -0x1
[0, 1, 2, 4, 0, 1, 2, 3, 4, 5] - [1, 2, 3]
a and b
C Func: 0x95f0d3 ScriptInfo: 0xdf3af4
alive player && alive leader player
a and b
C Func: 0x95f118 ScriptInfo: 0xdf3b28
alive player and alive leader player
a or b
C Func: 0x95f134 ScriptInfo: 0xdf3b5c
!alive player || !alive leader player
a or b
C Func: 0x95f176 ScriptInfo: 0xdf3b90
not alive player or not alive leader player
Selects index element of the array. Index 0 denotes the first element, 1 the second, etc.
C Func: 0x96300d ScriptInfo: 0xdf3bc4
[1, 2, 3] select 1
If the index is false, this selects the first element of the array. If it is true, it selects the second one.
C Func: 0x96300d ScriptInfo: 0xdf3bf8
Format of element is [index, value]. Changes an element of the given array. If the element does not exist, index+1 is called to create it.
C Func: 0x9630fa ScriptInfo: 0xdf3c2c
array set [0, "Hello"]
Changes the array size. This function can be used to add or remove elements from the array.
C Func: 0x963080 ScriptInfo: 0xdf3c60
array resize 2
Executes the given command for each element in array. It's executed as follows: for each element of array an element is assigned as _x and the command is executed.
C Func: 0x96ace5 ScriptInfo: 0xdf3cc8
"_x setdammage 1" forEach units group player
Checks whether x is equal to any element in the array.
C Func: 0x95f712 ScriptInfo: 0xdf3cfc
1 in [0, 1, 2]
The code is executed when the if condition is met. If the code is executed, the last value calculated in the code is returned. If the code is not executed,
C Func: 0x96aa2f ScriptInfo: 0xdf3d64
if (a>b) then {c=1}
The first or second element of the array is executed depending on the result of the if condition. The result of the executed expression is returned as a result (the result may be
C Func: 0x96aaef ScriptInfo: 0xdf3d98
if (a>b) then {c=1} else {c=2};if (a>b) then [{c=1},{c=2}]
Constructs an array that can be processed by
C Func: 0x963228 ScriptInfo: 0xdf3dcc
if (a>b) then {c=0} else {c=1}
Repeats the code while the condition is true. Note: the maximum repeat count for the loop is 10000. If the condition is still true after the loop was repeated 10000 times, the loop will be terminated and an error message is shown.
C Func: 0x96a97c ScriptInfo: 0xdf3e00
while "a>b" do {a=a+1}
Execute the code inside the given namespace.
C Func: 0x96328a ScriptInfo: 0xdf3e34
with missionNamespace do {global=global+1}
if result of condition is true, evaluates code, and current block with result of code
C Func: 0x96ad7b ScriptInfo: 0xdf3e68
if (_x>5) exitWith {echo "_x is too big";_x}
Executes the function body. Argument pars is passed as _this.
C Func: 0x96a816 ScriptInfo: 0xdf3e9c
[1,2] call {(_this select 0)+(_this select 1)}
Continue sequence of 'for' command.
C Func: 0x95f7c5 ScriptInfo: 0xdf3ed0
for "_x" from 10 to 20 do {..code..}
Continue sequence of 'for' command.
C Func: 0x95f7eb ScriptInfo: 0xdf3f04
for "_x" from 10 to 20 do {..code..}
Optionaly can set step. If you want to count down, step must be specified, and set negative. Default value is 1.
C Func: 0x95f811 ScriptInfo: 0xdf3f38
for "_x" from 20 to 10 step -2 do {..code..}
End of for command, starts cycle
C Func: 0x96c12d ScriptInfo: 0xdf3f6c
for "_x" from 20 to 10 step -2 do {..code..}
see switch
C Func: 0x96348c ScriptInfo: 0xdf3fa0
Switch form
C Func: 0x96afb2 ScriptInfo: 0xdf3fd4
switch (_a) do { case 1: {block}; case 2 : {block}; default {block};}
processes code, when exception is thrown in
C Func: 0x96b03f ScriptInfo: 0xdf4008
Set variable to given value in the given namespace.
C Func: 0x969c9e ScriptInfo: 0xdf40a4
Return the value of variable in the given namespace.
C Func: 0x96582f ScriptInfo: 0xdf40d8
Return the value of variable in the given namespace. If not found, default value is returned.
C Func: 0x96582f ScriptInfo: 0xdf410c
unary plus: returns a copy of the array
C Func: 0x95f192 ScriptInfo: -0x1
+ [0, 1, 2]
Executes the given code.
C Func: 0x96a8d9 ScriptInfo: 0xdf31b0
call {"x=2"}
This function does nothing. It's used to create comments.
C Func: 0x76bb2c ScriptInfo: 0xdf31dc
comment "This is a comment."
Introduces one or more local variables in the innermost scope.
C Func: 0x969b15 ScriptInfo: 0xdf3208
The first part of the if command.
C Func: 0x95f669 ScriptInfo: 0xdf3234
if (a>b) then {a=b}
The first part of the while contruct.
C Func: 0x95f6b0 ScriptInfo: 0xdf3260
while "x<10" do {x=x+1}
The first part of the with contruct.
C Func: 0x95f6e1 ScriptInfo: 0xdf328c
with missionNamespace do {global=global+1}
Tests a condition and if the condition is false, halts the program.
C Func: 0x962fba ScriptInfo: 0xdf32e4
assert (_x>0)
Sends any text into the debugger console or the logfile.
C Func: 0x962f78 ScriptInfo: 0xdf3310
echo "Text in logfile"
Tests whether the variable is null. The function returns true if the variable is null and false if it's not.
C Func: 0x96c007 ScriptInfo: 0xdf3368
if (isNil("_pokus")) then {_pokus=0;}
Creates list of supported operators and type. Each field of array has format: "x:name" where x is 't' - type, 'n' - nullary operator, 'u' - unary operator, 'b' - binary operator. 'name' is operator's/type's name (in case operator, type of input operands is included). `mask` parameter can be empty string, or one of field. In this case, function returns empty array, if operator is not included in list. `mask` can contain wildcards, for example: *:name, t:*, t:name* or *:*.
C Func: 0x96885c ScriptInfo: 0xdf3394
supportInfo "b:select*"
Starts for sequence, use in complette form(see example).
C Func: 0x96333e ScriptInfo: 0xdf33c0
for "_x" from 1 to 10 do {debugLog _x;}
creates cycle, using C like style. See example.
C Func: 0x9633b2 ScriptInfo: 0xdf33ec
for [{_x=1},{_x<=10},{_x=_x+1}] do {debugLog _x;}
Begins switch form
C Func: 0x95f837 ScriptInfo: 0xdf3418
switch (_a) do { case 1: {block}; case 2 : {block}; default {block};}
see switch
C Func: 0x96578e ScriptInfo: 0xdf3444
see switch
C Func: 0x9657ce ScriptInfo: 0xdf3470
defines name of current scope. Name is visible in debugger, and name is also used as reference in some commands. Scope name can be defined only once per scope.
C Func: 0x9634e7 ScriptInfo: 0xdf349c
Breaks block to scope named 'name'. Nil is returned.
C Func: 0x963523 ScriptInfo: 0xdf34c8
Breaks block out scope named 'name'. Nil is returned.
C Func: 0x963564 ScriptInfo: 0xdf34f4
Defines try-catch structure. This is structured exception block. Any thrown exception in try block is caught in catch block. The structured exception block has following form
try //begin of try-catch block { //block, that can throw exception } catch{ //block, that process an exception. Exception is described in _exception variable };
C Func: 0x95f875 ScriptInfo: 0xdf3520
Throws an exception. The exception is processed by first catch block. See
C Func: 0x95f8af ScriptInfo: 0xdf354c
throw "invalid argument"
Compile expression.
C Func: 0x9635a5 ScriptInfo: 0xdf3578
_function = "a = a + 1"; _compiled = compile _function; call _compiled;
Suspend execution of script until condition is satisfied.
C Func: 0x96b0d8 ScriptInfo: 0xdf35a4
_i = 0; waitUntil {_i = _i + 1; _i >= 100}
Convert the string to the array of characters.
C Func: 0x962a71 ScriptInfo: 0xdf3654
toArray "ArmA"
Assign a friendly name to the VM script thjis command is executed from.
C Func: 0x963676 ScriptInfo: 0xdf36ac
scriptName "Trading"
Nil value. This value can be used to undefine an existing variable.
C Func: 0x966379 ScriptInfo: 0xdf2ae0
variableToDestroy = nil
Force rain with user defined intensity (0 to force disable)
C Func: 0xa033ec ScriptInfo: 0xdffc58
Reload given effect resources
C Func: 0xa0f95f ScriptInfo: 0xdffc84
Check whether given post process effect is commited
C Func: 0xa0f9ef ScriptInfo: 0xdffcb0
Check whether given post process effect is commited
C Func: 0xa033a9 ScriptInfo: 0xdffcdc
Create post process effect specified by name and priority
C Func: 0xa0ec84 ScriptInfo: -0x1
Destroy post process effect given by handle
C Func: 0xa031a6 ScriptInfo: 0xdffd34
C Func: 0x0 ScriptInfo: 0xe15148