DayZ Script Function Infodump



nearestLocation([position, type]) V:2.90 0xb1c82e

Find the nearest location (to the given position) of given type.

C Func: 0x5435cc ScriptInfo: 0xdd21a4

nearestLocationWithDubbing(position) V:5501 0xb1cfc1

Find the nearest location (to the given position) having it speech non-empty.

C Func: 0x53e7a7 ScriptInfo: 0xdd2438

taskParent() V:2.92 0xb1f8e7

Return the parent task of the specified task.

C Func: 0x5a22e1 ScriptInfo: 0xdd31d4

currentTask(person) V:5501 0xb1ff21

Return current task of given person.

C Func: 0x5a25b1 ScriptInfo: 0xdd33e4

sendTask(sender, [receiver, [type] or [type, parentTask], priority, name1, value1, name2, value2, ...]) V:2.92 0xb20191

Create a new AI task (subtask of parentTask). Type is name of registered task type.

C Func: 0x5a5dc6 ScriptInfo: 0xdd353c

createSimpleTask(person, [name] or [name, parentTask]) V:5500 0xb20818

Create a new simple task (subtask of parentTask).

C Func: 0x5a8d6b ScriptInfo: 0xdd3778

objNull() V: 0xb2ea60

A non-existing object. This value is not equal to anything, including itself.

C Func: 0x77d304 ScriptInfo: 0xde5690


player == objNull 

dayTime() V: 0xb2eb47

Retu

C Func: 0x76b792 ScriptInfo: 0xde56e0

getElevationOffset() V: 0xb2ebb4

Returns the map elevation offset from [map]/config.cpp

C Func: 0x76b7b6 ScriptInfo: 0xde5708

benchmark() V: 0xb2ec92

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 

accTime() V: 0xb2ed03

Returns the current time acceleration factor.

C Func: 0x76b882 ScriptInfo: 0xde5780

musicVolume() V: 0xb2f6cd

Checks the current music volume (set by fadeMusic).

C Func: 0x76bbbf ScriptInfo: 0xde5af0

soundVolume() V: 0xb2f73a

Checks the current sound volume (set by setSoundVolume).

C Func: 0x76bc75 ScriptInfo: 0xde5b18

radioVolume() V: 0xb2f7a7

Checks the current radio volume (set by setRadioVolume).

C Func: 0x76bc92 ScriptInfo: 0xde5b40

overcast() V:2.92 0xb2fb47

Return the current overcast.

C Func: 0x76c1bf ScriptInfo: 0xde5c80

airTemperature() V:107123 0xb2fbb8

Return the current air temperature.

C Func: 0x76c1dc ScriptInfo: 0xde5ca8

fog() V:2.92 0xb2fc29

Return the current fog.

C Func: 0x76c213 ScriptInfo: 0xde5cd0

rain() V:2.92 0xb2fc9a

Return the current rain.

C Func: 0x76c230 ScriptInfo: 0xde5cf8

nextWeatherChange() V:2.92 0xb2fd80

Return the time (in seconds) when the next weather change will occur.

C Func: 0x76c24d ScriptInfo: 0xde5d48

overcastForecast() V:2.92 0xb2fdf1

Return the overcast forecast.

C Func: 0x76c276 ScriptInfo: 0xde5d70

fogForecast() V:2.92 0xb2fe62

Return the fog forecast.

C Func: 0x76c293 ScriptInfo: 0xde5d98

distributionRegion() V:5129 0xb30036

Return the region where the game was sold (based on distribution id).

C Func: 0x76ea04 ScriptInfo: 0xde5e38

armoryPoints() V:5500 0xb30195

Return the stored value of armory points.

C Func: 0x7bc6a9 ScriptInfo: 0xde5eb0

diag_fps() V:5500 0xb30365

Returns average framerate over last 16 frames.

C Func: 0x76e0d5 ScriptInfo: 0xde5f50

diag_frameno() V:5500 0xb303d6

Returns number of frame currently displayed .

C Func: 0x76e0fa ScriptInfo: 0xde5f78

diag_fpsmin() V:5500 0xb30447

Returns minimal framerate. Calculated from the longest frame over last 16 frames.

C Func: 0x76e119 ScriptInfo: 0xde5fa0

diag_tickTime() V:5501 0xb304b8

Real time spent from the start of the game.

C Func: 0x76e151 ScriptInfo: 0xde5fc8

SafeZoneX() V:5501 0xb30529

C Func: 0x76f0ad ScriptInfo: 0xde5ff0

SafeZoneY() V:5501 0xb30596

C Func: 0x76f188 ScriptInfo: 0xde6018

SafeZoneW() V:5501 0xb30603

C Func: 0x76f222 ScriptInfo: 0xde6040

SafeZoneH() V:5501 0xb30670

C Func: 0x76f2d4 ScriptInfo: 0xde6068

SafeZoneXAbs() V:5501 0xb306dd

C Func: 0x76f377 ScriptInfo: 0xde6090

SafeZoneWAbs() V:5501 0xb3074a

C Func: 0x76f411 ScriptInfo: 0xde60b8

viewDistance() V:5501 0xb30db0

Returns the rendering distance.

C Func: 0x76c110 ScriptInfo: 0xde62e8

serverTime() V:5501 0xb30e21

Server time synchronized to clients.

C Func: 0x76c151 ScriptInfo: 0xde6310

estimatedEndServerTime() V:5501 0xb30e92

Estimated end of MP game converted to serverTime.

C Func: 0x76c188 ScriptInfo: 0xde6338

sunOrMoon() V:93989 0xb310d7

Returns sun to moon transition state.

C Func: 0x76e50b ScriptInfo: 0xde6400

moonIntensity() V:93989 0xb31148

Returns moon light intensity.

C Func: 0x76e53a ScriptInfo: 0xde6428

systemOfUnits() V:5501 0xb311b9

Returns 0 for metric, 1 for mixed (ground units uses metric, air units uses imperial) and 2 for imperial.

C Func: 0x76e56a ScriptInfo: 0xde6450

isPipEnabled() V:85325 TOH 0xb314f9

Returns true if picture is enabled

C Func: 0x76b74b ScriptInfo: 0xde6568

isSceneReady() V:DayZ 0xb31654

Returns true if scene is ready to rendering

C Func: 0x7789b8 ScriptInfo: 0xde65e0


_ready = isSceneReady 

cheatsEnabled() V:1.56 0xb31912

Checks whether cheats are enabled (whether the designers' version is running).

C Func: 0x95f5f1 ScriptInfo: 0xde66d0

dialog() V:1.78 0xb31983

Returns whether a user dialog is present.

C Func: 0x76d226 ScriptInfo: 0xde66f8

nearestBuilding(obj) V: 0xb32d96

Returns the nearest building to the given object.

C Func: 0x7b5f8e ScriptInfo: 0xde0210


neareastBuilding player 

nearestBuilding(pos) V:OA 93648 0xb32e1d

Returns the nearest building to the given position.

C Func: 0x7b5f4c ScriptInfo: 0xde023c


neareastBuilding position player 

nearestObject(pos) V: 0xb32ea8

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"] 

vehicle(unit) V: 0xb33387

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 

driver(vehicle) V: 0xb3340e

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 

commander(vehicle) V: 0xb33495

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 

gunner(vehicle) V: 0xb3351c

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 

cutText(effect) V: 0xb33a8b

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"] 

cutRsc(effect) V: 0xb33b12

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"] 

cutObj(effect) V: 0xb33b99

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"] 

titleText(effect) V: 0xb33c20

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"] 

titleRsc(effect) V: 0xb33ca7

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"] 

titleObj(effect) V: 0xb33d2e

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"] 

titleFadeOut(duration) V:5126 0xb33db5

Terminate the title effect and set duration of the fade out phase to the given time.

C Func: 0x76bd77 ScriptInfo: 0xde0738


titleFadeIn 1.0 

playSound(name) V: 0xb33f5a

Plays a sound defined in the description.ext file.

C Func: 0x79389d ScriptInfo: 0xde07bc


playSound "soundname" 

playSound(name, enable / disable sound volume accomodation) V: 0xb33fe5

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] 

playMusic(name) V: 0xb3406c

Plays music defined in the description.ext file.

C Func: 0x793a97 ScriptInfo: 0xde0814


playMusic "musicname" 

playMusic(nameAndPos) V: 0xb340f7

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] 

removeAllWeapons(unit) V: 0xb343ba

Removes all weapons from the unit.

C Func: 0x77e06e ScriptInfo: 0xde091c


removeAllWeapons player 

clearWeaponCargo(unit) V: 0xb34445

Removes all weapons from the vehicle cargo space.

C Func: 0x77d8ae ScriptInfo: 0xde0948


clearWeaponCargo jeepOne 

clearMagazineCargo(unit) V: 0xb344d0

Removes all magazines from the vehicle cargo space.

C Func: 0x77d8f1 ScriptInfo: 0xde0974


clearMagazineCargo jeepOne 

clearWeaponCargoGlobal(unit) V: 0xb3455b

Removes all weapons from the vehicle cargo space. MP synchronized.

C Func: 0x77d934 ScriptInfo: 0xde09a0


clearWeaponCargoGlobal jeepOne 

clearMagazineCargoGlobal(unit) V: 0xb345e6

Removes all magazines from the vehicle cargo space. MP synchronized.

C Func: 0x77d977 ScriptInfo: 0xde09cc


clearMagazineCargoGlobal jeepOne 

deleteVehicle(object) V:1.34 0xb34787

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 

showMap(show) V: 0xb34816

Enables the map (the default is true).

C Func: 0x76c971 ScriptInfo: 0xde0a7c


showMap true 

showRadio(show) V: 0xb348a1

Enables the radio (the default is false).

C Func: 0x76c9c3 ScriptInfo: 0xde0aa8

showPad(show) V: 0xb34928

Enables the notepad (the default is true).

C Func: 0x76ca17 ScriptInfo: 0xde0ad4

showWarrant(show) V: 0xb349af

Obsolete. Enables the ID card (the default is false).

C Func: 0x76ca8d ScriptInfo: 0xde0b00

showGps(show) V: 0xb34a36

Enables the GPS receiver (the default is false).

C Func: 0x76cae1 ScriptInfo: 0xde0b2c

enableRadio(enable) V: 0xb34abd

Enables radio transmissions to be heard and seen on screen.

C Func: 0x76cb33 ScriptInfo: 0xde0b58

enableSentences(enable) V: 0xb34b44

Enables radio transmissions to be heard and seen on screen. It does not affect KBTell conversations.

C Func: 0x76cb61 ScriptInfo: 0xde0b84

showCinemaBorder(show) V: 0xb34bcb

Forces drawing of the cinema borders. This is normally used in cutscenes to indicate the player has no control.

C Func: 0x71d780 ScriptInfo: 0xde0bb0

disableUserInput(disable) V: 0xb34c52

Disables all user input. This is normally used only in cutscenes to disable the player's controls.

C Func: 0x76cb8f ScriptInfo: 0xde0bdc

hint(text) V: 0xb34cd9

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" 

hintCadet(text) V: 0xb34d64

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" 

hintC(text) V: 0xb34def

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" 

taskHint(text) V: 0xb34e7a

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." 

skipTime(duration) V: 0xb3501f

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 

setViewDistance(distance) V: 0xb350aa

Sets the rendering distance. Default is 900 meters. The accepted range is from 500 to 5000 meters.

C Func: 0x76bf47 ScriptInfo: 0xde0d3c


setviewdistance 2000 

setTerrainGrid(grid) V:1.75 0xb35135

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 

setObjectViewDistance(distance) V: 0xb351c4

Sets the rendering distance of objects.

C Func: 0x76bfe7 ScriptInfo: 0xde0d94


setobjectviewdistance 2000 

setObjectViewDistance([vehiclesZ, staticZ, treesZ]) V: 0xb3524f

Sets the rendering distance of objects.

C Func: 0x76bfe7 ScriptInfo: 0xde0dc0


setobjectviewdistance 2000 

goto(label) V: 0xb352d6

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" 

textLog(anything) V: 0xb35361

Dumps the argument value into the debugging output.

C Func: 0x76bb2c ScriptInfo: 0xde0e18


textLog player 

debugLog(anything) V: 0xb353ec

Dumps the argument's type and value to the debugging output.

C Func: 0x76bb2c ScriptInfo: 0xde0e44


debugLog player 

camDestroy(camera) V: 0xb35477

Destroys the camera.

C Func: 0x781198 ScriptInfo: 0xde0e70

saveVar(varName) V: 0xb356b3

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" 

setAccTime(accFactor) V: 0xb3573e

Sets the time acceleration coeficient. It can also be used to slow down time in cutscenes.

C Func: 0x76b89f ScriptInfo: 0xde0f4c


setAccTime 0.1 

forceMap(show) V:1.27 0xb357c9

Forces the map to display.

C Func: 0x76c4de ScriptInfo: 0xde0f78


forceMap true 

mapAnimAdd(frame) V:1.27 0xb3597a

Adds the next frame to the map animation. The format of frame is [time, zoom, position], the format of position is Position2D.

C Func: 0x781b13 ScriptInfo: 0xde0ffc


mapAnimAdd [1, 0.1, getMarkerPos "anim1"] 

estimatedTimeLeft(timeLeft) V:1.34 0xb35a05

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 

setDate([year, month, day, hour, minute]) V:1.86 0xb35bbe

Sets the actual mission date and time.

C Func: 0x7ad488 ScriptInfo: 0xde10ac

deleteMarker(name) V: 0xb35d63

Destroys the given marker. The marker is destroyed on all computers in a network session.

C Func: 0x7b8640 ScriptInfo: 0xde1130


deleteMarker "Marker1" 

deleteMarkerLocal(name) V:2.92 0xb35dee

Destroys the given marker. The marker is only destroyed on the computer where the command is called.

C Func: 0x7b859b ScriptInfo: 0xde115c


deleteMarkerLocal "Marker1" 

activateKey(keyName) V:2.06 0xb365f0

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" 

deActivateKey(keyName) V:93436 0xb3667f

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" 

hideBody(person) V:2.10 0xb367a1

Hides the body of the given person.

C Func: 0x780c7a ScriptInfo: 0xde1448


hideBody player 

setShadowDistance(newDistance) V:TOH 80934 0xb369dd

Sets the shadows rendering distance.

C Func: 0x76bee6 ScriptInfo: 0xde14f8


setShadowDistance 1000 

setSatNormalMapBlendPars([satelliteNormalBlendStart, satelliteNormalBlendStartEnd]) V:TOH 81984 0xb36a6c

Sets the satellite normal map blend pars.

C Func: 0x7ac117 ScriptInfo: 0xde1524


setSatNormalMapBlendPars [80, 100] 

setDetailMapBlendPars([fullDetail, noDetail]) V:TOH 81984 0xb36af7

Sets the detail texture map blend pars.

C Func: 0x7ac1fe ScriptInfo: 0xde1550


setDetailMapBlendPars [20, 50] 

terminate(script) V:2.50 0xb36d2b

Terminate (abort) the script

C Func: 0x77a224 ScriptInfo: 0xde1600

activateAddons([addon1, ...]) V:2.32 0xb36db6

Activates the listed addons. The list of active addons is initialized during this function.

C Func: 0x7b6590 ScriptInfo: 0xde162c


activateAddons ["BISOFP"] 

selectPlayer(unit) V:2.33 0xb36fee

Switch player to given unit.

C Func: 0x782fef ScriptInfo: 0xde16dc


selectPlayer aP 

lightDetachObject(light) V:2.58 0xb37338

Detach light from object.

C Func: 0x782467 ScriptInfo: 0xde17e4

sleep(delay) V:2.60 0xb3745a

Suspend execution of script for given time.

C Func: 0x79e344 ScriptInfo: 0xde183c


sleep 0.5 

uisleep(delay) V:5501 0xb374e9

Suspend execution of script for given uitime.

C Func: 0x79e3d6 ScriptInfo: 0xde1868


uisleep 0.5 

camUseNVG(set) V:2.73 0xb377ac

Set / clear using of night vision during cutscenes.

C Func: 0x76e768 ScriptInfo: 0xde1944

setAperture(set) V:2.73 0xb37837

Sets custom camera apreture (-1 to do it automatically).

C Func: 0x76e829 ScriptInfo: 0xde1970

setHDRLuminanceRectCoef(set) V:80999 TOH 0xb378c2

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

setDesiredLuminanceCoef(set) V:80999 TOH 0xb3794d

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

setHazeFogCoef(coef) V:81083 TOH 0xb379d8

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

setHazeDistCoef(coef) V:81083 TOH 0xb37a63

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

generateSpawnPoints([ [x0 y0] [x1 y1]...[xn yn] ] [fname gd d2w0 d2w1 d2z0 d2z1 d2p0 d2p1 d2s0 d2s1 s0 s1 surf]) V:5501 0xb37c00

Scans rectangle formed by xywh and selects spawn point based on spawn params.

C Func: 0x639f64 ScriptInfo: 0xde1aa4

deleteCollection(object) V:2.90 0xb37d16

same as hideObject.

C Func: 0x782276 ScriptInfo: 0xde1afc

hideObject(object) V:2.90 0xb37da1

Hide object (cannot hide static objects).

C Func: 0x7822a0 ScriptInfo: 0xde1b28

setMousePosition([x, y]) V:2.91 0xb37f4a

Move (UI) mouse pointer to specified position of the screen.

C Func: 0x7adaf5 ScriptInfo: 0xde1bac


setMousePosition [0.5, 0.5] 

reload(vehicle) V:2.92 0xb389c3

Reload all weapons.

C Func: 0x78417d ScriptInfo: 0xde1ef0

clearVehicleInit(vehicle) V:5154 0xb38bfb

Clear vehicle init field.

C Func: 0x783300 ScriptInfo: 0xde1fa0


clearVehicleInit soldier3 

copyToClipboard(text) V:5500 0xb3906b

Copy the text to the clipboard.

C Func: 0x7918e8 ScriptInfo: 0xde2100

setArmoryPoints(points) V:5500 0xb390f6

Store the given amount of armory points.

C Func: 0x7c01ed ScriptInfo: 0xde212c

endMission(end type) V:5501 0xb3929f

Finish the mission. The end type can be "CONTINUE", "KILLED", "LOSER", "END1", "END2", "END3", "END4", "END5", or "END6".

C Func: 0x79a735 ScriptInfo: 0xde21b0

failMission(end type) V:5501 0xb3932a

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

moveOut(soldier) V:5501 0xb393b5

Moves the soldier out of vehicle. (Immediately, without animation).

C Func: 0x781fd1 ScriptInfo: 0xde2208

detach(obj) V:5501 0xb39566

Detaches an object.

C Func: 0x780eb1 ScriptInfo: 0xde228c


detach player 

onCommandModeChanged(command) V:5501 0xb399ce

Defines an action performed when commnad mode change. Command receives
_isHighCommand bool

C Func: 0x76df2b ScriptInfo: 0xde23ec

cameraEffectEnableHUD(enable) V:5501 0xb39a59

Enable / disable showing of

C Func: 0x76e037 ScriptInfo: 0xde2418

setWind([x, z, forced]) V:5501 0xb39ae4

Set current (forced == false) or permanent (forced == true) wind direction and force.

C Func: 0x76c3fe ScriptInfo: 0xde2444

diag_log(anything) V:5501 0xb39c89

Dumps the argument's type and value to the report file.

C Func: 0x78c59f ScriptInfo: 0xde24c8


diag_log player 

CreateGearDialog([unit,resource]) V:5501 0xb39ec1

Opens gear dialog for given unit.

C Func: 0x784ab9 ScriptInfo: 0xde2578


CreateGearDialog [palyer,"RscDisplayGear"] 

startLoadingScreen([text] or [text, resource]) V:5501 0xb39f4c

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

progressLoadingScreen(progress) V:5501 0xb39fd3

If loading screen is show, set progress bar to the given value (from interval [0, 1])

C Func: 0x76ef1e ScriptInfo: 0xde25d0

onPreloadStarted(command) V:5501 0xb3a05e

Defines an action performed just before the preload screen started.

C Func: 0x76df8d ScriptInfo: 0xde25fc

onPreloadFinished(command) V:5501 0xb3a0e9

Defines an action performed after the preload screen finished.

C Func: 0x76dfa9 ScriptInfo: 0xde2628

hintSilent(text) V:5501 0xb3a174

Same as hint, but without a sound.

C Func: 0x796715 ScriptInfo: 0xde2654

removeAllItems(unit) V:5501 0xb3a28e

Removes all special items from the unit.

C Func: 0x77e0be ScriptInfo: 0xde26ac


removeAllItems player 

enableSaving(enable or [enable, save]) V:5501 0xb3a4ca

Enable / disable saving of the game. When disabled, the autosave is created (if not forbidden by save == false).

C Func: 0x7ac2e2 ScriptInfo: 0xde275c

showHUD(enable) V:5501 0xb3a555

Enable / disable showing of HUD.

C Func: 0x76b6df ScriptInfo: 0xde2788

textLogFormat([format, arg1, arg2, ...]) V:5501 0xb3a813

Shortcut to textLog format [format, arg1, arg2, ...] (for better performance in retail version).

C Func: 0x76bb2c ScriptInfo: 0xde2864

addCamShake([power, duration, frquency]) V:5501 0xb3ada1

Adds camera shake source.

C Func: 0x7ada02 ScriptInfo: 0xde2a1c

setCamShakeParams([posCoef, rotXCoef, rotYCoef, rotZCoef, interp]) V:5501 0xb3ae28

Sets camera shake params.

C Func: 0x76e1cc ScriptInfo: 0xde2a48

setCamShakeDefParams([power, duration, maxDistance, frequency, minSpeed, minMass, caliberCoefHit, caliberCoefFire, vehicleCoef]) V:5501 0xb3aeaf

Sets camera shake default params.

C Func: 0x76e2e6 ScriptInfo: 0xde2a74

enableCamShake(true/false) V:5501 0xb3af36

Enables/disables camera shakes.

C Func: 0x76e4a8 ScriptInfo: 0xde2aa0

enableEngineArtillery(true/false) V:5501 0xb3afc1

Enables/disables engine's artillery.

C Func: 0x76e5ba ScriptInfo: 0xde2acc

setSystemOfUnits(value) V:1.18 0xb3b0db

Set system of units. 0 for metric, 1 for mixed, 2 for imperial.

C Func: 0x76e589 ScriptInfo: 0xde2b24

setDefaultHazeDistance(default distance) V:5501 0xb3b1f9

C Func: 0x76e600 ScriptInfo: 0xde2b7c


setHazeDistance 5000 

playMission([campaign, mission] or [campaign, mission, skipBriefing]) V:2.19 0xb3b435

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"] 

enableEnvironment(enabled) V:2.92 0xb3b4c0

Enable/disable environmental effects (ambient life + sound).

C Func: 0x76e717 ScriptInfo: 0xde2c58


enableEnvironment false 

airportSide(airportId) V:2.92 0xb3b54f

Checks a side of the airport.

C Func: 0x78051d ScriptInfo: 0xde2c84


airportSide 0 

setHUDMovementLevels([min speed, max speed, min alt, max alt, min dir, max dir, position[x,y,z] or target]) V:TOH 81021 0xb3b9cf

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] 

removeMissionEventHandler(handler) V:TOH 85057 0xb3bae9

Removes event handler added by addMissionEventHandler. Format of handler is [type,index]. Index is returned by addMissionEventHandler. When any handler is removed, all handler indices higher that the deleted one should be decremented.

C Func: 0x7aa907 ScriptInfo: 0xde2e3c


removeMissionEventHandler ["ended",0] 

removeAllMissionEventHandlers(handlerType) V:TOH 85057 0xb3bb74

Removes all event handlers of the given type which were added by addMissionEventHandler.

C Func: 0x7b82f2 ScriptInfo: 0xde2e68


removeAllMissionEventHandlers "ended" 

publicVariableServer(varName) V: 0xb3bc92

Send the variable value to the server computer. Only type Number is supported in versions 1.33 and before. The following types are supported since 1.34: Number, Boolean, Object and Group.

C Func: 0x796a5f ScriptInfo: 0xde2ec0


publicVariableServer "CTFscoreOne" 

systemChat(chatText) V: 0xb3bd21

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" 

statusChat(statusText) V: 0xb3bdb0

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"] 

dbSelectHost(Host URL) V:101171 DayZ 0xb3c2cb

Set custom server host adress.

C Func: 0x79d3c4 ScriptInfo: 0xde30a4


dbSelectHost http://url.com/ 

dbSelectInstance(Host Instance) V:101171 DayZ 0xb3c3e9

Set custom server instance id.

C Func: 0x79d43a ScriptInfo: 0xde30fc


dbSelectInstance 099999 

lbClear(control) V:2.91 0xb3dd2d

Clears all items in the given listbox or combobox.

C Func: 0x7795ce ScriptInfo: 0xde388c


lbClear _control 

lnbClear(control) V:2.91 0xb3de4b

Clears all items in the given listbox or combobox.

C Func: 0x7795f8 ScriptInfo: 0xde38e4


lbClear _control 

ctrlMapAnimClear(control) V:2.92 0xb3e2cf

Clears the map animation.

C Func: 0x779fbe ScriptInfo: 0xde3a44

ctrlMapAnimCommit(control) V:2.92 0xb3e35a

Plays the map animation.

C Func: 0x779ff8 ScriptInfo: 0xde3a70

ctrlSetFocus(control) V:2.92 0xb3e5a2

Set the input focus on given control.

C Func: 0x7794f5 ScriptInfo: 0xde3b20


ctrlSetFocus _control 

ctrlActivate(control) V:2.92 0xb3e631

Launch actions attached to given (button based) control.

C Func: 0x779522 ScriptInfo: 0xde3b4c


ctrlActivate _control 

jExecFSM(className) V:85126 0xb3e993

Creates a JVM object representing a FSM and register it for execution.

C Func: 0x7a2869 ScriptInfo: 0xde3c54

jMovePanel([x, y]) V:86290 0xb3ea1e

Moves the top most JVM panel to a new position.

C Func: 0x7b2984 ScriptInfo: 0xde3c80

sendAUMessage([count|[clientList], "command"]) V: 0xb3ebc3

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"] 

closeDialog(idc) V:1.50 0xb3ed70

Closes the topmost user dialog as if a button with id idc was pressed.

C Func: 0x76d1dc ScriptInfo: 0xde3d88


closeDialog 1 

ctrlShow([idc, show]) V:1.50 0xb3ef25

Shows / hides the control with id idc of the topmost user dialog.

C Func: 0x76d290 ScriptInfo: 0xde3e0c


ctrlShow [100, true] 

ctrlEnable([idc, enable]) V:1.50 0xb3efb0

Enables / disables the control with id idc of the topmost user dialog.

C Func: 0x76d31c ScriptInfo: 0xde3e38


ctrlEnable [100, false] 

ctrlSetText([idc, text]) V:1.50 0xb3f0ce

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"] 

buttonSetAction([idc, action]) V:1.50 0xb3f1ec

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"""] 

lbSetCurSel([idc, index]) V:1.50 0xb3f39d

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] 

lbClear(idc) V:1.50 0xb3f428

Clears all items in the listbox or combobox with id idc of the topmost user dialog.

C Func: 0x76d4c3 ScriptInfo: 0xde3f98


lbClear 101 

lbDelete([idc, index]) V:1.50 0xb3f546

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] 

lbSetData([idc, index, data]) V:1.50 0xb3f6ef

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"] 

lbSetValue([idc, index, value]) V:1.50 0xb3f809

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] 

lbSetPicture([idc, index, name]) V:1.50 0xb3f923

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"] 

lbSetColor([idc, index, color]) V:1.50 0xb3fa39

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 Color.

C Func: 0x7ad3a6 ScriptInfo: 0xde417c


lbSetColor [101, 0, [0, 1, 0, 0.5]] 

lnbSetCurSelRow([idc, index]) V:5501 0xb3fc75

Selects the row with the given index of the 2D listbox.

C Func: 0x76d702 ScriptInfo: 0xde422c


lnbSetCurSel [105, 0] 

lnbClear(idc) V:5501 0xb3fd00

Clears all items in the 2D listbox.

C Func: 0x76d4c3 ScriptInfo: 0xde4258


lnbClear 101 

lnbDeleteRow([idc, index]) V:1.50 0xb3fead

Removes row with given index from the 2D listbox.

C Func: 0x76d7ac ScriptInfo: 0xde42dc


lnbDeleteRow [105, 0] 

lnbDeleteColumn([idc, index]) V:5501 0xb3ffc7

Removes column with given index.

C Func: 0x76d911 ScriptInfo: 0xde4334


lnbDeleteColumn [101, 0] 

lnbsetColumnsPos([idc, [row, column], data]) V:5501 0xb40052

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"] 

lnbSetText([idc, [row, column], data]) V:5501 0xb4016c

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"] 

lnbSetData([idc, [row, column], data]) V:5501 0xb40286

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"] 

lnbSetValue([idc, [row, column], value]) V:5501 0xb403a0

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] 

lnbSetPicture([idc, [row, column], name]) V:5501 0xb404ba

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"] 

lnbSetColor([idc, [row, column], color]) V:5501 0xb405d0

Sets the color of the item with the given position of the 2D listbox. Color is in format Color.

C Func: 0x7ad205 ScriptInfo: 0xde4518


lnbSetColor [101, [0,1], [0, 1, 0, 0.5]] 

sliderSetPosition([idc, pos]) V:1.79 0xb406ee

Sets the current thumb position of the slider with id idc of the topmost user dialog.

C Func: 0x76dce5 ScriptInfo: 0xde4570


sliderSetPosition [100, 0] 

sliderSetRange([idc, min, max]) V:1.79 0xb40808

Sets the limits of the slider with id idc of the topmost user dialog.

C Func: 0x76dd67 ScriptInfo: 0xde45c8


sliderSetRange [100, 0, 10] 

sliderSetSpeed([idc, line, page]) V:1.79 0xb40922

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] 

drop(array) V:1.50 0xb409ad

Drops a particle into the scene. Array is in format ParticleArray.

C Func: 0x5f9a83 ScriptInfo: 0xde464c

onBriefingPlan(sound) V:1.75 0xb40a34

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" 

onBriefingNotes(sound) V:1.75 0xb40ac3

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" 

onBriefingGroup(sound) V:1.75 0xb40b52

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" 

onEachFrame(command) V:97871 0xb40be1

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 {} 

onMapSingleClick(command) V:1.91 0xb40c70

Defines an action performed when the user clicks on the map. Command receives:

_pos array position
_units array selected units
_shift,_alt bool key state

If the click is processed, command should return true.

C Func: 0x76dfc5 ScriptInfo: 0xde4728


onMapSingleClick """SoldierEG"" createUnit [_pos, group player]" 

onPlayerConnected(statement) V:2.10 0xb40cff

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

onPlayerConnecting(statement) V:101590 0xb40d8a

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

onPlayerDisconnected(statement) V:2.10 0xb40e15

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

deleteTeam(team) Agents V:2.90 0xb413c1

Destroy given team.

C Func: 0x7a15a4 ScriptInfo: 0xde4964


deleteTeam _team 

enableSimulWeather(enable) V: 0xb41a24

Enables/Disables simul weather

C Func: 0x7744a6 ScriptInfo: 0xde4b48

reloadSimulWeather(filename) V: 0xb41aab

Reload parameters of simul weather from the config

C Func: 0x7bc7a2 ScriptInfo: 0xde4b74

setSimulWeatherRenderMode(renderMode) V: 0xb41b32

Sets rendering mode of simul weather (0=primitiveUP, 1=vertex buffer, 2=vertex buffer async

C Func: 0x7744f2 ScriptInfo: 0xde4ba0

SimulLoadSeq(filename) V: 0xb41bb9

Loads sequencer file

C Func: 0x7a272f ScriptInfo: 0xde4bcc

SimulSetCloudWidth() V: 0xb41dd5

Simul weather command

C Func: 0x76f688 ScriptInfo: 0xde4c7c

SimulSetCloudLength() V: 0xb41e58

Simul weather command

C Func: 0x76f885 ScriptInfo: 0xde4ca8

SimulSetCloudHeight() V: 0xb41edb

Simul weather command

C Func: 0x76fa82 ScriptInfo: 0xde4cd4

SimulSetHumidity() V: 0xb41f5e

Simul weather command

C Func: 0x76fc7f ScriptInfo: 0xde4d00

SimulSetCentreX() V: 0xb41fe1

Simul weather command

C Func: 0x770087 ScriptInfo: 0xde4d2c

SimulSetCentreY() V: 0xb42064

Simul weather command

C Func: 0x770284 ScriptInfo: 0xde4d58

SimulSetCloudBaseZ() V: 0xb420e7

Simul weather command

C Func: 0x770481 ScriptInfo: 0xde4d84

SimulSetGridLength() V: 0xb4216a

Simul weather command

C Func: 0x77067e ScriptInfo: 0xde4db0

SimulSetGridWidth() V: 0xb421ed

Simul weather command

C Func: 0x770889 ScriptInfo: 0xde4ddc

SimulSetGridHeight() V: 0xb42270

Simul weather command

C Func: 0x770a94 ScriptInfo: 0xde4e08

SimulSetRandomSeed() V: 0xb422f3

Simul weather command

C Func: 0x770c9f ScriptInfo: 0xde4e34

SimulSetNoiseResolution() V: 0xb42376

Simul weather command

C Func: 0x770eaa ScriptInfo: 0xde4e60

SimulSetNoiseOctaves() V: 0xb423f9

Simul weather command

C Func: 0x7710b5 ScriptInfo: 0xde4e8c

SimulSetNoisePersistence() V: 0xb4247c

Simul weather command

C Func: 0x7712c0 ScriptInfo: 0xde4eb8

SimulSetNoisePeriod() V: 0xb424ff

Simul weather command

C Func: 0x7714bd ScriptInfo: 0xde4ee4

SimulSetOpticalDensity() V: 0xb42582

Simul weather command

C Func: 0x7716bd ScriptInfo: 0xde4f10

SimulSetFractalAmplitude() V: 0xb42605

Simul weather command

C Func: 0x7718bd ScriptInfo: 0xde4f3c

SimulSetFractalWavelength() V: 0xb42688

Simul weather command

C Func: 0x771abd ScriptInfo: 0xde4f68

SimulSetAlphaSharpness() V: 0xb4270b

Simul weather command

C Func: 0x771cbd ScriptInfo: 0xde4f94

SimulSetExtinction() V: 0xb4278e

Simul weather command

C Func: 0x7720cb ScriptInfo: 0xde4fc0

SimulSetLightResponse() V: 0xb42811

Simul weather command

C Func: 0x7722cb ScriptInfo: 0xde4fec

SimulSetAmbientLightResponse() V: 0xb42894

Simul weather command

C Func: 0x7724cb ScriptInfo: 0xde5018

SimulSetSecondaryLightResponse() V: 0xb42917

Simul weather command

C Func: 0x7726cb ScriptInfo: 0xde5044

SimulSetSelfShadowScale() V: 0xb4299a

Simul weather command

C Func: 0x7728cb ScriptInfo: 0xde5070

SimulSetLightDetail() V: 0xb42a1d

Simul weather command

C Func: 0x772acb ScriptInfo: 0xde509c

SimulSetMieAsymmetry() V: 0xb42aa0

Simul weather command

C Func: 0x772cca ScriptInfo: 0xde50c8

SimulSetMinimumLightElevationDegrees() V: 0xb42b23

Simul weather command

C Func: 0x772eca ScriptInfo: 0xde50f4

SimulSetDiffusivity() V: 0xb42ba6

Simul weather command

C Func: 0x7730ca ScriptInfo: 0xde5120

SimulSetAtmosphereThickness() V: 0xb42c29

Simul weather command

C Func: 0x7732ca ScriptInfo: 0xde514c

SimulSetHaze() V: 0xb42cac

Simul weather command

C Func: 0x7734c7 ScriptInfo: 0xde5178

SimulSetHazeScaleHeightKm() V: 0xb42d2f

Simul weather command

C Func: 0x7736c4 ScriptInfo: 0xde51a4

SimulSetHazeBaseHeightKm() V: 0xb42db2

Simul weather command

C Func: 0x7738c1 ScriptInfo: 0xde51d0

SimulSetMieEccentricity() V: 0xb42e35

Simul weather command

C Func: 0x773abe ScriptInfo: 0xde51fc

SimulSetOvercast() V: 0xb42eb8

Simul weather command

C Func: 0x773cbb ScriptInfo: 0xde5228

SimulSetOvercastBaseKm() V: 0xb42f3b

Simul weather command

C Func: 0x773ebb ScriptInfo: 0xde5254

SimulSetOvercastRangeKm() V: 0xb42fbe

Simul weather command

C Func: 0x7740bb ScriptInfo: 0xde5280

SimulSetHelperNearCloudFade() V: 0xb43041

Simul weather command

C Func: 0x7742bb ScriptInfo: 0xde52ac

SimulSetWrap() V: 0xb430c4

Simul weather command

C Func: 0x76fe7c ScriptInfo: 0xde52d8

SimulSetThinLayer() V: 0xb43147

Simul weather command

C Func: 0x771ebd ScriptInfo: 0xde5304

SimulSetHelperGrid() V: 0xb431ca

Simul weather command

C Func: 0x7b1acf ScriptInfo: 0xde5330

SimulSetHelperDetail() V: 0xb43249

Simul weather command

C Func: 0x7b1d5d ScriptInfo: 0xde535c

SimulSetFog() V: 0xb432c8

Simul weather command

C Func: 0x7b1fe5 ScriptInfo: 0xde5388

setIdentity(person, identity) V: 0xb43417

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" 

setFaceanimation(person, blink) V: 0xb434b2

Sets the facial animation phase (eye blinking). Blink is in the range from 0 to 1.

C Func: 0x780426 ScriptInfo: 0xde6860


setFaceAnimation 0.5 

setFace(person, soldier) V: 0xb4354d

Sets the person's face.

C Func: 0x793482 ScriptInfo: 0xde6894


setFace "Face10" 

setMimic(person, mimic) V: 0xb435e8

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" 

setFlagTexture(flag, texture) V: 0xb43683

Sets the flag texture. If the texture is "", the flag is not drawn.

C Func: 0x793512 ScriptInfo: 0xde68fc


setFlagTexture "usa_vlajka.pac" 

flagLower(flag, low) V: 0xb4371e

Lower / raise the flag.

C Func: 0x7804c5 ScriptInfo: 0xde6930


flagObj flagLower 1 

switchLight(lamppost, mode) V: 0xb43858

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" 

inflame(fireplace, burn) V: 0xb438f3

Controls fireplace buring. Set to true to inflame the fireplace.

C Func: 0x780a10 ScriptInfo: 0xde69cc


fireplaceOne inflame true 

addRating(unit, number) V: 0xb4398e

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 

setPos(obj, pos) V: 0xb43acd

Sets the object position. The pos array uses the Position format.

C Func: 0x77f3a8 ScriptInfo: 0xde6a68


player setPos [getpos player select 0, getpos player select 1 + 10] 

setPosASL(obj, pos) V:2.53 0xb43b68

Sets the object position. The pos array uses the PositionASL format.

C Func: 0x77f013 ScriptInfo: 0xde6a9c


player setPosASL [getPosASL player select 0, getPosASL player select 1 + 10, getPosASL select 2] 

setPosATL(obj, pos) V:2.53 0xb43c07

Sets the object position. The pos array uses the PositionATL format.

C Func: 0x77f260 ScriptInfo: 0xde6ad0


player setPosASL [getPosATL player select 0, getPosATL player select 1 + 10, getPosATL select 2] 

setPosASL2(obj, pos) V:2.53 0xb43ca6

Sets the object position. The pos array uses the PositionASL format. The version of the command does not offset based on object center.

C Func: 0x76bb2c ScriptInfo: 0xde6b04

setDir(obj, heading) V: 0xb43d41

Sets the object heading. The accepted heading range is from 0 to 360.

C Func: 0x77f57b ScriptInfo: 0xde6b38


player setDir 180 

setVelocity(vehicle, [x, z, y]) V:1.80 0xb43ddc

Sets the velocity (speed vector) of a vehicle.

C Func: 0x77f72b ScriptInfo: 0xde6b6c

setDammage(obj, dammage) V: 0xb43e77

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 

setDamage(object, damage) V:1.50 0xb43f12

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 setDammage. It was introduced to fix a spelling error in the original function name.

C Func: 0x78032a ScriptInfo: 0xde6bd4


player setdamage 1 

requestDamage(object, damage) V: 0xb43fb1

Request server to damage the object. Damage is [owner,position,ammo,component]

C Func: 0x7aa9df ScriptInfo: 0xde6c08

allowDamage(obj, allow) V: 0xb44048

Obsolete.

C Func: 0x780346 ScriptInfo: 0xde6c3c

allowDammage(obj, allow) V: 0xb440df

Obsolete.

C Func: 0x780399 ScriptInfo: 0xde6c70

flyInHeight(helicopter, height) V: 0xb44176

Sets the height level for the helicopter. The accepted range is from 50 to 1000.

C Func: 0x77fabd ScriptInfo: 0xde6ca4


cobraOne flyInHeight 150 

setMarkerPos(markerName, pos) V: 0xb44211

Moves the marker. The format of pos is Position2D. The marker is modified on all computers in a network session.

C Func: 0x797c51 ScriptInfo: 0xde6cd8


"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo" 

setMarkerPosLocal(markerName, pos) V:2.92 0xb442b0

Moves the marker. The format of pos is Position2D. The marker is only modified on the computer where the command is called.

C Func: 0x797b79 ScriptInfo: 0xde6d0c


"MarkerOne" setMarkerPosLocal getMarkerPos "MarkerTwo" 

setMarkerType(markerName, markerType) V: 0xb44353

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" 

setMarkerTypeLocal(markerName, markerType) V:2.92 0xb443ef

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" 

setMarkerSize(marker, size) V:1.21 0xb4448f

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] 

setMarkerSizeLocal(marker, size) V:2.92 0xb44532

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] 

setMarkerColor(marker, color) V:1.21 0xb445d5

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" 

setMarkerColorLocal(marker, color) V:2.92 0xb44675

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" 

setMagazineAmmo(magazine, ammo count) V: 0xb4484f

Set the ammo count of given magazine.

C Func: 0x77ded1 ScriptInfo: 0xde6ee0


magazine setMagazineAmmo 30 

addWeapon(unit, weaponName) V: 0xb44989

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" 

removeWeapon(unit, weaponName) V: 0xb44a24

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" 

addMagazine(unit, weaponName) V: 0xb44abf

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" 

addMagazine(unit, [weaponName, ammo count]) V: 0xb44b5a

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] 

addMagazineTurret(transport, [weaponName, turret path]) V: 0xb44bf5

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" 

removeMagazine(unit, weaponName) V: 0xb44c90

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" 

removeMagazineTurret(transport, [weaponName, turret path]) V: 0xb44d2b

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]] 

removeMagazines(unit, weaponName) V: 0xb44dc6

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" 

removeMagazinesTurret(transport, [weaponName, turret path]) V: 0xb44e61

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]] 

addBackpack(unit, backpackName) V: 0xb44efc

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" 

selectWeapon(unit, weapon) V:1.27 0xb44f97

Selects the given weapon. For weapon values see CfgWeapons.

C Func: 0x7bb3fa ScriptInfo: 0xde7150


soldierOne selectWeapon "LAWLauncher" 

fire(unit, weaponName) V: 0xb45036

The unit will fire from the given weapon.

C Func: 0x79132c ScriptInfo: 0xde7184


soldierOne fire "HandGrenade" 

fire(unit, array) V: 0xb450d1

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"] 

land(helicopter, mode) V: 0xb4516c

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" 

say(unit or [unit, target], speechName) V: 0xb45207

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" 

say(unit or [unit, target], speechName) V:1.75 0xb452a6

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

globalRadio(unit, radioName) V: 0xb45345

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" 

vehicleRadio(unit, radioName) V: 0xb453e0

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" 

directSay(unit, radioName) V:5501 0xb4547b

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" 

globalChat(unit, chatText) V: 0xb4551a

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" 

vehicleChat(unit, chatText) V: 0xb455b9

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" 

useAudioTimeForMoves(soldier, toggle) V: 0xb45658

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 

playMove(soldier, moveName) V: 0xb456f3

When used on a person, a smooth transition to the given move will be initiated.

C Func: 0x7bd9fa ScriptInfo: 0xde73c0


soldierOne playMove "Stand" 

switchMove(soldier, moveName) V: 0xb4578e

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" 

playAction(soldier, action) V:5500 0xb45829

When used on a person, a smooth transition to the given action will be initiated.

C Func: 0x7ab909 ScriptInfo: 0xde7428


soldierOne playAction "SitDown" 

switchAction(soldier, action) V:5500 0xb458c8

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" 

playMove(soldier, moveName) V: 0xb45967

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'}] 

playAction(soldier, action) V:5500 0xb45a02

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'}] 

setUnitPos(unit, mode) V: 0xb45f9d

Sets the unit position rules. Mode may be one of: "DOWN", "UP" or "AUTO".

C Func: 0x79160c ScriptInfo: 0xde7698


soldierOne setUnitPos "Down" 

enableAIFeature(feature, enabled) V:60220 0xb46038

Enable/disable given AI feature. Feature may be one of: "AwareFormationSoft", "CombatFormationSoft".

C Func: 0x79182f ScriptInfo: 0xde76cc


"AwareFormationSoft" enableAIFeature true 

lock(vehicle, lock) V: 0xb460db

Locks the vehicle (disables mounting / dismounting) for the player.

C Func: 0x781ea9 ScriptInfo: 0xde7700


jeepOne lock true 

lock(vehicle, lock) V: 0xb46176

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 

stop(unit, stop) V: 0xb46211

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 

disableAI(unit, section) V: 0xb462ac

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" 

enableAI(unit, section) V:2.53 0xb46347

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" 

moveInCommander(soldier, vehicle) V: 0xb463e6

Moves the soldier into the vehicle's commander position. (Immediatetely, without animation).

C Func: 0x78b956 ScriptInfo: 0xde7804


soldierOne moveInCommander jeepOne 

moveInDriver(soldier, vehicle) V: 0xb4647d

Moves the soldier into the vehicle's driver position. (Immediately, without animation).

C Func: 0x78ba4d ScriptInfo: 0xde7838


soldierOne moveInDriver jeepOne 

moveInGunner(soldier, vehicle) V: 0xb46514

Moves the soldier into the vehicle's gunner position. (Immediately, without animation).

C Func: 0x78bb47 ScriptInfo: 0xde786c


soldierOne moveInGunner jeepOne 

moveInCargo(soldier, vehicle) V: 0xb465ab

Moves the soldier into the vehicle's cargo position. (Immediately, without animation).

C Func: 0x78bc3e ScriptInfo: 0xde78a0


soldierOne moveInCargo jeepOne 

moveInCargo(soldier, [vehicle, CargoIndex]) V: 0xb46642

Moves the soldier into a vehicle's specified cargo position. (Immediately, without animation).

C Func: 0x78be0e ScriptInfo: 0xde78d4


soldierOne moveInCargo jeepOne 

moveInTurret(soldier, [vehicle, turret path]) V: 0xb466dd

Moves the soldier into the vehicle's turret. (Immediately, without animation).

C Func: 0x7ac4bf ScriptInfo: 0xde7908


soldierOne moveInTurret [tank, [0, 0]] 

setVelocityTransformation(soldier, [position1, position2, velocity1, velocity2, direction1, direction2, up1, up2, time]) V: 0xb46778

interpolates and sets vectors. Time has to be from <0,1>

C Func: 0x77fb59 ScriptInfo: 0xde793c

objStatus(objective, status) V: 0xb4680f

Sets the briefing objective status. Status may be one of: "ACTIVE", "FAILED", "DONE" or "HIDDEN".

C Func: 0x796328 ScriptInfo: 0xde7970


"obj_1" objStatus "FAILED" 

exec(argument, script) V: 0xb468ab

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" 

setOvercast(time, overcast) V: 0xb469ed

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 

setFog(time, fog) V: 0xb46a89

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 

setWindForce(time, wind) V: 0xb46b25

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 

setRain(time, rainDensity) V:1.75 0xb46bc1

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 

setFuel(vehicle, amount) V: 0xb46c61

Sets the fuel amount. A fuel level of one is a full gas tank.

C Func: 0x77d62b ScriptInfo: 0xde7adc


jeepOne setFuel 0 

setFuelCargo(vehicle, amount) V: 0xb46cfc

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 

setRepairCargo(vehicle, amount) V: 0xb46d97

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 

setAmmoCargo(vehicle, ammoCargo) V: 0xb46e32

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 

addWeaponCargo(unit, weapons) V: 0xb46ecd

Adds weapons to the weapon cargo space. This is used for infantry weapons. The format of weapons is [weaponName, count]. For weaponName values see CfgWeapons.

C Func: 0x790863 ScriptInfo: 0xde7bac


rearmTruckOne addWeaponCargo ["M16", 10] 

addMagazineCargo(unit, magazines) V: 0xb46f68

Adds magazines to the weapon cargo space. This is used for infantry weapons. The format of magazines is [magazineName, count]. For magazineName values see CfgWeapons.

C Func: 0x790a0b ScriptInfo: 0xde7be0


rearmTruckOne addMagazineCargo ["M16", 10] 

fadeMusic(time, volume) V: 0xb47149

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 

fadeSound(time, volume) V: 0xb471e5

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 

fadeRadio(time, volume) V: 0xb47281

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 

cameraEffect(camera, effect) V: 0xb4731d

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"] 

camSetPos(camera, position) V: 0xb47457

Sets the camera position (format Position). It does not automatically commit changes.

C Func: 0x78123b ScriptInfo: 0xde7d80


_camera camSetPos getPos player 

camSetRelPos(camera, position) V: 0xb474f2

Sets the camera position relative to the current position of the currect target (see camSetTarget). It does not automatically commit changes.

C Func: 0x78142b ScriptInfo: 0xde7db4


_camera camSetRelPos [10,5] 

camSetFov(camera, fieldOfView) V: 0xb4758d

Sets the camera field of view (zoom). It does not automatically commit changes.

C Func: 0x781495 ScriptInfo: 0xde7de8


_camera camSetFov 0.1 

camSetFocus(camera, focusRange) V: 0xb47628

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] 

camSetFovRange(camera, fovRange) V: 0xb476c3

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] 

camSetDive(camera, dive) V: 0xb4775e

Sets the camera dive angle. It does not automatically commit changes.

C Func: 0x7815e2 ScriptInfo: 0xde7e84


_camera camSetDive -0.1 

camSetBank(camera, bank) V: 0xb477f9

Sets the camera bank angle. It does not automatically commit changes.

C Func: 0x7815e2 ScriptInfo: 0xde7eb8


_camera camSetBank -0.1 

camSetDir(camera, direction) V: 0xb47894

Sets the camera heading. It does not automatically commit changes.

C Func: 0x781602 ScriptInfo: 0xde7eec


_camera camSetDir 150 

camCommit(camera, time) V: 0xb4792f

Commits the camera changes smoothly over time. A time of zero results in an immediate change.

C Func: 0x78176a ScriptInfo: 0xde7f20


_camera camCommit 5 

camSetTarget(camera, target) V: 0xb479ca

Sets the camera target. It does not automatically commit changes.

C Func: 0x7816ac ScriptInfo: 0xde7f54


_camera camSetTarget player 

camSetTarget(camera, position) V: 0xb47a61

Sets the camera target to a position (format Position). It does not automatically commit changes.

C Func: 0x78171b ScriptInfo: 0xde7f88


_camera camSetTarget getPos player 

camPreparePos(camera, position) V:2.95 0xb47afc

Prepares the camera position (format Position). See also camPreload and camCommitPrepared.

C Func: 0x7817a8 ScriptInfo: 0xde7fbc


_camera camPreparePos getPos player 

camPrepareRelPos(camera, position) V:2.95 0xb47b9b

Prepares the camera position relative to the current position of the currect target (see camPrepareTarget). See also camPreload and camCommitPrepared.

C Func: 0x7817f7 ScriptInfo: 0xde7ff0


_camera camPrepareRelPos [10,5] 

camPrepareFov(camera, fieldOfView) V:2.95 0xb47c3a

Prepares the camera field of view (zoom). See also camPreload and camCommitPrepared.

C Func: 0x781861 ScriptInfo: 0xde8024


_camera camPrepareFov 0.1 

camPrepareFocus(camera, focusRange) V:2.95 0xb47cd9

focusRange is in format [distance,blur]. Prepares the camera focus blur. See also camPreload and camCommitPrepared.

C Func: 0x7818ab ScriptInfo: 0xde8058


_camera camPrepareFocus [50, 1] 

camPrepareFovRange(camera, fovRange) V:2.95 0xb47d78

Prepares the camera field of view range for auto zooming. See also camPreload and camCommitPrepared.

C Func: 0x76bb2c ScriptInfo: 0xde808c


_camera camPrepareFovRange [0.1, 0.5] 

camPrepareDive(camera, dive) V:2.95 0xb47e17

Prepares the camera dive angle. See also camPreload and camCommitPrepared.

C Func: 0x7815e2 ScriptInfo: 0xde80c0


_camera camPrepareDive -0.1 

camPrepareBank(camera, bank) V:2.95 0xb47eb6

Prepares the camera bank angle. See also camPreload and camCommitPrepared.

C Func: 0x7815e2 ScriptInfo: 0xde80f4


_camera camPrepareBank -0.1 

camPrepareDir(camera, direction) V:2.95 0xb47f55

Prepares the camera heading. See also camPreload and camCommitPrepared.

C Func: 0x7815e2 ScriptInfo: 0xde8128


_camera camPrepareDir 150 

camCommitPrepared(camera, time) V:2.95 0xb47ff4

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 

camPreload(camera, time) V:2.95 0xb48093

Preload the scene for he prepared camera. Time gives timeout, zero means no (infinite) timeout.

C Func: 0x781a59 ScriptInfo: 0xde8190


_camera camCommit 5 

camPrepareTarget(camera, target) V:2.95 0xb48132

Prepares the camera target. See also camPreload and camCommitPrepared.

C Func: 0x781984 ScriptInfo: 0xde81c4


_camera camPrepareTarget player 

camPrepareTarget(camera, position) V:2.95 0xb481cd

Prepares the camera target to a position (format Position). See also camPreload and camCommitPrepared.

C Func: 0x7819cc ScriptInfo: 0xde81f8


_camera camPrepareTarget getPos player 

camCommand(camera, command) V: 0xb4826c

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" 

camConstuctionSetParams(camera, [[x,y,z],radius, max above land]) V:5501 0xb48307

Sets construction camera parameters.

C Func: 0x78128a ScriptInfo: 0xde8260


_camera camConstuctionSetParams [getpos player,50,20] 

switchCamera(unit, mode) V: 0xb483a6

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" 

action(unit, action) V: 0xb48441

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] 

setUserActionText(unit, [action index, "text", "textDefault", "textToolTip"]) V:83363 TOH 0xb4857f

Change action texts

C Func: 0x79259f ScriptInfo: 0xde8330


player VehSetUserActionText [0, "hello"] 

removeAction(unit, index) V:1.11 0xb4861e

Removes the action with the given id.

C Func: 0x77eb62 ScriptInfo: 0xde8364


player removeAction 0 

reveal(unit, object) V: 0xb486bd

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 

reveal(unit, [object, accuracy]) V: 0xb48754

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] 

removeEventHandler(object, handler) V:1.85 0xb48892

Removes event handler added by addEventHandler. Format of handler is [type,index]. Index is returned by addEventHandler. When any handler is removed, all handler indices higher that the deleted one should be decremented.

C Func: 0x7928a2 ScriptInfo: 0xde8434


player removeEventHandler ["killed",0] 

removeAllEventHandlers(object, handlerType) V:1.85 0xb48931

Removes all event handlers of the given type which were added by addEventHandler.

C Func: 0x79299e ScriptInfo: 0xde8468


player removeAllEventHandlers "killed" 

engineOn(vehicle, on) V:1.90 0xb489d0

Switches the vehicle's engine on (true) or off (false).

C Func: 0x782841 ScriptInfo: 0xde849c


vehicle player engineOn false 

setMarkerText(name, text) V:1.86 0xb48a6f

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. 

setMarkerTextLocal(name, text) V:2.92 0xb48b0f

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. 

setMarkerShape(name, shape) V:1.86 0xb48baf

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" 

setMarkerShapeLocal(name, shape) V:2.92 0xb48c4f

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" 

setMarkerBrush(name, brush) V:1.86 0xb48cef

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" 

setMarkerBrushLocal(name, brush) V:2.92 0xb48d8f

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" 

setMarkerDir(name, angle) V:1.86 0xb48e2f

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 

setMarkerDirLocal(name, angle) V:2.92 0xb48ed2

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 

hintC(title, text) V:2.01 0xb48f75

Creates a hint dialog with the given title and text.

C Func: 0x7b6381 ScriptInfo: 0xde8670

hintC(title, text) V:2.01 0xb49011

Creates a hint dialog with the given title and text.

C Func: 0x7b6574 ScriptInfo: 0xde86a4

hintC(title, [text1, text2, ...]) V:2.01 0xb490b0

Creates a hint dialog with the given title and text. Texts can be plain or structured.

C Func: 0x7b6574 ScriptInfo: 0xde86d8

setVehiclePosition(object, [position, markers, placement]) V:2.32 0xb491f6

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] 

setVehicleVarName(object, name) V:2.32 0xb49295

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" 

setVehicleArmor(object, value) V:2.32 0xb49334

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 

setVehicleAmmo(object, value) V:2.32 0xb493d3

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 

setVehicleId(object, id) V:2.33 0xb49472

Sets id (integer value) to vehicle. By this id vehicle is referenced by triggers and waypoints.

C Func: 0x782f7c ScriptInfo: 0xde8810


player setVehicleId 1 

setUnitRank(unit, rank) V:2.33 0xb49511

Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.

C Func: 0x79df23 ScriptInfo: 0xde8844


player setUnitRank "COLONEL" 

setRank(unit, rank) V:2.92 0xb495b0

Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.

C Func: 0x79dfdf ScriptInfo: 0xde8878


player setRank "COLONEL" 

setUnitAbility(unit, skill) V:2.33 0xb4964f

Sets skill of given unit. Skill may vary from 0.2 to 1.0.

C Func: 0x782f9c ScriptInfo: 0xde88ac


player setUnitSkill 1.0 

setVehicleLock(vehicle, state) V:2.33 0xb496ee

Set how vehicle is locked for player. Possible values: UNLOCKED, DEFAULT or LOCKED.

C Func: 0x79dffb ScriptInfo: 0xde88e0


veh1 setVehicleLock "LOCKED" 

setVehicleInit(vehicle, statement) V:2.33 0xb4978d

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" 

setParticleParams(particleSource, array) V:2.56 0xb49973

Set parameters to particle source. Array is in format ParticleArray.

C Func: 0x5f9ca7 ScriptInfo: 0xde89b0

setParticleRandom(particleSource, [lifeTime, position, moveVelocity, rotationVelocity, size, color, randomDirectionPeriod, randomDirectionIntensity, {angle}]) V:2.56 0xb49a0e

Set randomization of particle source parameters.

C Func: 0x5f073f ScriptInfo: 0xde89e4

setParticleCircle(particleSource, [radius, velocity]) V:2.56 0xb49aa9

Update particle source to create particles on circle with given radius. Velocity is transformed and added to total velocity.

C Func: 0x5f078b ScriptInfo: 0xde8a18

setDropInterval(particleSource, interval) V:2.56 0xb49b44

Set interval of emitting particles from particle source.

C Func: 0x5f0894 ScriptInfo: 0xde8a4c


_source setDropInterval 0.05 

setCameraInterest(entity, interest) V:2.57 0xb49be3

Set camera interest for given entity.

C Func: 0x7823f6 ScriptInfo: 0xde8a80


_soldier setCameraInterest 50 

setLightColor(light, [r, g, b]) V:2.58 0xb49c82

Set diffuse color of light.

C Func: 0x7acda9 ScriptInfo: 0xde8ab4

setLightAmbient(light, [r, g, b]) V:2.58 0xb49d1d

Set ambient color of light.

C Func: 0x7ace90 ScriptInfo: 0xde8ae8

setLightBrightness(light, brightness) V:2.58 0xb49db8

Set brightness of light.

C Func: 0x78242c ScriptInfo: 0xde8b1c

lightAttachObject(light, [object, position]) V:2.58 0xb49e53

Attach light to given object (at given position).

C Func: 0x7acf77 ScriptInfo: 0xde8b50

setVectorUp(object, [x, z, y]) V:2.61 0xb49eee

Set object's up vector. Direction vector will remain unchanged.

C Func: 0x7ae2ae ScriptInfo: 0xde8b84

setVectorDir(object, [x, z, y]) V:2.61 0xb49f89

Set object's direction vector. Up vector will remain unchanged.

C Func: 0x7ae4af ScriptInfo: 0xde8bb8

setVectorDirAndUp(object, [[x, z, y],[x, y, z]]) V:5164 0xb4a024

Set object's direction and up vector

C Func: 0x7ae6d8 ScriptInfo: 0xde8bec

moveTo(person, position) V:2.61 0xb4a162

Low level command to person to move to given position. Position is expected to be in ATL format.

C Func: 0x78373c ScriptInfo: 0xde8c54

limitSpeed(object, speed) V:2.92 0xb4a481

Limit speed of given vehicle to given value (in km/h).

C Func: 0x783d0b ScriptInfo: 0xde8d58

setPiPEffect(pipTargetName, effect) V:2.61 0xb4a5bf

C Func: 0x794e7e ScriptInfo: 0xde8dc0


rendertarget0 setPiPEffect [0, 0, [], [], []] 

say3D(unit or [unit, target], speechName) V:5501 0xb4a65e

Functionally same as Say, only difference is sound played as 3D allways.

C Func: 0x7ab38a ScriptInfo: 0xde8df4


soldierOne say "speechId" 

say3D(unit or [unit, target], speechName) V:5501 0xb4a701

Functionally same as Say, only difference is sound played as 3D allways.

C Func: 0x7ab38a ScriptInfo: 0xde8e28

say2D(unit or [unit, target], speechName) V:5501 0xb4a7a0

Functionally same as Say, only difference is sound played as 2D (mono) allways.

C Func: 0x7ab36c ScriptInfo: 0xde8e5c


soldierOne say "speechId" 

say2D(unit or [unit, target], speechName) V:5501 0xb4a843

Functionally same as Say, only difference is sound played as 2D (mono) allways.

C Func: 0x7ab36c ScriptInfo: 0xde8e90

setVariable(object, [name, value, public]) V:2.92 0xb4a8e2

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

setQuantity(object, value) V:DayZ 0xb4a97d

Set quantity to given value in the variable space of given object.

C Func: 0x790f6d ScriptInfo: 0xde8ef8


_item setQuantity 4 

setDestination(object, [position, planningMode, forceReplan]) V:2.92 0xb4abfd

Set the destination for path planning of the pilot.

C Func: 0x7aef98 ScriptInfo: 0xde8fc8

forceSpeed(object, speed) V:2.92 0xb4ac98

Force the speed of the given object.

C Func: 0x783d47 ScriptInfo: 0xde8ffc

suppressFor(unit, timeToSuppress) V:59874 0xb4af04

Makes the unit to apply suppressive fire on known enemies.

C Func: 0x783f9b ScriptInfo: 0xde90cc

setHideBehind(object, [objectWhereHide, hidePosition]) V:2.92 0xb4af9f

It sets the data for hiding. ObjectWhereHide can be taken using findCover. HidePosition can be taken using getHideFrom.

C Func: 0x78cb4e ScriptInfo: 0xde9100

enableReload(object, enable) V:2.92 0xb4b03a

Enable / disable reload right after magazine is empty.

C Func: 0x784109 ScriptInfo: 0xde9134


_vehicle enableReload false 

setUnitPosWeak(unit, mode) V:5117 0xb4b0d9

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" 

cutText(layer, effect) V:5126 0xb4b178

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"] 

cutRsc(layer, effect) V:5126 0xb4b21b

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"] 

cutObj(layer, effect) V:5126 0xb4b2be

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"] 

cutFadeOut(layer, duration) V:5126 0xb4b361

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 

addPublicVariableEventHandler(name, code) V: 0xb4b739

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"} 

enableSimulation(entity, enable) V: 0xb4b7dc

Enable / disable simulation for given entity.

C Func: 0x7828c8 ScriptInfo: 0xde93a4

disableConversation(unit, lock) V: 0xb4b877

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 

onMapSingleClick(parameters, command) V:5500 0xb4b916

Defines an action performed when the user clicks on the map. Command receives:

_pos array position
_units array selected units
_shift,_alt bool key state
_this any parameters passed to this function

If the click is processed, command should return true.

C Func: 0x76df63 ScriptInfo: 0xde940c


"SoldierEG" onMapSingleClick "_this createUnit [_pos, group player]" 

setFSMVariable(FSM handle, [name, value]) V:5501 0xb4b9b9

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

playMoveNow(soldier, moveName) V:5501 0xb4bafb

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" 

playActionNow(soldier, action) V:5501 0xb4bb9a

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" 

attachTo(obj, [obj, offset, MemPoint]) V:5501 0xb4bc39

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] 

setUnconscious(unit, set) V:5501 0xb4bcd8

Set / reset the unconscious life state of the given unit (in MP works only for a local unit).

C Func: 0x781104 ScriptInfo: 0xde9544

setMarkerAlpha(marker, alpha) V:5501 0xb4bd73

Sets the marker alpha. The marker is modified on all computers in a network session.

C Func: 0x798932 ScriptInfo: 0xde9578


"MarkerOne" setMarkerAlpha 0.5 

setMarkerAlphaLocal(marker, alpha) V:5501 0xb4be10

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 

ctrlMapCursor(control, texture names) V:5501 0xb4bf57

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"] 

setHit(object, [part, damage]) V:2.30 0xb4bffa

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] 

setHitPointDamage(object, [part, damage]) V:2.30 0xb4c099

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] 

lockDriver(vehicle, lock) V:5501 0xb4c138

Lock the driver position of the vehicle.

C Func: 0x782015 ScriptInfo: 0xde96b0

lockTurret(vehicle, [turret path, lock]) V:5501 0xb4c1d3

Lock the gunner position of the vehicle turret.

C Func: 0x7ac629 ScriptInfo: 0xde96e4

lockCargo(vehicle, [cargo index, lock]) V:5501 0xb4c26e

Lock the cargo position of the vehicle.

C Func: 0x7ac6f2 ScriptInfo: 0xde9718

lockCargo(vehicle, lock) V:5501 0xb4c309

Lock the all cargo positions of the vehicle.

C Func: 0x782056 ScriptInfo: 0xde974c

mapCenterOnCamera(control, enable) V:5501 0xb4c808

Enable / disable continuous centering the map on the camera position

C Func: 0x778ad4 ScriptInfo: 0xde98ec

debugFSM(FSM handle, true) V:5501 0xb4c94e

Switch FSM debug log on/off.

C Func: 0x76e06d ScriptInfo: 0xde9954


BIS_grpMainFSM debugFSM true 

forceWalk(player, force walk) V:5501 0xb4cb37

Force player to walk.

C Func: 0x782a49 ScriptInfo: 0xde99f0


player forceWalk true 

glanceAt(unit, position) V:2.40 0xb4cdbf

Control what the unit is glancing at (target or position) (format Position)

C Func: 0x77eb26 ScriptInfo: 0xde9ac0


someSoldier glanceAt otherSoldier; otherSoldier glanceAt getMarkerPos "markerOne" 

lookAt(unit, position) V:2.40 0xb4ce5e

Control what the unit is looking at (target or position) (format Position)

C Func: 0x77eb44 ScriptInfo: 0xde9af4


someSoldier lookAt otherSoldier; otherSoldier lookAt getMarkerPos "markerOne" 

setAirportSide(airportId, side) V:2.92 0xb4cfa0

Set owner of the airport

C Func: 0x76bb3a ScriptInfo: 0xde9b5c


0 setAirportSide east 

landAt(airplane, airportId) V:2.92 0xb4d043

Order AI airplane to land at given airport

C Func: 0x77fb07 ScriptInfo: 0xde9b90


plane landAt 0 

assignToAirport(airplane, airportId) V:2.92 0xb4d0e2

Set airport to be used by AI on getout

C Func: 0x7801f4 ScriptInfo: 0xde9bc4


plane assignToAirport 0 

hideObject(object, hidden) V:2.92 0xb4d181

Hide object (cannot hide static objects).

C Func: 0x7822b9 ScriptInfo: 0xde9bf8


player hideObject true 

setCamUseTi(bool, mode index) V: 0xb4d220

Activate camera thermal vision

C Func: 0x76e79c ScriptInfo: 0xde9c2c

setVehicleTiPars(vehicle, tiParams) V: 0xb4d2bb

Set ti parameters for specified vehicle, pars: engine/body, tracks/wheels, main gun.

C Func: 0x7838c6 ScriptInfo: 0xde9c60

fadeSpeech(time, volume) V: 0xb4d352

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 

disableTIEquipment(vehicle, enable/disable) V: 0xb4d3ee

Enable/disable transport vision modes(Ti)

C Func: 0x780ca7 ScriptInfo: 0xde9cc8

loadMagazine(vehicle, [[turret path],magazine name]) V:86244 0xb4d528

Initiates the loading action on active weapon of the given turret.

C Func: 0x7bb79e ScriptInfo: 0xde9d30


vehicle player loadMagazine [[0],"m256","20Rnd_120mmHE_M1A2"] 

allowCrewInImmobile(vehicle, bool) V:86244 0xb4d5c7

If true, units can be in vehicle with broken tracks/wheels.

C Func: 0x780d4d ScriptInfo: 0xde9d64


vehicle allowCrewInImmobile true 

enableCopilot(vehicle, enable) V:TOH 0xb4d666

Enables copilot actions.

C Func: 0x780f16 ScriptInfo: 0xde9d98

disableCollisionWith(vehicle, vehicle) V:TOH 85355 0xb4d701

Disable collision between vehicles.

C Func: 0x782916 ScriptInfo: 0xde9dcc

enableCollisionWith(vehicle, vehicle) V:TOH 85355 0xb4d798

Enable collision between vehicles.

C Func: 0x782970 ScriptInfo: 0xde9e00

setUnitRecoilCoefficient(unit, coefficient) V:90707 0xb4d82f

Proportionaly increase/decrease unit's recoil.

C Func: 0x780dc2 ScriptInfo: 0xde9e34


soldier setUnitRecoilCoefficient 0.5 

publicVariableClient(clientId, varName) V: 0xb4d96d

Send the variable value to the client computer. Only type Number is supported in versions 1.33 and before. The following types are supported since 1.34: Number, Boolean, Object and Group.

C Func: 0x7969c7 ScriptInfo: 0xde9e9c


3 publicVariableClient "CTFscoreOne" 

spawnForPlayer(player, codeToSpawn) V: 0xb4da10

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)} 

spawnForPlayer(player, codeToSpawn) V: 0xb4dab3

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'} 

spawnForClient(clientId, codeToSpawn) V: 0xb4db52

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)} 

spawnForClient(clientId, codeToSpawn) V: 0xb4dbf5

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'} 

selectPlayer(clientId, object) V:101590 0xb4e0f5

On server machine, change the person controlled by a given client.

C Func: 0x783187 ScriptInfo: 0xdea10c

dbServerLoadCharacter(id, code) V:102145 DayZ 0xb4e190

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;}] 

moveToHands(person, item) V:DayZ 0xb4e233

Take given item to hands.

C Func: 0x781095 ScriptInfo: 0xdea174


_person moveToHands _item 

moveToDirect(person, position) V:DayZ 0xb4e2ce

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

setTargetCategory(unit, category) V:109903 0xb4e369

Set target category for setTargetDistanceLimit

C Func: 0x798c0f ScriptInfo: 0xdea1dc


_unit setTargetCategory 'player' 

setTargetDistanceLimit(categories, distance) V:109903 0xb4e408

Set target tracking limit for a given unit and target category

C Func: 0x7ad06a ScriptInfo: 0xdea210


['player','player'] setTargetDistanceLimit 500 

setTargetDistanceLimit(categories, distance) V:109903 0xb4e4ab

Set target tracking limit for a given unit for all target categories

C Func: 0x7ad06a ScriptInfo: 0xdea244


'player' setTargetDistanceLimit 500 

synchronizeVariable(entity, [name, importance]) V:DayZ 0xb4e54e

Subscribe variable for synchronization.

C Func: 0x7ba038 ScriptInfo: 0xdea278

setObjectMaterial(object, [index, name]) V:DayZ 0xb4e5e9

C Func: 0x7c2452 ScriptInfo: 0xdea2ac

powerOn(inventoryItem, true/false) V:DayZ 0xb4e680

Switch inventory item On/Off. One cannot powerOn an item with no power supplies left.

C Func: 0x78058a ScriptInfo: 0xdea2e0

kbAddTopic(person, [name, filename(, task type(, player event handler))]) V:2.92 0xb4eb96

Register conversation topic to given person.

C Func: 0x7af11c ScriptInfo: 0xdea480

kbRemoveTopic(person, name) V:2.92 0xb4ec31

Unregister conversation topic from given person.

C Func: 0x79f081 ScriptInfo: 0xdea4b4

kbTell(person, [receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...]) V:2.92 0xb4eccc

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

kbReact(person, [receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...]) V:5500 0xb4ed6b

Pass a non-verbal communication to the receiver.

C Func: 0x7af437 ScriptInfo: 0xdea51c

drawIcon(map, [texture, color, position, width, height, angle, text, shadow]) V:2.35 0xb4ef44

Draw icon in map.

C Func: 0x7c0668 ScriptInfo: 0xdea5b8

drawLine(map, [position1, position2, color]) V:2.35 0xb4efe3

Draw line in map.

C Func: 0x7841a7 ScriptInfo: 0xdea5ec

drawArrow(map, [position1, position2, color]) V:2.35 0xb4f082

Draw arrow in map.

C Func: 0x78427c ScriptInfo: 0xdea620

drawEllipse(map, [center, a, b, angle, color, fill]) V:2.35 0xb4f121

Draw ellipse in map.

C Func: 0x7c09c4 ScriptInfo: 0xdea654

drawRectangle(map, [center, a, b, angle, color, fill]) V:2.35 0xb4f1c0

Draw rectangle in map.

C Func: 0x7c0c2f ScriptInfo: 0xdea688

ctrlEnable(control, enable) V:2.50 0xb4f3a5

Enable / disable given control.

C Func: 0x778b8c ScriptInfo: 0xdea724


_control ctrlEnable false 

ctrlShow(control, show) V:2.50 0xb4f448

Show / hide given control.

C Func: 0x778bc8 ScriptInfo: 0xdea758


_control ctrlShow false 

ctrlSetText(control, text) V:2.50 0xb4f4eb

Sets the text that will be shown in given control.

C Func: 0x79f6d9 ScriptInfo: 0xdea78c


_control ctrlSetText "Hello, world." 

ctrlSetFont(control, name) V:2.50 0xb4f58e

Sets the main font of given control.

C Func: 0x79f752 ScriptInfo: 0xdea7c0


_control ctrlSetFont "TahomaB" 

ctrlSetFontHeight(control, height) V:2.50 0xb4f631

Sets the main font size of given control.

C Func: 0x778c54 ScriptInfo: 0xdea7f4


_control ctrlSetFontHeight 0.05 

ctrlSetFontH1(control, name) V:2.50 0xb4f6d4

Sets H1 font of given HTML control.

C Func: 0x79f7c6 ScriptInfo: 0xdea828


_control ctrlSetFontH1 "TahomaB" 

ctrlSetFontH2(control, name) V:2.50 0xb4f777

Sets H2 font of given HTML control.

C Func: 0x79f842 ScriptInfo: 0xdea85c


_control ctrlSetFontH2 "TahomaB" 

ctrlSetFontH3(control, name) V:2.50 0xb4f81a

Sets H3 font of given HTML control.

C Func: 0x79f8be ScriptInfo: 0xdea890


_control ctrlSetFontH3 "TahomaB" 

ctrlSetFontH4(control, name) V:2.50 0xb4f8bd

Sets H4 font of given HTML control.

C Func: 0x79f93d ScriptInfo: 0xdea8c4


_control ctrlSetFontH4 "TahomaB" 

ctrlSetFontH5(control, name) V:2.50 0xb4f960

Sets H5 font of given HTML control.

C Func: 0x79f9bc ScriptInfo: 0xdea8f8


_control ctrlSetFontH5 "TahomaB" 

ctrlSetFontH6(control, name) V:2.50 0xb4fa03

Sets H5 font of given HTML control.

C Func: 0x79fa3b ScriptInfo: 0xdea92c


_control ctrlSetFontH6 "TahomaB" 

ctrlSetFontP(control, name) V:2.50 0xb4faa6

Sets P font of given HTML control.

C Func: 0x79faba ScriptInfo: 0xdea960


_control ctrlSetFontP "TahomaB" 

ctrlSetFontH1B(control, name) V:2.50 0xb4fb49

Sets H1 bold font of given HTML control.

C Func: 0x79fb39 ScriptInfo: 0xdea994


_control ctrlSetFontH1B "TahomaB" 

ctrlSetFontH2B(control, name) V:2.50 0xb4fbec

Sets H2 bold font of given HTML control.

C Func: 0x79fbb5 ScriptInfo: 0xdea9c8


_control ctrlSetFontH2B "TahomaB" 

ctrlSetFontH3B(control, name) V:2.50 0xb4fc8f

Sets H3 bold font of given HTML control.

C Func: 0x79fc31 ScriptInfo: 0xdea9fc


_control ctrlSetFontH3B "TahomaB" 

ctrlSetFontH4B(control, name) V:2.50 0xb4fd32

Sets H4 bold font of given HTML control.

C Func: 0x79fcb0 ScriptInfo: 0xdeaa30


_control ctrlSetFontH4B "TahomaB" 

ctrlSetFontH5B(control, name) V:2.50 0xb4fdd5

Sets H5 bold font of given HTML control.

C Func: 0x79fd2f ScriptInfo: 0xdeaa64


_control ctrlSetFontH5B "TahomaB" 

ctrlSetFontH6B(control, name) V:2.50 0xb4fe78

Sets H6 bold font of given HTML control.

C Func: 0x79fdae ScriptInfo: 0xdeaa98


_control ctrlSetFontH6B "TahomaB" 

ctrlSetFontPB(control, name) V:2.50 0xb4ff1b

Sets P bold font of given HTML control.

C Func: 0x79fe2d ScriptInfo: 0xdeaacc


_control ctrlSetFontPB "TahomaB" 

ctrlSetFontHeightH1(control, height) V:2.50 0xb4ffbe

Sets H1 font size of given HTML control.

C Func: 0x778c88 ScriptInfo: 0xdeab00


_control ctrlSetFontHeightH1 0.05 

ctrlSetFontHeightH2(control, height) V:2.50 0xb50061

Sets H2 font size of given HTML control.

C Func: 0x778cbb ScriptInfo: 0xdeab34


_control ctrlSetFontHeightH2 0.05 

ctrlSetFontHeightH3(control, height) V:2.50 0xb50104

Sets H3 font size of given HTML control.

C Func: 0x778cee ScriptInfo: 0xdeab68


_control ctrlSetFontHeightH3 0.05 

ctrlSetFontHeightH4(control, height) V:2.50 0xb501a7

Sets H4 font size of given HTML control.

C Func: 0x778d24 ScriptInfo: 0xdeab9c


_control ctrlSetFontHeightH4 0.05 

ctrlSetFontHeightH5(control, height) V:2.50 0xb5024a

Sets H5 font size of given HTML control.

C Func: 0x778d5a ScriptInfo: 0xdeabd0


_control ctrlSetFontHeightH5 0.05 

ctrlSetFontHeightH6(control, height) V:2.50 0xb502ed

Sets H6 font size of given HTML control.

C Func: 0x778d90 ScriptInfo: 0xdeac04


_control ctrlSetFontHeightH6 0.05 

ctrlSetFontP(control, height) V:2.50 0xb50390

Sets P font size of given HTML control.

C Func: 0x778dc6 ScriptInfo: 0xdeac38


_control ctrlSetFontHeightP 0.05 

ctrlSetPosition(control, [x, y, w, h]) V:2.50 0xb50433

Sets wanted position and size for control animation. Width and height are optional.

C Func: 0x77905a ScriptInfo: 0xdeac6c


_control ctrlSetPosition [0.5, 0.5] 

ctrlSetScale(control, scale) V:5501 0xb504d6

Sets wanted scale for control animation. Top left corner remains same.

C Func: 0x7791a2 ScriptInfo: 0xdeaca0


_control ctrlScale 0.5 

ctrlSetAutoScrollSpeed(control, speed) V:5501 0xb50579

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 

ctrlSetAutoScrollDelay(control, delay) V:5501 0xb5061c

Sets number of second before auto-scroll starts.

C Func: 0x779281 ScriptInfo: 0xdead08


_control ctrlSetAutoScrollDelay 5 

ctrlSetAutoScrollRewind(control, delay) V:5501 0xb506bf

Defines if scroll should rewind when auto-scroll reach end.

C Func: 0x779314 ScriptInfo: 0xdead3c


_control ctrlSetAutoScrollDelay 5 

ctrlSetFade(control, fade) V:2.50 0xb50762

Sets wanted transparency for control animation.

C Func: 0x7793b4 ScriptInfo: 0xdead70


_control ctrlSetFade 1 

ctrlCommit(control, time) V:2.50 0xb50805

Commit control animation.

C Func: 0x779404 ScriptInfo: 0xdeada4


_control ctrlCommit 2 

ctrlSetBackgroundColor(display, color) V:2.50 0xb5094f

Sets background color of given control. Color is in format Color.

C Func: 0x7b0143 ScriptInfo: 0xdeae0c


_control ctrlSetBackgroundColor [1, 0, 0, 1] 

ctrlSetForegroundColor(display, color) V:2.50 0xb509f2

Sets background color of given control. Color is in format Color.

C Func: 0x7b0184 ScriptInfo: 0xdeae40


_control ctrlSetForegroundColor [1, 0, 0, 1] 

ctrlSetTextColor(display, color) V:2.50 0xb50a95

Sets text color of given control. Color is in format Color.

C Func: 0x7b01c5 ScriptInfo: 0xdeae74


_control ctrlSetTextColor [1, 0, 0, 1] 

ctrlSetActiveColor(display, color) V:2.50 0xb50b38

Sets text color of given control when control is selected. Color is in format Color.

C Func: 0x7b0206 ScriptInfo: 0xdeaea8


_control ctrlSetActiveColor [1, 0, 0, 1] 

ctrlSetTooltip(display, text) V:2.92 0xb50bdb

Sets tooltip text of given control.

C Func: 0x79feac ScriptInfo: 0xdeaedc


_control ctrlSetTooltip "tooltip" 

ctrlSetTooltipColorText(display, color) V:2.92 0xb50c7e

Sets tooltip text color of given control. Color is in format Color.

C Func: 0x7b0247 ScriptInfo: 0xdeaf10


_control ctrlSetTooltipColorText [1, 0, 0, 1] 

ctrlSetTooltipColorBox(display, color) V:2.92 0xb50d21

Sets tooltip border color of given control. Color is in format Color.

C Func: 0x7b0284 ScriptInfo: 0xdeaf44


_control ctrlSetTooltipColorBox [1, 0, 0, 1] 

ctrlSetTooltipColorShade(display, color) V:2.92 0xb50dc4

Sets tooltip background color of given control. Color is in format Color.

C Func: 0x7b02c1 ScriptInfo: 0xdeaf78


_control ctrlSetTooltipColorShade [1, 0, 0, 1] 

createDisplay(parent, name) V:2.53 0xb510e7

Create child display of given display and load from resource "name".

C Func: 0x7a0cbf ScriptInfo: 0xdeb07c


_display createDisplay "RscObserver" 

closeDisplay(display, exitcode) V:2.53 0xb5118a

Close given display.

C Func: 0x76ee26 ScriptInfo: 0xdeb0b0


_display closeDisplay IDC_OK 

htmlLoad(control, filename) V:2.53 0xb5122d

Load HTML from file to given control.

C Func: 0x79ff21 ScriptInfo: 0xdeb0e4


_control htmlLoad "briefing.html" 

ctrlSetStructuredText(control, structured text) V:2.53 0xb512d0

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" 

ctrlSetEventHandler(control, [handler name, function]) V:2.54 0xb51373

Sets given event handler of given control

C Func: 0x7b02fe ScriptInfo: 0xdeb14c


_control ctrlSetEventHandler ["KeyDown", ""] 

displaySetEventHandler(display, [handler name, function]) V:2.54 0xb51416

Sets given event handler of given display.

C Func: 0x7b05b3 ScriptInfo: 0xdeb180


_control displaySetEventHandler ["KeyDown", ""] 

setSkill(vehicle, [type, skill]) V:2.65 0xb51603

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] 

lbSetCurSel(control, index) V:2.91 0xb516a2

Selects the item with the given index of the given listbox or combobox.

C Func: 0x779611 ScriptInfo: 0xdeb250


_control lbSetCurSel 0 

lbDelete(control, index) V:2.91 0xb517ec

Removes the item with the given index from the given listbox or combobox.

C Func: 0x779662 ScriptInfo: 0xdeb2b8


_control lbDelete 0 

lbSetData(control, [index, data]) V:2.91 0xb519dd

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"] 

lbSetValue(control, [index, value]) V:2.91 0xb51b27

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] 

lbSetPicture(control, [index, name]) V:2.91 0xb51c71

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"] 

lbSetColor(control, [index, color]) V:2.91 0xb51dbb

Sets the text color of the item with the given index of the given listbox or combobox. Color is in format Color.

C Func: 0x7b0a6e ScriptInfo: 0xdeb48c


_control lbSetColor [0, [0, 1, 0, 0.5]] 

lbSetSelected(control, [index, selected]) V:5501 0xb51f05

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] 

lnbSetCurSelRow(control, row) V:5501 0xb51fa8

Selects the item with the given index of the given listbox or combobox.

C Func: 0x779857 ScriptInfo: 0xdeb528


_control lbSetCurSel row 

lnbSetColumnsPos(control, [pos1,pos2,...]) V:5501 0xb5204b

Set position of 2d listbox columns.

C Func: 0x77cbc1 ScriptInfo: 0xdeb55c


_control lbSetColumnsPos [pos1,pos2,...] 

lnbDeleteColumn(control, index) V:5501 0xb52195

Removes the item with the given index from the given listbox or combobox.

C Func: 0x779972 ScriptInfo: 0xdeb5c4


_control lbDelete 0 

lnbDeleteRow(control, row) V:5501 0xb522df

Removes row with the given index from the given listbox or combobox.

C Func: 0x7798b6 ScriptInfo: 0xdeb62c


_control lnbDelete 0 

lnbSetText(control, [[row, column], text]) V:5501 0xb52429

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"] 

lnbSetData(control, [[row, column], data]) V:5501 0xb52573

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"] 

lnbSetValue(control, [[row, column], value]) V:5501 0xb526bd

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] 

lnbSetPicture(control, [[row, column], name]) V:5501 0xb52807

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"] 

lnbSetColor(control, [[row, column], color]) V:5501 0xb52951

Sets the text color of the item with the given position of the given 2D listbox . Color is in format Color.

C Func: 0x7b0ca9 ScriptInfo: 0xdeb834


_control lnbSetColor [[row, column], [0, 1, 0, 0.5]] 

buttonSetAction(control, action) V:2.91 0xb529f4

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""" 

sliderSetPosition(control, pos) V:2.92 0xb52a97

Sets the current thumb position of the given slider.

C Func: 0x779cd1 ScriptInfo: 0xdeb89c


_control sliderSetPosition 0 

sliderSetRange(control, [min, max]) V:2.92 0xb52b3a

Sets the limits of the slider with id idc of the given slider.

C Func: 0x7b0e39 ScriptInfo: 0xdeb8d0


_control sliderSetRange [0, 10] 

sliderSetSpeed(control, [line, page]) V:2.92 0xb52bdd

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] 

ctrlMapAnimAdd(map, frame) V:1.92 0xb52c80

Adds the next frame to the map animation. The format of frame is [time, zoom, position], the format of position is Position2D.

C Func: 0x784597 ScriptInfo: 0xdeb938


_map ctrlMapAnimAdd [1, 0.1, getMarkerPos "anim1"] 

progressSetPosition(control, pos) V:2.92 0xb52fb7

Sets the current position in the progress bar.

C Func: 0x77a0f9 ScriptInfo: 0xdeba3c


_control sliderSetPosition 0 

ctrlRemoveEventHandler(control, [handler name, id]) V:5501 0xb53101

Remove a given event handler from the given control.

C Func: 0x7b04c8 ScriptInfo: 0xdebaa4


_control ctrlRemoveEventHandler ["KeyDown", 0] 

ctrlRemoveAllEventHandlers(control, handler name) V:5501 0xb531a4

Remove all even handlers from the given control.

C Func: 0x7a0004 ScriptInfo: 0xdebad8


_control ctrlRemoveAllEventHandlers "KeyDown" 

displayRemoveEventHandler(display, [handler name, id]) V:5501 0xb532ee

Remove a given event handler from the given display.

C Func: 0x7b077d ScriptInfo: 0xdebb40


_display displayRemoveEventHandler ["KeyDown", 0] 

displayRemoveAllEventHandlers(display, handler name) V:5501 0xb53391

Remove all even handlers from the given display.

C Func: 0x7a0036 ScriptInfo: 0xdebb74


_display displayRemoveAllEventHandlers "KeyDown" 

jExecFSM(className, args) V:85126 0xb534d7

Creates a JVM object representing a FSM, pass it arguments and register it for execution.

C Func: 0x7a28c1 ScriptInfo: 0xdebbdc

jAddPanel(className, [x, y, width, height]) V:86290 0xb53576

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

radioChannelSetLabel(channel index, label) V:81375 TOH 0xb53615

Set the custom channel label.

C Func: 0x7a23c9 ScriptInfo: 0xdebc44

radioChannelSetCallSign(channel index, call sign) V:81375 TOH 0xb536b4

Set the custom channel call sign.

C Func: 0x7a24f5 ScriptInfo: 0xdebc78

radioChannelAdd(channel index, units array) V:81375 TOH 0xb53753

Add the units to the custom radio channel.

C Func: 0x78d23d ScriptInfo: 0xdebcac

radioChannelRemove(channel index, units array) V:81375 TOH 0xb537f2

Remove the units from the custom radio channel.

C Func: 0x7a2641 ScriptInfo: 0xdebce0

customRadio(unit, [chan ix, string]) V:81375 TOH 0xb53891

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"] 

customChat(unit, [chan ix, string]) V:81375 TOH 0xb53930

Sends the chat message to the custom radio channel.

C Func: 0x794197 ScriptInfo: 0xdebd48


sweetBoy customChat [1,"Hi, any sweetgirls to chat?"] 

statusChat(clientId, statusText) V: 0xb539cf

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"] 

animate(object, [animation, phase]) V:1.75 0xb53dd4

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] 

setSkill(vehicle, skill) V:1.75 0xb53f16

Sets ability levell of person (commander unit). Value of skill may vary from 0 to 1.

C Func: 0x77dcd8 ScriptInfo: 0xdebf1c


hero setSkill 1 

setObjectTexture(object, texture) V:1.75 0xb53fb5

C Func: 0x7bd895 ScriptInfo: 0xdebf50

addTeamMember(team, member) Agents V:2.90 0xb54194

Add given member to given team.

C Func: 0x7ba986 ScriptInfo: 0xdebfec


_team addTeamMember _teamMember 

removeTeamMember(team, member) V:2.90 0xb54237

Remove given member from given team.

C Func: 0x7ba9d1 ScriptInfo: 0xdec020


_team removeTeamMember _teamMember 

addResources(teamMember, [resource1, resource2, ...]) V:2.90 0xb54410

Add (register) resources to the team member.

C Func: 0x7b7079 ScriptInfo: 0xdec0bc


teamMember _agent addResources ["Arms", "Legs"] 

deleteResources(teamMember, [resource1, resource2, ...]) V:2.90 0xb544af

Delete (unregister) resources of the team member.

C Func: 0x7b8704 ScriptInfo: 0xdec0f0


teamMember _agent deleteResources ["Legs"] 

setFormation(team, formation) V:2.90 0xb5454e

Set a new formation to given team.

C Func: 0x7a190c ScriptInfo: 0xdec124


_team setFormation "Wedge" 

setFromEditor(teamMember, fromEditor) V:2.90 0xb545ed

Set if given team member was inserted directly from editor.

C Func: 0x76f076 ScriptInfo: 0xdec158


_teamMember setFromEditor true 

setVariable(teamMember, [name, value, public]) V:2.92 0xb5468c

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] 

setLeader(team, leader) V:2.92 0xb54869

Set the leader of given team.

C Func: 0x78d165 ScriptInfo: 0xdec228

forEachMember(command, team) V:2.92 0xb54900

Executes the given command for each member of the team (recursively).

C Func: 0x7a1b76 ScriptInfo: 0xdec25c

forEachMemberTeam(command, team) V:2.92 0xb5499b

Executes the given command for each team member of the team (recursively).

C Func: 0x7a1c87 ScriptInfo: 0xdec290

forEachMemberAgent(command, team) V:2.92 0xb54a36

Executes the given command for each agent member of the team (recursively).

C Func: 0x7a1d98 ScriptInfo: 0xdec2c4

setCombatMode(teamMember, mode) V: 0xb54ad1

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, b) V: 0xb5ca22

a raised to the power of b

C Func: 0x95ef5d ScriptInfo: 0xdf3718


count^4 

*(a) V: 0xb5cad7

a multiplied by b

C Func: 0x95ee9a ScriptInfo: -0x1


iCounter*3 

/(a) V: 0xb5cb64

a divided by b

C Func: 0x962523 ScriptInfo: 0xdf3780


enemyStrenght/3 

%(a) V: 0xb5cbf1

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 

mod(a) V: 0xb5cc82

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 

atan2(x, y) V: 0xb5cd13

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) V: 0xb5cda8

a plus b

C Func: 0x95ee44 ScriptInfo: -0x1


counter + 1 

-(a) V: 0xb5ce35

a minus b

C Func: 0x95ee6f ScriptInfo: -0x1


counter - 1 

count(condition, array) V: 0xb5d9f7

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] 

find(array, x) V:2.92 0xb5dbd2

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 

min(a) V: 0xb5e50a

The smaller of a,b

C Func: 0x95eec5 ScriptInfo: 0xdf403c


3 min 2 

max(a) V: 0xb5e59b

The greater of a,b

C Func: 0x95ef11 ScriptInfo: 0xdf4070


3 max 2 

sin(x) V: 0xb5e7f4

The sine of x, the argument is in degrees.

C Func: 0x95f245 ScriptInfo: 0xdf2d38


sin 30 

random() V: 0xb5e8a4

The random real value from 0 to x. (0<=random<1)

C Func: 0x95f218 ScriptInfo: 0xdf2d64


random 1 

cos() V: 0xb5e921

The cosine of x, the argument is in degrees.

C Func: 0x95f27e ScriptInfo: 0xdf2d90


cos 60 

tg() V: 0xb5e9a2

The tangens of x, the argument is in degrees.

C Func: 0x95f2d5 ScriptInfo: 0xdf2dbc


tg 45 

tan() V: 0xb5ea23

The tangens of x, the argument is in degrees.

C Func: 0x95f32e ScriptInfo: 0xdf2de8


tan 45 

asin() V: 0xb5eaa4

The arcsine of x, the result is in degrees.

C Func: 0x95f347 ScriptInfo: 0xdf2e14


asin 0.5 

acos() V: 0xb5eb25

The arccosine of x, the result is in degrees.

C Func: 0x95f384 ScriptInfo: 0xdf2e40


acos 0.5 

atg() V: 0xb5eba6

The arctangens of x, the result is in degrees.

C Func: 0x95f3c1 ScriptInfo: 0xdf2e6c


atg 1 

atan() V: 0xb5ec27

The arctangens of x, the result is in degrees.

C Func: 0x95f3fd ScriptInfo: 0xdf2e98


atan 1 

deg() V: 0xb5eca8

Converts x from radians to degrees.

C Func: 0x95f1f1 ScriptInfo: 0xdf2ec4


deg 1 

rad() V: 0xb5ed29

Converts x from degrees to radians.

C Func: 0x95f1ca ScriptInfo: 0xdf2ef0


rad 180 

log() V: 0xb5edaa

The base-10 logarithm of x.

C Func: 0x95f460 ScriptInfo: 0xdf2f1c


log 10 

ln() V: 0xb5ee2b

The natural logarithm of x.

C Func: 0x95f481 ScriptInfo: 0xdf2f48


ln 10 

exp() V: 0xb5eeac

The exponential value of x.

C Func: 0x95f4a2 ScriptInfo: 0xdf2f74


exp 1 

sqrt() V: 0xb5ef2d

The square root of x.

C Func: 0x95f4c2 ScriptInfo: 0xdf2fa0


sqrt 9 

abs() V: 0xb5efae

The absolute value of x.

C Func: 0x95f4df ScriptInfo: 0xdf2fcc


abs -3 

floor() V: 0xb5f02f

The floor value of x.

C Func: 0x95f4fc ScriptInfo: 0xdf2ff8


floor 5.25  

ceil() V: 0xb5f0b0

The ceil value of x.

C Func: 0x95f521 ScriptInfo: 0xdf3024


ceil 5.25 

round() V: 0xb5f131

The round value of x.

C Func: 0x95f546 ScriptInfo: 0xdf3050


round -5.25 

+(a) V: 0xb5f238

unary plus: returns a

C Func: 0x95f192 ScriptInfo: -0x1


+4 

-(a) V: 0xb5f34a

unary minus: zero minus a

C Func: 0x95f1ad ScriptInfo: -0x1


- - 3 

count(array) V: 0xb5f4d9

The number of elements in the array.

C Func: 0x95f636 ScriptInfo: 0xdf3184


count [0,0,1,2] 

parseNumber(string) V:2.92 0xb6023c

Parse string containing real number.

C Func: 0x963622 ScriptInfo: 0xdf35d0


parseNumber "0.125" 

false() V: 0xb60678

Always false.

C Func: 0x95f5f1 ScriptInfo: 0xdf2b30

setToneMapping(string) V: 0xb640c8

Set tone mapping method

C Func: 0xa0e7eb ScriptInfo: 0xdffd8c


setToneMapping "filmic" 

createLocation([type, position, sizeX, sizeZ]) V:2.90 0xb1c678

Create location of given type with given size at given position.

C Func: 0x5439b2 ScriptInfo: 0xdd2120

createTask([[type] or [type, parentTask], priority, name1, value1, name2, value2, ...]) V:2.62 0xb200fa

Create a new AI task (subtask of parentTask). Type is name of registered task type.

C Func: 0x5a5abe ScriptInfo: 0xdd3508

player() V: 0xb2e867

This is the person controlled by the player. In MP this value is different on each computer.

C Func: 0x77e1b3 ScriptInfo: 0xde55f0


alive player 

time() V: 0xb2ead5

Returns the time that elapsed since the mission started (in seconds).

C Func: 0x76b76b ScriptInfo: 0xde56b8

freeLook() V:84446 TOH 0xb31310

Returns true if freelook is active

C Func: 0x76bcaf ScriptInfo: 0xde64c8

titleCut(effect) V: 0xb33a03

Obsolete.

C Func: 0x795b89 ScriptInfo: 0xde0604

setCaptive(person, captive) V: 0xb4335c

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 

true() V: 0xb60606

Always true.

C Func: 0x95f5e1 ScriptInfo: 0xdf2b08

disableSerialization() V:5501 0xb6075b

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

ppEffectDestroy() V: 0xb64046

Create post process effect specified by name and priority

C Func: 0xa1702d ScriptInfo: 0xdffd60

locationNull() V:5501 0xb1c5e6

A non-existing location. This value is not equal to anything, including itself.

C Func: 0x0 ScriptInfo: 0xdd2484

deleteLocation() V: 0xb1c723

Delete the given location.

C Func: 0x540a6f ScriptInfo: 0xdd214c

nearestLocations([position, [types], distance, ]) V:2.92 0xb1c7a5

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

position() V:2.90 0xb1c8b3

Return (raw) position of given location.

C Func: 0x53e915 ScriptInfo: 0xdd21d0

getPos() V:5501 0xb1c934

Return (raw) position of given location.

C Func: 0x53e9dc ScriptInfo: 0xdd21fc

locationPosition() V:2.90 0xb1c9b5

Return position of given location.

C Func: 0x53eaad ScriptInfo: 0xdd2228

direction() V:2.90 0xb1ca36

Return direction (angle) of given location.

C Func: 0x53da30 ScriptInfo: 0xdd2254

size() V:2.90 0xb1cab7

Return size of given location (width, height).

C Func: 0x53eac6 ScriptInfo: 0xdd2280

type() V:2.90 0xb1cb38

Return type of given location.

C Func: 0x53fb0d ScriptInfo: 0xdd22ac

importance() V:2.90 0xb1cbb9

Return importance of given location.

C Func: 0x53da67 ScriptInfo: 0xdd22d8

name() V:2.90 0xb1cc3a

Return name of global vatiable containing given location.

C Func: 0x53fb45 ScriptInfo: 0xdd2304

className() V:80971 TOH 0xb1ccbb

Return short name of location. (used for scripting)

C Func: 0x53fb75 ScriptInfo: 0xdd2330

text() V:2.90 0xb1cd3c

Return text attached to given location.

C Func: 0x53fba5 ScriptInfo: 0xdd235c

rectangular() V:2.90 0xb1cdbd

Check if given location has rectangular shape.

C Func: 0x53da8f ScriptInfo: 0xdd2388

attachedObject() V:2.90 0xb1ce3e

Return object attached to given location.

C Func: 0x53eb3e ScriptInfo: 0xdd23b4

side() V:2.90 0xb1cebf

Return target side of given location.

C Func: 0x53dab5 ScriptInfo: 0xdd23e0

isNull() V:5501 0xb1cf40

Check whether the value is null.

C Func: 0x53dcca ScriptInfo: 0xdd240c

setPosition(location, position) V:2.90 0xb1d045

Set a new position of given location.

C Func: 0x540aa3 ScriptInfo: 0xdd24b0

setDirection(direction) V:2.90 0xb1d109

Set a new direction (angle) of given location.

C Func: 0x53daee ScriptInfo: 0xdd24e4

setSize([sizeX, sizeZ]) V:2.90 0xb1d19e

Set a new size (width, height) of given location.

C Func: 0x53db26 ScriptInfo: 0xdd2518

setType(type) V:2.90 0xb1d233

Set a new type of given location.

C Func: 0x543782 ScriptInfo: 0xdd254c

setImportance(importance) V:2.90 0xb1d2c8

Set a new importance of given location.

C Func: 0x53dbe8 ScriptInfo: 0xdd2580

setName(name) V:2.90 0xb1d35d

Set which global variable will contain given location.

C Func: 0x53fbd5 ScriptInfo: 0xdd25b4

setText(text) V:2.90 0xb1d3f2

Set a new text attached to given location.

C Func: 0x53fc21 ScriptInfo: 0xdd25e8

setRectangular(rectangular) V:2.90 0xb1d487

Set if given location has rectangular shape.

C Func: 0x53dc1a ScriptInfo: 0xdd261c

attachObject(object) V:2.90 0xb1d51c

Attach a object to given location.

C Func: 0x53eb7b ScriptInfo: 0xdd2650

setSide(side) V:2.90 0xb1d5b1

Set a new target side of given location.

C Func: 0x53dc54 ScriptInfo: 0xdd2684

setVariable([name, value]) V:2.92 0xb1d646

Set variable to given value in the variable space of given location.

C Func: 0x53fc6d ScriptInfo: 0xdd26b8

getVariable(name) V:2.92 0xb1d6db

Return the value of variable in the variable space of given location.

C Func: 0x53fd78 ScriptInfo: 0xdd26ec

in(position) V:2.92 0xb1d770

Check if the position is inside area defined by the location.

C Func: 0x53dc81 ScriptInfo: 0xdd2720

distance(location1, location2) V:5501 0xb1d805

Computes the distance between two locations or positions.

C Func: 0x53dd08 ScriptInfo: 0xdd2754

distance(location1, pos2) V:5501 0xb1d89a

Computes the distance between two locations or positions.

C Func: 0x53ddf5 ScriptInfo: 0xdd2788

distance(pos1, location2) V:5501 0xb1d933

Computes the distance between two locations or positions.

C Func: 0x53ddf5 ScriptInfo: 0xdd27bc

==(location1, location2) V: 0xb1d9cc

Checks whether two locations are the same. If either of them is null, false is returned.

C Func: 0x53de23 ScriptInfo: 0xdd27f0

!=(location1, location2) V: 0xb1da61

Checks whether two locations are different. If either of them is null, true is returned.

C Func: 0x53de5e ScriptInfo: 0xdd2824

drawLocation(map) Location PC V:2.90 0xb1daf8

Draw location in the map.

C Func: 0x53f124 ScriptInfo: 0xdd2858

taskNull() V:5153 0xb1f6a4

A non-existing task. This value is not equal to anything, including itself.

C Func: 0x0 ScriptInfo: 0xdd3474


taskNull == taskNull 

taskState(task) V:2.89 0xb1f73b

Return the state of the given task.

C Func: 0x5a6590 ScriptInfo: 0xdd3150

taskResult() V:2.92 0xb1f7e5

Return the result of the given task.

C Func: 0x5a3538 ScriptInfo: 0xdd317c

taskCompleted() V:2.89 0xb1f866

Return if task is completed. (state Succeeded, Failed or Canceled)

C Func: 0x5a2276 ScriptInfo: 0xdd31a8

taskChildren() V:2.92 0xb1f964

Return the child tasks of the specified task.

C Func: 0x5a6647 ScriptInfo: 0xdd3200

type() V:2.91 0xb1f9e5

Return the type of the task.

C Func: 0x5a6984 ScriptInfo: 0xdd322c

taskDestination() V:2.92 0xb1fa66

Returns the position of the task (as specified by destination parameter in config).

C Func: 0x5a69b4 ScriptInfo: 0xdd3258

taskDescription() V:5501 0xb1fae7

Returns the descripction of the task.

C Func: 0x5a6a8b ScriptInfo: 0xdd3284

priority() V:2.91 0xb1fb68

Return the priority of the task.

C Func: 0x5a2315 ScriptInfo: 0xdd32b0

currentTasks(teamMember) V:2.91 0xb1fbe9

List all uncompleted tasks.

C Func: 0x5a6c1d ScriptInfo: 0xdd32dc

registeredTasks(teamMember) V:2.91 0xb1fc72

List all registered task types.

C Func: 0x5a6cc6 ScriptInfo: 0xdd3308

isNull() V:5160 0xb1fcfb

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 

createDiaryLink([subject, object, text]) V:5500 0xb1fd84

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"] 

processDiaryLink(link) V: 0xb1fe12

Open the diary screen on the record specified by link.

C Func: 0x5a8745 ScriptInfo: 0xdd338c

simpleTasks(person) V:5501 0xb1fe97

Return all simple tasks assigned to given person.

C Func: 0x5a703e ScriptInfo: 0xdd33b8

registerTask(teamMember, entry name) V:2.90 0xb1ffa1

Register a new task type. Parameters are defined in the given config class (subclass of CfgTasks).

C Func: 0x5a9188 ScriptInfo: 0xdd34a0

unregisterTask(name) V:2.90 0xb20065

Unregister a task type.

C Func: 0x5a5a47 ScriptInfo: 0xdd34d4

createDiarySubject(person, [subject, display name] or [subject, display name, picture]) V:2.92 0xb20226

Create a new subject page in a log.

C Func: 0x5a8256 ScriptInfo: 0xdd3570


_index = player createDiarySubject ["myPage", "My page"] 

createDiaryRecord(person, [subject, text(, task(, state))] or [subject, [title, text](, task(, state))]) V:2.53 0xb202c3

Create a new record in a log.

C Func: 0x5a83cc ScriptInfo: 0xdd35a4


_record = player createDiaryRecord ["diary", "Kill all enemies."] 

setTaskState(task, state) V:2.89 0xb20360

Set a new state of the task.

C Func: 0x5a65ca ScriptInfo: 0xdd35d8

setTaskResult(task, [state, result]) V:2.92 0xb203f9

Set a result of the task.

C Func: 0x5a66dc ScriptInfo: 0xdd360c

sendTaskResult(task, [state, result, sentence]) V:2.92 0xb2048e

Send a result of the task to the task sender.

C Func: 0x5a67d5 ScriptInfo: 0xdd3640

==(task1, task2) V:2.92 0xb20523

Checks whether two tasks are equal.

C Func: 0x5a2394 ScriptInfo: 0xdd3674

!=(task1, task2) V:2.92 0xb205b8

Checks whether two tasks are different.

C Func: 0x5a23cf ScriptInfo: 0xdd36a8

getVariable(task, name) V:2.92 0xb2064d

Return the value of variable in the variable space of given task.

C Func: 0x5a6d6f ScriptInfo: 0xdd36dc

setVariable(task, [name, value]) V:2.92 0xb206e6

Set variable to given value in the variable space of given task.

C Func: 0x5a6e59 ScriptInfo: 0xdd3710

selectDiarySubject(person, subject) V:5500 0xb2077b

Select the subject page in a log.

C Func: 0x5a61e5 ScriptInfo: 0xdd3744

setSimpleTaskDestination(task, position) V:5500 0xb208ad

Attach a destination to the simple task. Overrides setSimpleTaskTarget.

C Func: 0x5a247a ScriptInfo: 0xdd37ac

setSimpleTaskTarget(task, [target,precise position]) V:5500 0xb20942

Attach a target to the simple task. Overrides setSimpleTaskDestination.

C Func: 0x5a24d3 ScriptInfo: 0xdd37e0


task setSimpleTaskTarget [vehicle, true] 

setSimpleTaskDescription(task, [description, descriptionShort, descriptionHUD]) V:5500 0xb209db

Attach descriptions to the simple task.

C Func: 0x5a6f39 ScriptInfo: 0xdd3814

setCurrentTask(person, task) V:5501 0xb20a70

Set the task as a current task of the person.

C Func: 0x5a240a ScriptInfo: 0xdd3848

diarySubjectExists(person, name) V: 0xb20b0a

Checks whether given subject is present in the diary of given person.

C Func: 0x5a6222 ScriptInfo: 0xdd387c

removeSimpleTask(person, task) V: 0xb20ba3

Remove a simple task from the list of simple tasks.

C Func: 0x5a8884 ScriptInfo: 0xdd38b0

players() V:103584 0xb2e8fd

List of all players on the server.

C Func: 0x7bb69c ScriptInfo: 0xde5618


{_x globalChat 'I am here'}forEach players 

isServer() V:2.92 0xb2e976

Returns true if the computer is the server.

C Func: 0x76b716 ScriptInfo: 0xde5640

playerSide() V:2.09 0xb2e9eb

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

cadetMode() V: 0xb2ec21

Returns true if the mission is played in cadet mode and false in veteran mode.

C Func: 0x76b7f5 ScriptInfo: 0xde5730

shownMap() V: 0xb2ed70

Checks whether the player has the map enabled.

C Func: 0x76c71d ScriptInfo: 0xde57a8

shownRadio() V: 0xb2ede1

Checks whether the player has the radio transmitter enabled.

C Func: 0x76c75c ScriptInfo: 0xde57d0

shownPad() V: 0xb2ee52

Checks whether the player has the notebook enabled.

C Func: 0x76c79e ScriptInfo: 0xde57f8

shownWarrant() V: 0xb2eec3

Checks whether the player has the ID card enabled. (Obsolete).

C Func: 0x76c7f8 ScriptInfo: 0xde5820

shownGps() V: 0xb2ef34

Checks whether the player has the GPS receiver enabled.

C Func: 0x76c83a ScriptInfo: 0xde5848

west() V: 0xb2efa5

The West side.

C Func: 0x0 ScriptInfo: 0xde5870

east() V: 0xb2f016

The East side.

C Func: 0x0 ScriptInfo: 0xde5898

civilian() V: 0xb2f087

The Civilian side.

C Func: 0x7788e6 ScriptInfo: 0xde58c0

resistance() V: 0xb2f0f8

The Resistance side.

C Func: 0x7788f8 ScriptInfo: 0xde58e8

sideUnknown() V:5501 0xb2f169

The unknown side.

C Func: 0x77890a ScriptInfo: 0xde5910

sideLogic() V:1.86 0xb2f1de

The Logic side.

C Func: 0x77891c ScriptInfo: 0xde5938

sideEnemy() V:1.78 0xb2f253

The Enemy side (used for renegades).

C Func: 0x77892e ScriptInfo: 0xde5960

sideFriendly() V:1.78 0xb2f2c8

The Friendly side (used for captives).

C Func: 0x778940 ScriptInfo: 0xde5988

saveGame() V: 0xb2f33d

Creates an autosave game (used for Retry).

C Func: 0x76c8d7 ScriptInfo: 0xde59b0

exit() V: 0xb2f3ae

Exits the script.

C Func: 0x702f23 ScriptInfo: 0xde59d8

enableEndDialog() V: 0xb2f41f

Enables the dialog buttons to be shown during the OnPlayerKilled script.

C Func: 0x76d149 ScriptInfo: 0xde5a00

forceEnd() V: 0xb2f490

Forces the mission to terminate.

C Func: 0x76d163 ScriptInfo: 0xde5a28

importProxies() V: 0xb2f501

Loads binary file with proxy data for further usage by other methods.

C Func: 0x76cfb2 ScriptInfo: 0xde5a50

dbLoadHost() V: 0xb2f572

C Func: 0x7bf527 ScriptInfo: 0xde5a78


Load server host adress from config. 

exitGame() V: 0xb2f5eb

Exit game.

C Func: 0x76e194 ScriptInfo: 0xde5aa0

getSystemTime() V: 0xb2f65c

Get system time in array, yyyy.mm.dd.hh.mm.

C Func: 0x79772f ScriptInfo: 0xde5ac8

mapAnimClear() V:1.27 0xb2f814

Clears the map animation.

C Func: 0x76c63d ScriptInfo: 0xde5b68

mapAnimCommit() V:1.27 0xb2f889

Plays the map animation.

C Func: 0x76c684 ScriptInfo: 0xde5b90

mapAnimDone() V:1.27 0xb2f8fe

Checks whether the map animation has finished.

C Func: 0x76c6cb ScriptInfo: 0xde5bb8

cameraOn() V:1.56 0xb2f973

Returns the vehicle to which the camera is attached.

C Func: 0x77e438 ScriptInfo: 0xde5be0

missionName() V:1.80 0xb2f9e8

Returns the name of the current mission.

C Func: 0x78c7b6 ScriptInfo: 0xde5c08

missionStart() V:1.80 0xb2fa5d

Returns the time of the mission start in format [year, month, day, hour, minute, second].

C Func: 0x783330 ScriptInfo: 0xde5c30

clearRadio() V:2.73 0xb2fad2

Clean up the content of radio protocol history.

C Func: 0x7bc0c1 ScriptInfo: 0xde5c58

wind() V:2.92 0xb2fd0b

Return the current wind vector.

C Func: 0x781a97 ScriptInfo: 0xde5d20

vehicles() V:2.92 0xb2fed3

Return a list of vehicles in the current mission.

C Func: 0x7b9093 ScriptInfo: 0xde5dc0


_vehicles = vehicles 

date() V:2.92 0xb2ff4c

Return the actual mission date and time as an array [year, month, day, hour, minute].

C Func: 0x78c618 ScriptInfo: 0xde5de8

worldName() V:2.92 0xb2ffc1

Return the name of the currently loaded world.

C Func: 0x76e181 ScriptInfo: 0xde5e10

productVersion() V: 0xb300a7

Return the product name and version, in form ["product name","product short name",version*100,build]

C Func: 0x79eebe ScriptInfo: 0xde5e60


productVersion 

copyFromClipboard() V:5500 0xb30120

Return the content of the (text) cli

C Func: 0x7918bd ScriptInfo: 0xde5e88

selectNoPlayer() V:5501 0xb30206

Switch player to no unit.

C Func: 0x76e6cb ScriptInfo: 0xde5ed8

allDead() V:5501 0xb3027b

Return a list of dead units and destroyed vehicles. Dead unit might be inside vehicle.,

C Func: 0x7b90e6 ScriptInfo: 0xde5f00

reversedMouseY() V:5501 0xb302f0

Return if mouse vertical axe is inverted.

C Func: 0x76eede ScriptInfo: 0xde5f28

getResolution() V:5501 0xb307b7

returns [width, height, 2D viewport Width, 2D viewport Height, aspect ration, UI scale]

C Func: 0x7846fb ScriptInfo: 0xde60e0

cursorTarget() V:5500 0xb3082c

This is the entity pointed to by a player's cursor.

C Func: 0x77e2be ScriptInfo: 0xde6108


alive cursorTarget 

cursorDirection() V:109142 0xb308a5

Direction of a player's cursor.

C Func: 0x77e2ff ScriptInfo: 0xde6130


alive cursorTarget 

missionNamespace() V:5501 0xb3091e

Return the global namespace attached to mission.

C Func: 0x76b811 ScriptInfo: 0xde6158

uiNamespace() V:5501 0xb30993

Return the global namespace attached to user interface.

C Func: 0x76b82a ScriptInfo: 0xde6180

parsingNamespace() V:5501 0xb30a08

Return the global namespace attached to config parser.

C Func: 0x76b86f ScriptInfo: 0xde61a8

profileNamespace() V:80872 TOH 0xb30a7d

Return the global namespace attached to user profile.

C Func: 0x76b83d ScriptInfo: 0xde61d0

saveProfileNamespace() V:80872 TOH 0xb30af2

Saves the variables stored in profileNamespace to user profile.

C Func: 0x76b856 ScriptInfo: 0xde61f8

endLoadingScreen() V:5501 0xb30b67

Finish loading screen displaying (started by startLoadingScreen).

C Func: 0x76eef4 ScriptInfo: 0xde6220

isMultiplayer() V:5501 0xb30bdc

Return true if multiPlayer.

C Func: 0x76f643 ScriptInfo: 0xde6248

isDedicated() V:5501 0xb30c51

Return true for dedicated server.

C Func: 0x95f5f1 ScriptInfo: 0xde6270

visibleMap() V:5501 0xb30cc6

Return true if the main map is shown (active).

C Func: 0x76f664 ScriptInfo: 0xde6298

cameraView() V:5501 0xb30d3b

Return type of camera.

C Func: 0x7bdc9c ScriptInfo: 0xde62c0

savingEnabled() V:5501 0xb30f03

Check if saving the game is enabled.

C Func: 0x76c94f ScriptInfo: 0xde6360

loadGame() V:5501 0xb30f78

Load a game from the autosave, if failed, restart the mission.

C Func: 0x76c90e ScriptInfo: 0xde6388

openDSInterface() V:5501 0xb30fed

Open MP interface.

C Func: 0x76c928 ScriptInfo: 0xde63b0

resetCamShake() V:5501 0xb31062

Resets all camera shakes.

C Func: 0x76e4ec ScriptInfo: 0xde63d8

saveJoysticks() V: 0xb3122a

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

HUDMovementLevels() V:83446 TOH 0xb3129b

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

lineBreak() V:2.01 0xb31386

Creates a structured text containing a line break.

C Func: 0x7789e0 ScriptInfo: 0xde64f0


txt3 = lineBreak 

libraryCredits() V:94439 0xb313ff

Copyright information needed by libraries used.

C Func: 0x79ef55 ScriptInfo: 0xde6518


libraryCredits 

libraryDisclaimers() V:94439 0xb3147c

Disclaimer information needed by libraries used (duplicate disclaimers are removed).

C Func: 0x7b6b38 ScriptInfo: 0xde6540


libraryDisclaimers 

language() V:87005 TOH 0xb3156a

Returns language.

C Func: 0x78a5e1 ScriptInfo: 0xde6590

dbIdentifyCharacter() V:98992 DayZ 0xb315df

Determine local instance UID.

C Func: 0x78c6f2 ScriptInfo: 0xde65b8

configFile() V:2.35 0xb316c9

Return root of config entries hierarchy.

C Func: 0x7ba1b6 ScriptInfo: 0xde6608

missionConfigFile() V:2.90 0xb3173e

Return root of mission description.ext entries hierarchy.

C Func: 0x7ba24e ScriptInfo: 0xde6630

controlNull() V:2.92 0xb317b3

A non-existing control. This value is not equal to anything, including itself.

C Func: 0x784351 ScriptInfo: 0xde6658

displayNull() V:2.92 0xb31828

A non-existing display. This value is not equal to anything, including itself.

C Func: 0x778b25 ScriptInfo: 0xde6680

jRemovePanel() V:86290 0xb3189d

Destroy the top most JVM panel.

C Func: 0x77460b ScriptInfo: 0xde66a8

teamMemberNull() Agents V: 0xb319f6

A non-existing team member. This value is not equal to anything, including itself.

C Func: 0x7a1786 ScriptInfo: 0xde6720


_teamMember == teamMemberNull 

teams() V:2.92 0xb31a72

Return a list of teams in the current mission.

C Func: 0x7a17ab ScriptInfo: 0xde6748


_teams = teams 

agents() V:2.92 0xb31aeb

Return a list of agents in the current mission.

C Func: 0x7baa1d ScriptInfo: 0xde6770


_agents = agents 

simulWeatherSync() V: 0xb31b64

Synchronizes SW with arma weather, generates all keyframes.

C Func: 0x774592 ScriptInfo: 0xde6798

isNull(obj) V: 0xb31be4

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 

alive() V: 0xb31c8c

Checks whether the given person, vehicle or building is't dead / destroyed.

C Func: 0x77d4d8 ScriptInfo: 0xddfcbc


alive player 

local() V: 0xb31d13

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 

requiredVersion(version) V:1.21 0xb31d9a

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" 

getDir(obj) V: 0xb32398

Returns the object heading in the range from 0 to 360.

C Func: 0x77f508 ScriptInfo: 0xddfef8


getDir player 

direction(object) V:1.50 0xb324ae

Returns the object heading in the range of 0 to 360.

C Func: 0x77f562 ScriptInfo: 0xddff50


direction player 

getDammage(obj) V: 0xb3264b

Returns the object damage in the range from 0 to 1.

C Func: 0x780287 ScriptInfo: 0xddffd4


getDammage player 

damage(object) V:1.50 0xb326d6

Returns the object damage in a range of 0 to 1. Note: this function is identical to getDammage.

C Func: 0x7802b3 ScriptInfo: 0xde0000


damage player 

speed(obj) V: 0xb32765

Returns the object speed (in km/h).

C Func: 0x780246 ScriptInfo: 0xde002c


speed player 

getMarkerType(marker) V:1.21 0xb3290a

Gets the type of the marker. See setMarkerType.

C Func: 0x797d58 ScriptInfo: 0xde00b0


getMarkerType "MarkerOne" 

markerType(markerName) V:1.50 0xb3299d

Gets the type of the marker. See setMarkerType. Note: this function is identical to getMarkerType.

C Func: 0x797e08 ScriptInfo: 0xde00dc


markerType "MarkerOne" 

markerText(markerName) V:2.92 0xb32bdd

Gets the marker text. See setMarkerText.

C Func: 0x7980b6 ScriptInfo: 0xde018c


markerText "MarkerOne" 

getMarkerColor(marker) V:1.21 0xb32c70

Gets the marker color. See setMarkerColor.

C Func: 0x7984f1 ScriptInfo: 0xde01b8


getMarkerColor "MarkerOne" 

markerColor(markerName) V:1.50 0xb32d03

Gets the marker color. See setMarkerColor. Note: this function is identical to getMarkerColor.

C Func: 0x7985a1 ScriptInfo: 0xde01e4


markerColor "MarkerOne" 

canMove(vehicle) V: 0xb32fba

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 

canFire(vehicle) V: 0xb33045

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 

canStand(soldier) V: 0xb330d0

Checks whether the given soldier is able to stand up.

C Func: 0x7803b5 ScriptInfo: 0xde0318


canStand player 

handsHit(soldier) V: 0xb3315b

Checks whether the soldier's hands are hit (causing inaccurate aiming).

C Func: 0x7803ea ScriptInfo: 0xde0344


handsHit leader player 

someAmmo(unit) V: 0xb331e6

Checks whether the unit has some ammo remaining.

C Func: 0x78a2d5 ScriptInfo: 0xde0370


someAmmo vehicle player 

fuel(vehicle) V: 0xb33271

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 

rating(unit) V: 0xb332fc

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 

flagLowered(flag) V: 0xb3362a

Check a state of the flag

C Func: 0x78048b ScriptInfo: 0xde04d0


flagLowered objFlag 

inflamed(fireplace) V:1.04 0xb336b5

Check if fireplace is inflamed (buring).

C Func: 0x780a7b ScriptInfo: 0xde04fc


inflamed fireplaceOne 

lightIsOn(lamppost) V:1.04 0xb33744

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" 

scudState(scud) V:1.28 0xb337d3

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 

side(unit) V: 0xb33862

Returns the side of the unit.

C Func: 0x781c25 ScriptInfo: 0xde0580


side player == west 

name(object) V: 0xb338ed

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 

behaviour(unit) V: 0xb33978

Returns the behaviour mode of the given unit ("CARELESS","SAFE","AWARE","COMBAT" or "STEALTH").

C Func: 0x78a4fa ScriptInfo: 0xde05d8


behaviour player 

preloadTitleRsc(effect) V: 0xb33e44

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"] 

preloadTitleObj(effect) V: 0xb33ecf

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"] 

locked(unit) V: 0xb3417e

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 

stopped(unit) V: 0xb3420d

Checks whether the unit is stopped using the "stop" command.

C Func: 0x781f4e ScriptInfo: 0xde0898


stopped jeepOne 

captive(unit) V: 0xb3429c

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 

captiveNum(unit) V: 0xb3432b

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 

format(format) V: 0xb34f01

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"] 

localize(stringName) V: 0xb34f90

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" 

camCommitted(camera) V: 0xb354fe

Checks whether the camera has finished committing.

C Func: 0x7811c3 ScriptInfo: 0xde0e9c


camCommitted _camera 

camPreloaded(camera) V:2.92 0xb3558d

Checks whether the camera has finished preloading.

C Func: 0x7811ff ScriptInfo: 0xde0ec8


camPreloaded _camera 

camTarget(camera) V:5501 0xb35620

Returns camera's target.

C Func: 0x78b677 ScriptInfo: 0xde0ef4


camTarget _camera 

openMap([show, forced]) V:5501 0xb35858

Show player's map. If forced, cannot be closed.

C Func: 0x76c50c ScriptInfo: 0xde0fa4


openMap [true,true] 

openMap(show) V:5501 0xb358e7

Show player's map. If forced, cannot be closed.

C Func: 0x76c50c ScriptInfo: 0xde0fd0


openMap true 

preprocessFile(filename) V:1.82 0xb35a94

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" 

isEngineOn(vehicle) V:1.90 0xb35b2b

Checks whether the engine is on.

C Func: 0x78280c ScriptInfo: 0xde1080


on = isEngineOn vehicle player 

createMarker([name, position]) V:1.86 0xb35c45

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] 

createMarkerLocal([name, position]) V:2.92 0xb35cd4

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] 

typeOf(object) V:1.91 0xb35e7d

Returns the name of the type of the given object.

C Func: 0x791e6c ScriptInfo: 0xde1188


typeOf player 

keyName(dikCode) V:2.01 0xb35f14

Returns the name of a button (on the keyboard, mouse or joystick) with the given code.

C Func: 0x79aa9a ScriptInfo: 0xde11b4


name = keyName 28 

keyImage(dikCode) V:2.01 0xb35fab

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 

actionKeysNames(action or [action, maxKeys]) V:2.01 0xb360d1

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" 

actionName(action) V:2.01 0xb361f3

Returns localized name of action.

C Func: 0x79ac2b ScriptInfo: 0xde1290


name = actionName "ReloadMagazine" 

actionKeysImages(action or [action, maxKeys]) V:2.01 0xb36286

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" 

image(filename) V:2.01 0xb36319

Creates a structured text containing the given image.

C Func: 0x79e468 ScriptInfo: 0xde12e8


txt1 = image "data\isniper.paa" 

text(text) V:2.01 0xb363ac

Creates a structured text containing the given plain text.

C Func: 0x79e4df ScriptInfo: 0xde1314


txt2 = text "Hello world." 

composeText([text1, text2, ...]) V:2.01 0xb3643f

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"] 

parseText(text) V:2.01 0xb364ce

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" 

formatText([format, arg1, arg2, ...]) V:2.01 0xb36561

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"] 

isKeyActive(keyName) V:2.06 0xb3670e

Checks whether the given key is active in the current user profile.

C Func: 0x7bff05 ScriptInfo: 0xde141c


ok = isKeyActive "M04" 

serverCommand(server command) V: 0xb36830

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" 

serverCommandAvailable(server command) V: 0xb368bf

Checks whether current user is able to process the specified server command. See also serverCommand

C Func: 0x798ea8 ScriptInfo: 0xde14a0


serverCommandAvailable "#kick" 

getShadowDistance() V:TOH 80934 0xb3694e

Get the shadows rendering distance.

C Func: 0x76beca ScriptInfo: 0xde14cc


_dist = setShadowDistance 

preloadSound(sound) V:2.50 0xb36b82

Make sure sound can start playing without any delay once we need it.

C Func: 0x797844 ScriptInfo: 0xde157c

preloadCamera(position) V:2.50 0xb36c11

Preload all textures and models around given position

C Func: 0x7822fa ScriptInfo: 0xde15a8

scriptDone(script) V:2.50 0xb36c9c

Check if script is already finished

C Func: 0x77a1ef ScriptInfo: 0xde15d4

createMine([type, position, markers, placement]) V:2.32 0xb36e41

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] 

createSoundSource([type, position, markers, placement]) V:2.32 0xb36ed0

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] 

createVehicle([type, position, markers, placement, special]) V:2.32 0xb36f5f

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"] 

playerOn(id) V:102176 0xb3707d

This is the person controlled by a given player.

C Func: 0x77e1e4 ScriptInfo: 0xde1708

cameraInterest(entity) V:2.57 0xb3710c

Return camera interest for given entity.

C Func: 0x7823c0 ScriptInfo: 0xde1734

surfaceIsWater([x, y]) V:2.58 0xb3719b

Returns whether water is on given position.

C Func: 0x76d01f ScriptInfo: 0xde1760

surfaceType([x, y]) V:2.58 0xb37226

Returns what surface is on given position.

C Func: 0x79798a ScriptInfo: 0xde178c

preprocessFileLineNumbers(filename) V:2.58 0xb373c3

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" 

moveToCompleted(person) V:2.62 0xb3768e

Check if latest low level moveTo command is finished.

C Func: 0x783882 ScriptInfo: 0xde18ec

moveToFailed(person) V:2.92 0xb3771d

Check if latest low level moveTo command failed.

C Func: 0x95f5f1 ScriptInfo: 0xde1918

createAgent([type, position, markers, placement, special]) V:2.89 0xb37c87

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"] 

verifySignature(filename) V:2.91 0xb37e2c

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

vehicleVarName(object) V:2.91 0xb37ebb

Returns the name of the variable which contains a reference to this object.

C Func: 0x79d94d ScriptInfo: 0xde1b80

isPlayer(person) V:2.92 0xb37fd5

Check if given person is the player.

C Func: 0x7836c5 ScriptInfo: 0xde1bd8

precision(entity) V:2.92 0xb38064

Return the precision of the given entity.

C Func: 0x783706 ScriptInfo: 0xde1c04

rank(unit) V:2.92 0xb380f3

Return the rank of the given unit.

C Func: 0x79de77 ScriptInfo: 0xde1c30

rankId(unit) V:5500 0xb38182

Return the rank of the given unit for comparison.

C Func: 0x79deca ScriptInfo: 0xde1c5c

animationState(man) V:2.92 0xb38669

Return the name of the current primary animation.

C Func: 0x7c029a ScriptInfo: 0xde1de8

unitPos(person) V:2.92 0xb386f8

Return the unit position rules.

C Func: 0x78a594 ScriptInfo: 0xde1e14

checkAIFeature(feature) V:60220 0xb38787

Check if given AI feature is currently enabled.

C Func: 0x7917be ScriptInfo: 0xde1e40

effectiveCommander(vehicle) V:2.92 0xb38816

Returns the effective commander (who really commands) of the vehicle.

C Func: 0x780bd7 ScriptInfo: 0xde1e6c

reloadEnabled(vehicle) V:2.92 0xb388a5

Check whether magazine is reloaded whenever emptied.

C Func: 0x7840da ScriptInfo: 0xde1e98

needReload(vehicle) V:2.92 0xb38934

Return how much vehicle wants to reload its weapons.

C Func: 0x78414a ScriptInfo: 0xde1ec4

isHidden(person) V:2.92 0xb38a4e

Return whether the person is hidden (reached the hiding position).

C Func: 0x78400c ScriptInfo: 0xde1f1c

assignedTarget(vehicle) V:2.92 0xb38add

Return the target assigned to the vehicle.

C Func: 0x78404b ScriptInfo: 0xde1f48

difficultyEnabled(flag) V:5127 0xb38b6c

Check if given difficulty setting is currently enabled. For possible values of flag, see config class Flags in CfgDificulties.

C Func: 0x79ee41 ScriptInfo: 0xde1f74

sizeOf(typeName) V:5160 0xb38c8a

Return the size of the entity of given type.

C Func: 0x791dc1 ScriptInfo: 0xde1fcc

execFSM(filename) V:5500 0xb38da0

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" 

completedFSM(FSM handle) V:5500 0xb38e33

Check whether the given FSM completes. The FSM handle is the number returned by the execFSM command.

C Func: 0x76ee9d ScriptInfo: 0xde2050

currentWeapon(vehicle) V:5500 0xb38f4d

Return the name of the currently selected weapon (on the primary turret for vehicles).

C Func: 0x790bb3 ScriptInfo: 0xde20a8

currentMagazine(vehicle) V:5500 0xb38fdc

Return the name of the type of the currently using magazine (on the primary turret for vehicles).

C Func: 0x790c43 ScriptInfo: 0xde20d4

simulationEnabled(entity) V:5500 0xb39181

Check if the entity has enabled simulation.

C Func: 0x782892 ScriptInfo: 0xde2158

inputAction(name) V:5500 0xb39210

Return the state of input devices mapped to given input action.

C Func: 0x79b846 ScriptInfo: 0xde2184

markerShape(name) V:5501 0xb39440

Gets the marker shape. See setMarkerShape.

C Func: 0x79bab1 ScriptInfo: 0xde2234


markerShape "MarkerOne" 

markerBrush(name) V:5501 0xb394d3

Gets the marker brush. See setMarkerBrush.

C Func: 0x79bb5e ScriptInfo: 0xde2260


markerBrush "MarkerOne" 

lifeState(unit) V:5501 0xb395f5

Returns the life state of the given unit.

C Func: 0x794b65 ScriptInfo: 0xde22b8

markerAlpha(markerName) V:5501 0xb39684

Gets the marker alpha. See setMarkerAlpha.

C Func: 0x7987ac ScriptInfo: 0xde22e4


markerAlpha "MarkerOne" 

faction(unit) V:5501 0xb39717

Gets unit faction. If faction is not defined, returns empty string.

C Func: 0x798a45 ScriptInfo: 0xde2310

owner(object) V:5501 0xb397a6

On server machine, return the ID of the client where the object is local. Otherwise return 0.

C Func: 0x7825d5 ScriptInfo: 0xde233c

lockedDriver(vehicle) V:5501 0xb39b6b

Check whether driver position of the vehicle turret is locked.

C Func: 0x7820ae ScriptInfo: 0xde2470

isOnRoad(position or object) V:5501 0xb39bfa

Check whether given position is on road.

C Func: 0x7820dd ScriptInfo: 0xde249c

unlockAchievement(name) V:5501 0xb39d18

Unlock the given achievement.

C Func: 0x7b6c15 ScriptInfo: 0xde24f4

DateToNumber(date) V:5501 0xb39da7

Convert date to float number.

C Func: 0x76f4b4 ScriptInfo: 0xde2520


time = DateToNumber [year,month,day,hour,minute] 

canUnloadInCombat(vehicle) V:5501 0xb3a31d

Check if cargo of this vehicle want to get out when in combat.

C Func: 0x77e10b ScriptInfo: 0xde26d8

showSubtitles(enable) V:5501 0xb3a3ac

Enable / disable showing of subtitles. Return the previous state.

C Func: 0x76b6ab ScriptInfo: 0xde2704

landResult(helicopter) V:5501 0xb3a43b

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

getPlayerUID(unit) V:5501 0xb3a5e0

Get unique player id.

C Func: 0x798c8a ScriptInfo: 0xde27b4

getClientUID(clientId) V:112600 0xb3a66f

Get unique player id from the clientId.

C Func: 0x798d3e ScriptInfo: 0xde27e0

sendUDPMessage([ip,port,"message"]) V:5501 0xb3a6fe

Send message to given adress using UDP protocol.

C Func: 0x95f5f1 ScriptInfo: 0xde280c

mapGridPosition(object) V:5501 0xb3a783

Returns the position as map coords.

C Func: 0x7970f8 ScriptInfo: 0xde2838


mapGridPosition player 

unitBackpack(unit) V:5501 0xb3a89a

Returns unit's backpack.

C Func: 0x7829cc ScriptInfo: 0xde2890

isForcedWalk(player) V:5501 0xb3a929

Returns true if player is forced to walk

C Func: 0x782a1a ScriptInfo: 0xde28bc

isAutoHoverOn(vehicle) V:5501 0xb3a9b8

Returns true if vehicle has enabled auto hover

C Func: 0x782a8a ScriptInfo: 0xde28e8

currentZeroing(gunner) V:5501 0xb3aa47

Returns zeroing of unit's weapon.

C Func: 0x782abf ScriptInfo: 0xde2914

currentVisionMode(gunner) V:5501 0xb3aad6

Returns vision mode of unit's weapon. 0-dayTime, 1-night vision, 2-FLIR

C Func: 0x782c56 ScriptInfo: 0xde2940

currentMuzzle(gunner) V:5501 0xb3ab65

Returns current muzzle of unit's weapon.

C Func: 0x79d984 ScriptInfo: 0xde296c

currentWeaponMode(gunner) V:5501 0xb3abf4

Returns current weapon mode of unit's weapon.

C Func: 0x79da32 ScriptInfo: 0xde2998

isManualFire(vehicle) V:5501 0xb3ac83

Returns true if manul fire is on.

C Func: 0x782cb2 ScriptInfo: 0xde29c4

isWalking(soldier) V:5501 0xb3ad12

Returns true walk is toggled.

C Func: 0x782ce1 ScriptInfo: 0xde29f0

getTerrainHeightASL([x,y]) V:1.18 0xb3b04c

Returns terrain height above sea level.

C Func: 0x76e62f ScriptInfo: 0xde2af8


 z = getTerrainHeightASL  [x,y] 

unitRecoilCoefficient(soldier) V:90707 0xb3b166

Returns unit's custom recoil coefficient.

C Func: 0x780df8 ScriptInfo: 0xde2b50


 coef = unitRecoilCoefficient player 

isTouchingGround(object) V:5501 0xb3b284

Returns true, if object is touching ground.

C Func: 0x782e35 ScriptInfo: 0xde2ba8


isTouchingGround vehicle 

morale(unit) V:5500 0xb3b5e2

Checks a current morale level of the unit (-1..+1).

C Func: 0x77d50c ScriptInfo: 0xde2cb0


morale leader player 

terrainIntersect([ position begin, position end ]) V:A3 89671 0xb3b679

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 ]; 

terrainIntersectASL([ positionASL begin, positionASL end ]) V:OA 93671 0xb3b708

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 ]; 

lineIntersects(array) V:TOH 81021 0xb3b797

Returns true, if line intersect with any object.

C Func: 0x7b7531 ScriptInfo: 0xde2d34


lineIntersects [begPos, endPos, withObj, ignoreObj] 

isCopilotEnabled(vehicle) V:TOH 81021 0xb3b93c

Returns true if copilots actions are enabled.

C Func: 0x780f83 ScriptInfo: 0xde2db8


enabled = isCopilotEnabled vehicle player 

addMissionEventHandler(handler) V:TOH 85057 0xb3ba5a

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"}] 

dbServerSaveCharacter(character or [playerUID, character]) V:101171 DayZ 0xb3be3f

Store the state of given player to the central database. Works on game server only.

C Func: 0x7ad5f5 ScriptInfo: 0xde2f44


_ok = dbServerSaveCharacter person 

dbCreateCharacter(playerUID) V:101171 DayZ 0xb3bf61

Creates new character record in database.

C Func: 0x79d4a6 ScriptInfo: 0xde2f9c


_bool = DBCreateCharacter uid 

dbKillCharacter(playerUID) V:101171 DayZ 0xb3bff4

Kill character (zero it's aliveness in database).

C Func: 0x79d556 ScriptInfo: 0xde2fc8


_bool = dbKillCharacter uid 

dbLoadCharacter(playerUID) V:101171 DayZ 0xb3c087

Load character status and inventory from database.

C Func: 0x7b9de3 ScriptInfo: 0xde2ff4


_bool = dbLoadCharacter uid 

dbSaveCharacter(playerUID) V:101171 DayZ 0xb3c11a

Save character status and inventory to database.

C Func: 0x79cf6e ScriptInfo: 0xde3020


_bool = dbSaveCharacter uid 

dbSaveInt(playerUID,Column,Value) V:101171 DayZ 0xb3c1ad

Save single column variable into database.

C Func: 0x79d137 ScriptInfo: 0xde304c


_bool = dbSaveInt uid, column, value 

dbLoadInt(playerUID,Column) V:101171 DayZ 0xb3c23c

Load single column variable from database.

C Func: 0x7b98e9 ScriptInfo: 0xde3078


_scalar = dbLoadInt uid, column 

dbSetQueue(playerUID,QueueTime) V:101171 DayZ 0xb3c35a

Increase or decrease queue time for player.

C Func: 0x79d606 ScriptInfo: 0xde30d0


_bool = dbSetQueue uid, +-time 

setTimeForScripts(time) V:105108 DayZ 0xb3c478

Temporarily set the new time limit for scripts simulation. Parameter is in seconds.

C Func: 0x76e1a9 ScriptInfo: 0xde3128


old = setTimeForScripts 0.02 

displayName(object) V:106303 DayZ 0xb3c50b

Returns the user friendly name of the object's type.

C Func: 0x79d8d5 ScriptInfo: 0xde3154


name = displayName player 

isOn(inventoryItem) V:DayZ 0xb3c59e

Returns true when inventory item is switched on.

C Func: 0x780fb2 ScriptInfo: 0xde3180


isOn myRadio 

hasPower(inventoryItem) V:DayZ 0xb3c631

Returns true when power is available for the item

C Func: 0x780fe7 ScriptInfo: 0xde31ac


hasPower myRadio 

itemInHands(person) V:DayZ 0xb3c6c4

Returns the item person hold in hands.

C Func: 0x78104e ScriptInfo: 0xde31d8


_item = itemInHands _person 

magazineAmmo(magazine) V:DayZ 0xb3c757

Returns the ammo count of the given magazine.

C Func: 0x77de43 ScriptInfo: 0xde3204


_ammoCount = magazineAmmo _magazine 

playerTarget(clientId) V:DayZ 0xb3c7ea

On server machine, find the object pointed to by a player's cursor.

C Func: 0x77e32c ScriptInfo: 0xde3230


alive playerTarget _id 

maxMagazineAmmo(magazine) V:DayZ 0xb3c87d

Returns the maximal ammo count fits to the given magazine.

C Func: 0x77de8e ScriptInfo: 0xde325c


_maxAmmoCount = maxMagazineAmmo _magazine 

itemParent(item) V:DayZ 0xb3c910

Returns the owner of the item in the hierarchy of objects.

C Func: 0x77e029 ScriptInfo: 0xde3288


_weapon = itemParent _attachment 

moveToGround(item) V:DayZ 0xb3c9a3

Drop an item that is in a players inventory or that is an attachment.

C Func: 0x78101c ScriptInfo: 0xde32b4


bool = moveToGround _attachment 

maxQuantity(item) V:DayZ 0xb3ca36

Returns the maximal quantity stacked for that item.

C Func: 0x77dfe5 ScriptInfo: 0xde32e0


_maxQuantity = maxQuantity _item 

quantity(item) V:DayZ 0xb3cac9

Returns the quantity of stacked items for a pile.

C Func: 0x77df71 ScriptInfo: 0xde330c


_q = quantity _item 

configName(config) V:2.35 0xb3cb5c

Returns name of config entry.

C Func: 0x79f049 ScriptInfo: 0xde3338


_name = configName (configFile >> "CfgVehicles") 

inheritsFrom(config) V:2.92 0xb3cbf3

Returns base entry of config entry.

C Func: 0x7ba4bb ScriptInfo: 0xde3364


_base = inheritsFrom (configFile >> "CfgVehicles" >> "Car") 

count(config) V:2.35 0xb3cc86

Returns count of subentries.

C Func: 0x76eaa4 ScriptInfo: 0xde3390


_count = count (configFile >> "CfgVehicles") 

isClass(config) V:2.35 0xb3cd19

Check if config entry represents config class.

C Func: 0x76eaf5 ScriptInfo: 0xde33bc


_ok = isClass (configFile >> "CfgVehicles") 

isArray(config) V:2.35 0xb3cdb0

Check if config entry represents array.

C Func: 0x76eb28 ScriptInfo: 0xde33e8


_ok = isArray (configFile >> "CfgVehicles") 

isNumber(config) V:2.35 0xb3ce47

Check if config entry represents number.

C Func: 0x76eb5b ScriptInfo: 0xde3414


_ok = isNumber (configFile >> "CfgVehicles") 

isText(config) V:2.35 0xb3cede

Check if config entry represents text.

C Func: 0x76eb9e ScriptInfo: 0xde3440


_ok = isText (configFile >> "CfgVehicles") 

getNumber(config) V:2.35 0xb3d004

Extract number from config entry.

C Func: 0x778a33 ScriptInfo: 0xde3498


_array = getNumber (configFile >> "CfgVehicles" >> "Thing" >> "maxSpeed") 

getText(config) V:2.35 0xb3d097

Extract text from config entry.

C Func: 0x7c05fa ScriptInfo: 0xde34c4


_array = getText (configFile >> "CfgVehicles" >> "Thing" >> "icon") 

ctrlEnabled(control) V:2.50 0xb3d12a

Returns whether given control is enabled.

C Func: 0x778c04 ScriptInfo: 0xde34f0


_ok = ctrlEnabled _control 

ctrlShown(control) V:2.50 0xb3d1bd

Returns whether given control is shown.

C Func: 0x778c2f ScriptInfo: 0xde351c


_ok = ctrlShown _control 

ctrlText(control) V:2.50 0xb3d250

Returns the text shown in given control.

C Func: 0x79f71e ScriptInfo: 0xde3548


_text = ctrlText _control 

ctrlTextHeight(structuredText control) V:TOH 84677 0xb3d2e3

Returns the text height.

C Func: 0x779d0c ScriptInfo: 0xde3574


h = ctrlTextHeight _control 

ctrlScale(control) V:5501 0xb3d405

Returns the current scale of control.

C Func: 0x778dfc ScriptInfo: 0xde35cc


_scale = ctrlScale _control 

ctrlAutoScrollSpeed(control) V:5501 0xb3d498

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 

ctrlAutoScrollDelay(control) V:5501 0xb3d52b

Returns number of seconds until auto-scroll starts. -2 if scrollbar not present.

C Func: 0x778ec2 ScriptInfo: 0xde3624


_delay = ctrlAutoScrollDelay _control 

ctrlAutoScrollRewind(control) V:5501 0xb3d5be

True if auto-scroll should move back to start after it reach end.

C Func: 0x778f46 ScriptInfo: 0xde3650


_rewind = ctrlAutoScrollRewind _control 

ctrlFade(control) V:2.50 0xb3d651

Returns the current fade factor of control.

C Func: 0x778fc0 ScriptInfo: 0xde367c


_scale = ctrlFade _control 

ctrlCommitted(control) V:2.50 0xb3d6e4

Check if the control animation is finished.

C Func: 0x779010 ScriptInfo: 0xde36a8


_done = ctrlCommitted _control 

ctrlType(control) V:2.56 0xb3d777

Returns value representing type of control.

C Func: 0x77947f ScriptInfo: 0xde36d4


_type = ctrlType _control 

ctrlParent(control) V:2.50 0xb3d80a

Returns container of given control.

C Func: 0x7794bc ScriptInfo: 0xde3700


_display = ctrlParent _control 

ctrlHTMLLoaded(control) V:TOH 86547 0xb3d89d

Returns true when HTML content was successfully loaded.

C Func: 0x77944e ScriptInfo: 0xde372c


_htmlLoaded ctrlHTMLLoaded _control 

findDisplay(idd) V:2.54 0xb3d930

Find display by its IDD.

C Func: 0x779ef4 ScriptInfo: 0xde3758


_display = findDisplay 1 

execVM(filename) V:2.58 0xb3da4e

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" 

lbSort(control) V:5148 0xb3dae1

Sorts the given listbox or combobox by item text.

C Func: 0x7796b1 ScriptInfo: 0xde37dc


lbSort _control 

lbSortByValue(control) V:5148 0xb3db74

Sorts the given listbox or combobox by item value.

C Func: 0x7796dc ScriptInfo: 0xde3808


lbSortByValue _control 

lbSize(control) V:2.91 0xb3dc07

Returns the number of items in the given listbox or combobox.

C Func: 0x779551 ScriptInfo: 0xde3834


_n = lbSize _control 

lbCurSel(control) V:2.91 0xb3dc9a

Returns the index of the selected item of the given listbox or combobox.

C Func: 0x779591 ScriptInfo: 0xde3860


_index = lbCurSel _control 

lnbCurSelRow(control) V:2.91 0xb3df69

Returns the index of the selected item of the given listbox or combobox.

C Func: 0x7797fd ScriptInfo: 0xde393c


_index = lbCurSel _control 

buttonAction(control) V:2.92 0xb3e08b

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 

sliderPosition(control) V:2.92 0xb3e11e

Returns the current thumb position of the given slider.

C Func: 0x779ca2 ScriptInfo: 0xde39c0


_pos = sliderPosition _control 

ctrlMapAnimDone(control) V:2.92 0xb3e3e5

Checks whether the map animation has finished.

C Func: 0x77a032 ScriptInfo: 0xde3a9c

isNull(control) V:2.92 0xb3e474

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 

isNull(display) V:2.92 0xb3e50b

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 

ctrlMapScale(control) V:2.92 0xb3e6c0

Return the current scale of the map control.

C Func: 0x77a077 ScriptInfo: 0xde3b78

progressPosition(control) V:5500 0xb3e74f

Returns the current position in the progress bar.

C Func: 0x77a0b8 ScriptInfo: 0xde3ba4


_pos = progressPosition _control 

moveTime(soldier) V:5500 0xb3e7e2

Returns the current time of the most important RTM animation currently being played on the soldier.

C Func: 0x780e2e ScriptInfo: 0xde3bd0


moveTime player 

jLoad(className) V:84775 0xb3e904

Loads the file .class from the scripts locations and return a handler used to call its methods.

C Func: 0x7a27e5 ScriptInfo: 0xde3c28

radioChannelCreate([[r,g,b,a],label, callSign,[unit1,unit2,...]]) V:81210 TOH 0xb3eaa5

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

isLocalized(stringName) V:85897 TOH 0xb3eb30

Checks whether given string name is localized

C Func: 0x79e825 ScriptInfo: 0xde3cd8


isLocalized "STR_DN_FROG" 

ctrlObject(control) V:97758 DayZ 0xb3ec4a

Returns object for object based (3D) controls.

C Func: 0x7843e8 ScriptInfo: 0xde3d30


_obj = ctrlObject _control 

createDialog(name) V:1.50 0xb3ecdd

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" 

ctrlVisible(idc) V:1.50 0xb3edff

Returns whether the control with id idc of the topmost user dialog is visible.

C Func: 0x76d242 ScriptInfo: 0xde3db4


_visible = ctrlVisible 100 

ctrlEnabled(idc) V:1.50 0xb3ee92

Returns whether the control with id idc of the topmost user dialog is enabled.

C Func: 0x76d266 ScriptInfo: 0xde3de0


_enabled = ctrlEnabled 100 

ctrlText(idc) V:1.50 0xb3f03b

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 

buttonAction(idc) V:1.50 0xb3f159

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 

lbSize(idc) V:1.50 0xb3f277

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 

lbCurSel(idc) V:1.50 0xb3f30a

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 

lbAdd([idc, text]) V:1.50 0xb3f4b7

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"] 

lbText([idc, index]) V:1.50 0xb3f5d1

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] 

lbData([idc, index]) V:1.50 0xb3f660

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] 

lbValue([idc, index]) V:1.50 0xb3f77a

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] 

lbPicture([idc, index]) V:1.50 0xb3f894

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] 

lnbCurSelRow(idc) V:5501 0xb3fbe2

Returns the index of the selected row id 2D listbox.

C Func: 0x76d3e0 ScriptInfo: 0xde4200


_row = lnbCurSel 105 

lnbAddRow([idc, [text, text,...]]) V:5501 0xb3fd8f

Adds an row of strings.

C Func: 0x7b93f4 ScriptInfo: 0xde4284


_index = lnbAddRow [105, ["First column", "second column", ...]]. Returns row index. 

lnbAddArray([IDC,[[[text,text], [value,..], [data,..]], [[text,text], [value,..], [data,..]],]]) V:5501 0xb3fe1e

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. 

lnbAddColumn([idc, position]) V:1.50 0xb3ff38

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] 

lnbText([idc, [row, column]]) V:1.50 0xb400dd

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]] 

lnbData([idc, [row, column]) V:5501 0xb401f7

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]] 

lnbValue([idc, [row, column]) V:5501 0xb40311

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]] 

lnbPicture([idc, [row, column]) V:5501 0xb4042b

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]] 

sliderPosition(idc) V:1.79 0xb4065b

Returns the current thumb position of the slider with id idc of the topmost user dialog.

C Func: 0x76dcbe ScriptInfo: 0xde4544


_pos = sliderPosition 101 

skill(person) V:1.75 0xb40ea0

Returns the current level of ability of the person.

C Func: 0x77da79 ScriptInfo: 0xde47d8


skill player 

primaryWeapon(vehicle) V:1.75 0xb40f33

Returns the name of the vehicle's primary weapon (an empty string if there is none).

C Func: 0x790cd9 ScriptInfo: 0xde4804


primaryWeapon player 

secondaryWeapon(vehicle) V:1.75 0xb40fc6

Returns the name of a vehicle's secondary weapon (an empty string if there is none).

C Func: 0x790d7b ScriptInfo: 0xde4830


secondaryWeapon player 

netId(object) V: 0xb41177

Unique ID of an object.

C Func: 0x793756 ScriptInfo: 0xde48b4


netId player 

objectFromNetId(id) V: 0xb4120a

Get object with given unique ID.

C Func: 0x793786 ScriptInfo: 0xde48e0


objectFromNetId netId player 

playerAction(move) V: 0xb4129d

Control animation of the local player, similar to what playAction does on the server.

C Func: 0x7aba9d ScriptInfo: 0xde490c


playerAction 'Stand' 

createTeam([type, name]) Agents V:2.90 0xb4132e

Create a team and name it.

C Func: 0x7ba805 ScriptInfo: 0xde4938


_team = createTeam ["USMC_Team", "Fire Team Red"] 

teamMember(person) Agents V:2.90 0xb41454

Return an agent for given person.

C Func: 0x7a15e1 ScriptInfo: 0xde4990


_agent = teamMember player 

agent(agent) Agents V:2.90 0xb414eb

Return a person for given agent.

C Func: 0x7846aa ScriptInfo: 0xde49bc


_person = agent _agent 

teamType(team) Agents V:2.90 0xb41615

Return a type of given team.

C Func: 0x7a170e ScriptInfo: 0xde4a14


_type = teamType _team 

teamName(team) Agents V:2.90 0xb416ac

Return a name of given team.

C Func: 0x7a174a ScriptInfo: 0xde4a40


_name = teamName _team 

formation(team) Agents V:2.90 0xb41743

Return a formation of given team.

C Func: 0x7a18d0 ScriptInfo: 0xde4a6c


_formation = formation _team 

fromEditor(teamMember) Agents V:2.90 0xb417da

Return if given team was inserted directly from mission editor.

C Func: 0x76f051 ScriptInfo: 0xde4a98


_fromEditor = fromEditor _member 

leader(team) Agents V:2.92 0xb41871

Return the leader of given team.

C Func: 0x7a1a6c ScriptInfo: 0xde4ac4

isAgent(teamMember) Agents V:2.92 0xb41904

Check if team member is an agent.

C Func: 0x76efab ScriptInfo: 0xde4af0

simulInClouds(position) V: 0xb41c40

Returns if given position is in clouds.

C Func: 0x7b2196 ScriptInfo: 0xde4bf8

simulCloudDensity(position) V: 0xb41cc7

Returns density of clouds at given position.

C Func: 0x7b2303 ScriptInfo: 0xde4c24

simulCloudOcclusion([position1, position2]) V: 0xb41d4e

Returns clouds occlusion between two given points (0 = no clouds, 1 = full clouds).

C Func: 0x7b2463 ScriptInfo: 0xde4c50

buildingPos(building, index) V: 0xb437b9

Returns the given indexed position in a building. The returned value is in format Position.

C Func: 0x780672 ScriptInfo: 0xde6964


building buildingPos 1 

distance(obj1 or pos1, obj2 or pos2) V: 0xb43a29

Computes the distance between two objects or positions.

C Func: 0x7835c2 ScriptInfo: 0xde6a34


player distance leader player 

in(soldier, vehicle) V: 0xb44715

Checks whether the soldier is mounted in the vehicle.

C Func: 0x77ddd5 ScriptInfo: 0xde6e78


player in jeepOne 

ammo(gunner or vehicle, magazine) V: 0xb447b0

Counts how many shots the unit has left for the given magazine type.

C Func: 0x7bb4bc ScriptInfo: 0xde6eac


player ammo "M16" 

hasWeapon(unit, weaponName) V: 0xb448ea

Checks whether the unit has the given weapon.

C Func: 0x7bb5f5 ScriptInfo: 0xde6f14


player hasWeapon "M16" 

==(obj1, obj2) V: 0xb45aa1

Checks whether two objects are the same. If either of them is objNull, false is returned.

C Func: 0x77e13d ScriptInfo: 0xde74f8


player == leader player 

!=(obj1, obj2) V: 0xb45b3c

Checks whether two objects are different. If either of them is objNull, true is returned.

C Func: 0x77e178 ScriptInfo: 0xde752c


vehicle player != player 

==(side1, side2) V: 0xb45bd7

Checks whether two side values are equal.

C Func: 0x76c8a8 ScriptInfo: 0xde7560


side player == west 

!=(side1, side2) V: 0xb45c77

Checks whether two side values are different.

C Func: 0x76c879 ScriptInfo: 0xde7594


side player != west 

==(text1, text2) V:2.01 0xb45d17

Checks whether two structured text values are equal.

C Func: 0x76ebd1 ScriptInfo: 0xde75c8

!=(text1, text2) V:2.01 0xb45db7

Checks whether two structured text values are different.

C Func: 0x76e743 ScriptInfo: 0xde75fc

countType(typeName, array) V: 0xb45e57

Counts how many vehicles in the array are of the given type. For types see CfgVehicles.

C Func: 0x7919e1 ScriptInfo: 0xde7630


"Tank" countType list triggerOne 

countSide(side, array) V: 0xb45efa

Checks how many vehicles belong to the given side.

C Func: 0x77e4fc ScriptInfo: 0xde7664


west countSide list triggerOne 

spawn(arguments, script) V:2.50 0xb4694a

Executes a script. Argument is passed to the script as local variable _this.

C Func: 0x77a143 ScriptInfo: 0xde79d8

preloadObject(distance, object) V:2.50 0xb470a6

Preload all data for given object.

C Func: 0x7acabe ScriptInfo: 0xde7c48

addAction(unit, [action, script filename(, arguments, priority, showWindow, hideOnUse, shortcut, condition)]) V:1.10 0xb484dc

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"] 

addEventHandler(object, handler) V:1.85 0xb487ef

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"}] 

setAttributes(text, [name1, value1, name2, value2, ...]) V:2.01 0xb4914f

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"] 

intersect([object, lod name], [begin, end]) V:2.53 0xb4982c

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]] 

weaponDirection(vehicle, weaponName) V:2.61 0xb4a0bf

Returns direction where is given weapon aiming.

C Func: 0x7bbefd ScriptInfo: 0xde8c20


_dir = _vehicle weaponDirection "M16" 

nearObjects(position, radius or [typeName, radius]) V:2.92 0xb4a1fd

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 

selectionPosition(object, selection name) V:2.92 0xb4a2a4

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

modelToWorld(object, modelPos) V:2.92 0xb4a343

Converts position from object model space to world space.

C Func: 0x783a82 ScriptInfo: 0xde8cf0

worldToModel(object, worldPos) V:2.92 0xb4a3e2

Converts position from world space to object model space.

C Func: 0x783bd4 ScriptInfo: 0xde8d24

emptyPositions(vehicle, position) V:2.92 0xb4a51c

Returns the number of available cargo, driver, gunner or commander positions in the vehicle.

C Func: 0x7906c8 ScriptInfo: 0xde8d8c


_freePositions = (vehicle player) freePositions "cargo" 

addQuantity(object, value) V:DayZ 0xb4aa1c

Change quantity by given value in the variable space of given object. Returns the result.

C Func: 0x790fc1 ScriptInfo: 0xde8f2c


_result = _item addQuantity 4 

getVariable(object, name) V:2.92 0xb4aabf

Return the value of variable in the variable space of given object.

C Func: 0x7aeda8 ScriptInfo: 0xde8f60

getVariable(object, [name, default value]) V:2.92 0xb4ab5e

Return the value of variable in the variable space of given object. If not found, default value is returned.

C Func: 0x7aeda8 ScriptInfo: 0xde8f94

getHideFrom(object, enemy) V:2.92 0xb4adce

Returns the hiding position in format Position. If enemy is null it is the some position in front of the object or enemy position otherwise.

C Func: 0x783e27 ScriptInfo: 0xde9064

nearTargets(unit, radius) V: 0xb4b401

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

isKindOf(typeName1, typeName2) V:5160 0xb4b4a0

Checks whether the type typeName1 is inherited from the type typeName1.

C Func: 0x791bb2 ScriptInfo: 0xde92a0


"Tank" isKindOf "Land" 

execFSM(argument, filename) V:5500 0xb4b548

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" 

nearRoads(position or object, radius) V:5500 0xb4b5ef

Find the road segments within the circle of given radius.

C Func: 0x79e956 ScriptInfo: 0xde9308


_list = player nearRoads 50 

buildingExit(building, index) V: 0xb4b696

Returns the given indexed exit in a building. The returned value is in format Position.

C Func: 0x7807a8 ScriptInfo: 0xde933c


buildingExit [building, 1] 

getFSMVariable(FSM handle, name) V:5501 0xb4ba58

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

nearObjectsReady(position, radius) V:5501 0xb4beb0

Check whether all data are loaded to nearObjects will return in reasonable time.

C Func: 0x7839ea ScriptInfo: 0xde95e0


_ok = position player nearObjectsReady 50 

lockedTurret(vehicle, turret path) V:5501 0xb4c3a4

Check whether gunner position of the vehicle turret is locked.

C Func: 0x78217b ScriptInfo: 0xde9780

lockedCargo(vehicle, cargo index) V:5501 0xb4c443

Check whether cargo position of the vehicle is locked.

C Func: 0x7821ba ScriptInfo: 0xde97b4

findEmptyPosition(center, [radius, maxDistance] or [radius, maxDistance, vehicleType]) V:5501 0xb4c4e2

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

findEmptyPositionReady(center, [radius, maxDistance]) V:5501 0xb4c582

Check if findEmptyPosition can be called without waiting for files.

C Func: 0x7aa598 ScriptInfo: 0xde981c

isFlatEmpty(position, [float minDistance,float precizePos,float maxGradient,float gradientRadius,float onWater,bool onShore,object skipobj]) V:5501 0xb4c622

Chek if given area is flat and emty.

C Func: 0x78a996 ScriptInfo: 0xde9850


newposition = position isFlatEmpty(10, 0, 0.5, 5, 0, false, player) 

nearEntities(position, radius or [typeName, radius] or [[typeName1, typeName2, ...], radius]) V:5501 0xb4c761

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 

unitsBelowHeight(array, height) V:5501 0xb4c8a7

Return units below passed height.

C Func: 0x7a1ea9 ScriptInfo: 0xde9920


units group player unitsBelowHeight 50 

fireAtTarget(vehicle, [target, weapon]) V:5501 0xb4c9f1

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] 

aimedAtTarget(vehicle, [target, weapon]) V:5501 0xb4ca94

Returns how good is weapon aimed to target.

C Func: 0x7bbcd0 ScriptInfo: 0xde99bc


bool = vehicle AimedAtTarget [target]; bool = vehicle AimedAtTarget [target,1] 

weaponsTurret(transport, turret path) V:5501 0xb4cbd6

Returns all weapons of given turret. Use turret path [-1] for drivers turret.

C Func: 0x789d9d ScriptInfo: 0xde9a24


vehicle player weaponsTurret [0,0] 

magazinesTurret(transport, turret path) V:5501 0xb4cc79

Returns all magazines of given turret. Use turret path [-1] for drivers turret.

C Func: 0x78a082 ScriptInfo: 0xde9a58


vehicle player magazinesTurret [0,0] 

getHitPointDamage(transport, hitpoint name) V:5501 0xb4cd1c

Returns damage of given hitpoint.

C Func: 0x793089 ScriptInfo: 0xde9a8c


vehicle player getHitPointDamage "hitEngine" 

isKindOf(object, typeName) V:2.30 0xb4cefd

Checks whether the object is of the given type.

C Func: 0x791a93 ScriptInfo: 0xde9b28


vehicle player isKindOf "Tank" 

setWeaponReloadingTime(vehicle, [gunner, weaponName, reloadTime <0-1>]) V:1.18 0xb4d485

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] 

setOwner(object, clientId) V:94017 0xb4d8ce

On server machine, change the ownership of object to a given client. Returns true if locality was changed.

C Func: 0x78262e ScriptInfo: 0xde9e68

selectionProxy(object, selection) V: 0xb4dc98

Get information about a proxy contained in the memory LOD selection

C Func: 0x792a41 ScriptInfo: 0xde9fa0


house proxySelection "cupboard" 

moveToInventory(person, item) V: 0xb4de79

Move an item to the person's inventory.

C Func: 0x782d10 ScriptInfo: 0xdea03c


player moveToInventory item 

moveToCargo(entity, item) V: 0xb4df18

Move an item to the cargo space of the entity.

C Func: 0x782dac ScriptInfo: 0xdea070


vehicle moveToCargo item 

>>(config, name) V:2.35 0xb4e71b

Returns subentry of config entry with given name.

C Func: 0x7ba2e6 ScriptInfo: 0xdea314


configFile >> "CfgVehicles" 

/(config, name) V:2.92 0xb4e7c2

Returns subentry of config entry with given name (alias for >>).

C Func: 0x7ba49f ScriptInfo: 0xdea348


configFile / "CfgVehicles" 

select(config, index) V:2.35 0xb4e869

Returns subentry with given index.

C Func: 0x7ba5ba ScriptInfo: 0xdea37c


(configFile >> "CfgVehicles") select 0 

==(config1, config2) V:2.58 0xb4e910

Checks whether two config entries are equal.

C Func: 0x76ebd1 ScriptInfo: 0xdea3b0

!=(config1, config2) V:2.58 0xb4e9b0

Checks whether two config entries are different.

C Func: 0x76e743 ScriptInfo: 0xdea3e4

kbAddDatabase(person, filename) V:2.42 0xb4ea50

Register knowledge base database to given person.

C Func: 0x76ec7d ScriptInfo: 0xdea418


_unit kbAddDatabase "chat.txt" 

kbAddDatabaseTargets(person, filename) V:2.45 0xb4eaf3

Register target list knowledge base database to given person.

C Func: 0x76ec7d ScriptInfo: 0xdea44c


_unit kbAddDatabase "chat.txt" 

kbWasSaid(person, [receiver, topic, sentence id, max. age]) V:5500 0xb4ee06

Check if given item was said by person to someone.

C Func: 0x79f0cc ScriptInfo: 0xdea550

kbHasTopic(person, name) V:2.92 0xb4eea5

Check if conversation topic was registered to given person.

C Func: 0x79f1e4 ScriptInfo: 0xdea584

posScreenToWorld(map, [x, y]) V:2.54 0xb4f25f

Convert screen coordinates in map to world coordinates.

C Func: 0x7afd09 ScriptInfo: 0xdea6bc

posWorldToScreen(map, position) V:2.54 0xb4f302

Convert world coordinates to screen coordinates in map.

C Func: 0x78cc24 ScriptInfo: 0xdea6f0

displayCtrl(display, idc) V:2.50 0xb508a8

Return child control with specified idc.

C Func: 0x784376 ScriptInfo: 0xdeadd8


_control = _display displayCtrl 101 

==(display1, display2) V:2.50 0xb50e67

Checks whether two displays are equal.

C Func: 0x76edb0 ScriptInfo: 0xdeafac

!=(display1, display2) V:2.50 0xb50f07

Checks whether two displays are different.

C Func: 0x76edeb ScriptInfo: 0xdeafe0

==(control1, control2) V:2.50 0xb50fa7

Checks whether two controls are equal.

C Func: 0x779e7e ScriptInfo: 0xdeb014

!=(control1, control2) V:2.50 0xb51047

Checks whether two controls are different.

C Func: 0x779eb9 ScriptInfo: 0xdeb048

execVM(argument, filename) V:2.60 0xb514b9

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" 

skill(vehicle, type) V:2.65 0xb51560

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" 

lbAdd(control, text) V:2.91 0xb51745

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" 

lbText(control, index) V:2.91 0xb5188f

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 

lbData(control, index) V:2.91 0xb51936

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 

lbValue(control, index) V:2.91 0xb51a80

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 

lbPicture(control, index) V:2.91 0xb51bca

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 

lbColor(control, index) V:2.91 0xb51d14

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 

lbIsSelected(control, index) V:2.92 0xb51e5e

Check whether given row of the given listbox is selected.

C Func: 0x77976b ScriptInfo: 0xdeb4c0


_selected = _control lbIsSelected 0 

lnbAddColumn(control, position) V:5501 0xb520ee

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" 

lnbAddRow(control, [text1,text2,...]) V:5501 0xb52238

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,...] 

lnbText(control, [row, column]) V:5501 0xb52382

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] 

lnbData(control, [row, column]) V:5501 0xb524cc

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] 

lnbValue(control, [row, column]) V:5501 0xb52616

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] 

lnbPicture(control, [row, column]) V:5501 0xb52760

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] 

lnbColor(control, [row, column]) V:5501 0xb528aa

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] 

ctrlMapScreenToWorld(map, [x, y]) V:5127 0xb52d23

Convert position in the map from screen coordinates to world coordinates.

C Func: 0x7b0f20 ScriptInfo: 0xdeb96c

ctrlMapWorldToScreen(map, position) V:5127 0xb52dc6

Convert position in the map from world coordinates to screen coordinates.

C Func: 0x78d088 ScriptInfo: 0xdeb9a0

createMissionDisplay(parent, root) V:5140 0xb52e69

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" 

createMissionDisplay(parent, [root, missions space]) V:5140 0xb52f10

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"] 

ctrlAddEventHandler(control, [handler name, function]) V:5501 0xb5305a

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", ""] 

displayAddEventHandler(display, [handler name, function]) V:5501 0xb53247

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", ""] 

jCall(cls, [name, args]) V:84775 0xb53434

Call a method name of class cls, passing arguments args.

C Func: 0x7b26bc ScriptInfo: 0xdebba8

#+(a, b) Vector V:109125 0xb53a74

Add two vectors of the same dimensions, e.g. two of format Position

C Func: 0x7aa47d ScriptInfo: 0xdebdb0


[0,0,0] v+ [0,1,2] 

#-(a, b) Vector V:109125 0xb53b20

Add two vectors of the same dimensions, e.g. two of format Position

C Func: 0x7aa4af ScriptInfo: 0xdebde4


[0,0,0] v- [0,1,2] 

#*(a, b) Vector V:109125 0xb53bcc

Add two vectors of the same dimensions, e.g. two of format Position

C Func: 0x7aa4e1 ScriptInfo: 0xdebe18


[0,0,0] v* [0,1,2] 

#*(a, b) Vector V:109125 0xb53c78

Add two vectors of the same dimensions, e.g. two of format Position

C Func: 0x789ca7 ScriptInfo: 0xdebe4c


1 v* [0,1,2] 

#*(a, b) Vector V:109125 0xb53d27

Add two vectors of the same dimensions, e.g. two of format Position

C Func: 0x789cd9 ScriptInfo: 0xdebe80


[0,0,0] v* 1 

animationPhase(object, animation) V:1.75 0xb53e73

Return animation phase of animation on object.

C Func: 0x79aa11 ScriptInfo: 0xdebee8


house animationPhase "doors1" 

==(teamMember1, teamMember2) V:2.90 0xb542d2

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 

!=(teamMember1, teamMember2) V:2.90 0xb54371

Checks whether two team members are different. If either of them is teamMemberNull, true is returned.

C Func: 0x76f016 ScriptInfo: 0xdec088


teamMember player != _teamMember 

getVariable(teamMember, name) V:2.92 0xb5472b

Return the value of variable in the variable space of given team member.

C Func: 0x7b145f ScriptInfo: 0xdec1c0

getVariable(teamMember, [name, default value]) V:2.92 0xb547ca

Return the value of variable in the variable space of given team member.

C Func: 0x7b145f ScriptInfo: 0xdec1f4

>=(a) V: 0xb5cec2

a greater or equal than b

C Func: 0x95f067 ScriptInfo: 0xdf38b8


player distance redCar < 100 

<=(a) V: 0xb5cf53

a lesser or equal than b

C Func: 0x95f031 ScriptInfo: 0xdf38ec


player distance redCar <= 100 

>(a) V: 0xb5cfe4

a greater than b

C Func: 0x95effd ScriptInfo: -0x1


counter > 4 

<(a) V: 0xb5d075

a lesser than b

C Func: 0x95efc7 ScriptInfo: -0x1


counter < 4 

==(a) V: 0xb5d106

a equal to b

C Func: 0x95ef8f ScriptInfo: 0xdf3988


counter == 4 

!=(a) V: 0xb5d197

a is not equal to b

C Func: 0x95f09b ScriptInfo: 0xdf39bc


counter != 4 

==(a) V: 0xb5d228

a equal to b (case insensitive)

C Func: 0x96265f ScriptInfo: 0xdf39f0


nameOfPlayer == "John Doe" 

!=(a) V: 0xb5d2be

a is not equal to b (case insensitive)

C Func: 0x9625e6 ScriptInfo: 0xdf3a24


nameOfPlayer != "John Doe" 

+(stringA, stringB) V: 0xb5d354

stringA and stringB are concatenated.

C Func: 0x9626d9 ScriptInfo: -0x1


"I" + " am" + " blind" 

+(arrayA, arrayB) V: 0xb5d3f2

arrayA and arrayB are concatenated.

C Func: 0x962dc5 ScriptInfo: -0x1


[0, 1, 2] + [1, 2, 3] 

-(arrayA, arrayB) V: 0xb5d490

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) V: 0xb5d52e

a and b

C Func: 0x95f0d3 ScriptInfo: 0xdf3af4


alive player && alive leader player 

and(a) V: 0xb5d5c4

a and b

C Func: 0x95f118 ScriptInfo: 0xdf3b28


alive player and alive leader player 

||(a) V: 0xb5d65a

a or b

C Func: 0x95f134 ScriptInfo: 0xdf3b5c


!alive player || !alive leader player 

or(a) V: 0xb5d6f0

a or b

C Func: 0x95f176 ScriptInfo: 0xdf3b90


not alive player or not alive leader player 

select(array, index) V: 0xb5d786

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 

select(array, index) V: 0xb5d823

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

set(array, element) V:1.75 0xb5d8bc

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"] 

resize(array, count) V:1.75 0xb5d95a

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 

forEach(command, array) V: 0xb5da94

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 

in(x, array) V: 0xb5db31

Checks whether x is equal to any element in the array.

C Func: 0x95f712 ScriptInfo: 0xdf3cfc


1 in [0, 1, 2] 

then(if, codeToExecute) V:1.85 0xb5dc73

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, nothing is returned.

C Func: 0x96aa2f ScriptInfo: 0xdf3d64


if (a>b) then {c=1} 

then(if, else) V:1.85 0xb5dd14

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 nothing).

C Func: 0x96aaef ScriptInfo: 0xdf3d98


if (a>b) then {c=1} else {c=2};if (a>b) then [{c=1},{c=2}] 

else(ifCode, elseCode) V:1.85 0xb5ddb5

Constructs an array that can be processed by then.

C Func: 0x963228 ScriptInfo: 0xdf3dcc


if (a>b) then {c=0} else {c=1} 

do(while, code) V:1.85 0xb5de53

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} 

do(with, code) V:5501 0xb5def4

Execute the code inside the given namespace.

C Func: 0x96328a ScriptInfo: 0xdf3e34


with missionNamespace do {global=global+1} 

exitWith(if, code) V:2 0xb5df95

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} 

call(pars, body) V:1.85 0xb5e03a

Executes the function body. Argument pars is passed as _this.

C Func: 0x96a816 ScriptInfo: 0xdf3e9c


[1,2] call {(_this select 0)+(_this select 1)} 

from(for "_var") V: 0xb5e0df

Continue sequence of 'for' command.

C Func: 0x95f7c5 ScriptInfo: 0xdf3ed0


for "_x" from 10 to 20 do {..code..} 

to(for "_var" from a) V: 0xb5e174

Continue sequence of 'for' command.

C Func: 0x95f7eb ScriptInfo: 0xdf3f04


for "_x" from 10 to 20 do {..code..} 

step(for /.../, step) V: 0xb5e209

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..} 

do(forCommand, code) V: 0xb5e2a2

End of for command, starts cycle

C Func: 0x96c12d ScriptInfo: 0xdf3f6c


for "_x" from 20 to 10 step -2 do {..code..} 

:(a) V: 0xb5e33f

see switch

C Func: 0x96348c ScriptInfo: 0xdf3fa0

do(switch, block) V: 0xb5e3d4

Switch form

C Func: 0x96afb2 ScriptInfo: 0xdf3fd4


switch (_a) do { case 1: {block}; case 2 : {block}; default {block};} 

catch(try-Block, code) V: 0xb5e471

processes code, when exception is thrown in try block

C Func: 0x96b03f ScriptInfo: 0xdf4008

setVariable(namespace, [name, value]) V:5501 0xb5e62c

Set variable to given value in the given namespace.

C Func: 0x969c9e ScriptInfo: 0xdf40a4

getVariable(name) V:5501 0xb5e6cb

Return the value of variable in the given namespace.

C Func: 0x96582f ScriptInfo: 0xdf40d8

getVariable([name, default value]) V:80915 TOH 0xb5e760

Return the value of variable in the given namespace. If not found, default value is returned.

C Func: 0x96582f ScriptInfo: 0xdf410c

+(a) V: 0xb5f2bd

unary plus: returns a copy of the array

C Func: 0x95f192 ScriptInfo: -0x1


+ [0, 1, 2] 

call(code) V:1.85 0xb5f562

Executes the given code.

C Func: 0x96a8d9 ScriptInfo: 0xdf31b0


call {"x=2"} 

comment(comment) V: 0xb5f5f0

This function does nothing. It's used to create comments.

C Func: 0x76bb2c ScriptInfo: 0xdf31dc


comment "This is a comment." 

private(variable) V:1.85 0xb5f67a

Introduces one or more local variables in the innermost scope.

C Func: 0x969b15 ScriptInfo: 0xdf3208

if(condition) V:1.85 0xb5f703

The first part of the if command.

C Func: 0x95f669 ScriptInfo: 0xdf3234


if (a>b) then {a=b} 

while(condition) V:1.85 0xb5f790

The first part of the while contruct.

C Func: 0x95f6b0 ScriptInfo: 0xdf3260


while "x<10" do {x=x+1} 

with(namespace) V:5501 0xb5f81d

The first part of the with contruct.

C Func: 0x95f6e1 ScriptInfo: 0xdf328c


with missionNamespace do {global=global+1} 

assert(codition) V:2.00 0xb5f937

Tests a condition and if the condition is false, halts the program.

C Func: 0x962fba ScriptInfo: 0xdf32e4


assert (_x>0) 

echo(text) V:2.00 0xb5f9c4

Sends any text into the debugger console or the logfile.

C Func: 0x962f78 ScriptInfo: 0xdf3310


echo "Text in logfile" 

isNil(variable) V:2.00 0xb5fada

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;} 

supportInfo(mask) V:2.00 0xb5fb67

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*" 

for(var) V: 0xb5fbf4

Starts for sequence, use in complette form(see example).

C Func: 0x96333e ScriptInfo: 0xdf33c0


for "_x" from 1 to 10 do {debugLog _x;} 

for(forspec) V: 0xb5fc79

creates cycle, using C like style. See example.

C Func: 0x9633b2 ScriptInfo: 0xdf33ec


for [{_x=1},{_x<=10},{_x=_x+1}] do {debugLog _x;} 

switch(exp) V: 0xb5fd02

Begins switch form

C Func: 0x95f837 ScriptInfo: 0xdf3418


switch (_a) do { case 1: {block}; case 2 : {block}; default {block};} 

case(b) V: 0xb5fd8b

see switch

C Func: 0x96578e ScriptInfo: 0xdf3444

default(a) V: 0xb5fe10

see switch

C Func: 0x9657ce ScriptInfo: 0xdf3470

scopeName(name) V: 0xb5fe95

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

breakTo(name) V: 0xb5ff16

Breaks block to scope named 'name'. Nil is returned.

C Func: 0x963523 ScriptInfo: 0xdf34c8

breakOut(name) V: 0xb5ff97

Breaks block out scope named 'name'. Nil is returned.

C Func: 0x963564 ScriptInfo: 0xdf34f4

try(code) V: 0xb60018

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

throw(expression) V: 0xb6009d

Throws an exception. The exception is processed by first catch block. See try.

C Func: 0x95f8af ScriptInfo: 0xdf354c


throw "invalid argument" 

compile(expression) V:2.60 0xb60126

Compile expression.

C Func: 0x9635a5 ScriptInfo: 0xdf3578


_function = "a = a + 1"; _compiled = compile _function; call _compiled; 

waitUntil(condition) V:2.60 0xb601af

Suspend execution of script until condition is satisfied.

C Func: 0x96b0d8 ScriptInfo: 0xdf35a4


_i = 0; waitUntil {_i = _i + 1; _i >= 100} 

toArray(string) V: 0xb603d0

Convert the string to the array of characters.

C Func: 0x962a71 ScriptInfo: 0xdf3654


toArray "ArmA" 

scriptName(name) V:5501 0xb604e2

Assign a friendly name to the VM script thjis command is executed from.

C Func: 0x963676 ScriptInfo: 0xdf36ac


scriptName "Trading" 

nil() V: 0xb6056a

Nil value. This value can be used to undefine an existing variable.

C Func: 0x966379 ScriptInfo: 0xdf2ae0


variableToDestroy = nil 

ppRainForce(intensity) V:5501 0xb63d14

Force rain with user defined intensity (0 to force disable)

C Func: 0xa033ec ScriptInfo: 0xdffc58

ppEffectReload(effect) V: 0xb63dbc

Reload given effect resources

C Func: 0xa0f95f ScriptInfo: 0xdffc84

ppEffectCommitted() V: 0xb63e42

Check whether given post process effect is commited

C Func: 0xa0f9ef ScriptInfo: 0xdffcb0

ppEffectCommitted() V: 0xb63ec3

Check whether given post process effect is commited

C Func: 0xa033a9 ScriptInfo: 0xdffcdc

ppEffectCreate() V: 0xb63f44

Create post process effect specified by name and priority

C Func: 0xa0ec84 ScriptInfo: -0x1

ppEffectDestroy() V: 0xb63fc5

Destroy post process effect given by handle

C Func: 0xa031a6 ScriptInfo: 0xdffd34

SuperAToC() V: 0xb66d10

C Func: 0x0 ScriptInfo: 0xe15148

surprise, script-based anticheats are a waste of time. dear german hackforums skid king infinistar: kill yourself ASAP