ArmA Script Function Infodump


ppEffectCommit(number, number) Visual V:2.92 0x11e7926

Set time when old pars are replaced by last set, if 0 set immediately

C Func: 0x1301ad8 ScriptInfo: 0x15e5c30


hndl ppEffectCommit 0 

ppEffectCommit(array, scal) Visual V:2.92 0x11e79d3

Set time when old pars are replaced by last set, if 0 set immediately

C Func: 0x1301ad8 ScriptInfo: 0x15e5c64


hndl ppEffectCommit 0 

ppEffectForceInNVG(number, bool) Visual V:91000 0x11e7a80

Forces to use PP effect in NVG

C Func: 0x1301a7c ScriptInfo: 0x15e5c98

setName(location, name) Location V:2.90 0x1200399

Set which global variable will contain given location.

C Func: 0x132f4dc ScriptInfo: 0x15eb6ec

setText(location, text) Location V:2.90 0x1200446

Set a new text attached to given location.

C Func: 0x132f4a8 ScriptInfo: 0x15eb720

setRectangular(location, rectangular) Location V:2.90 0x12004f3

Set if given location has rectangular shape.

C Func: 0x132f468 ScriptInfo: 0x15eb754

attachObject(location, object) Location V:2.90 0x12005a0

Attach a object to given location.

C Func: 0x132f434 ScriptInfo: 0x15eb788

setSide(location, side) Location V:2.90 0x120064d

Set a new target side of given location.

C Func: 0x132f400 ScriptInfo: 0x15eb7bc

setVariable(location, [name, value]) Location V:2.92 0x12006fa

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

C Func: 0x132f398 ScriptInfo: 0x15eb7f0

getVariable(location, name) Location V:2.92 0x12007a7

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

C Func: 0x132f340 ScriptInfo: 0x15eb824

in(position) Location V:2.92 0x1200854

location

C Func: 0x132f2fc ScriptInfo: 0x15eb858


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

distance(location1) Location V:5501 0x1200901

location2

C Func: 0x132f29c ScriptInfo: 0x15eb88c


Computes the distance between two locations or positions. 

distance(location1) Location V:5501 0x12009ae

pos2

C Func: 0x132f29c ScriptInfo: 0x15eb8c0


Computes the distance between two locations or positions. 

distance(pos1) Location V:5501 0x1200a5b

location2

C Func: 0x132f29c ScriptInfo: 0x15eb8f4


Computes the distance between two locations or positions. 

distanceSqr(location1, location2) Location V:5501 0x1200b08

Computes the distance square between two locations or positions.

C Func: 0x132f23c ScriptInfo: 0x15eb928

distanceSqr(location1, pos2) Location V:5501 0x1200bb5

Computes the distance square between two locations or positions.

C Func: 0x132f23c ScriptInfo: 0x15eb95c

distanceSqr(pos1, location2) Location V:5501 0x1200c62

Computes the distance square between two locations or positions.

C Func: 0x132f23c ScriptInfo: 0x15eb990

==(location1, location2) Location V:5501 0x1200d0f

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

C Func: 0x132f1dc ScriptInfo: 0x15eb9c4

!=(location1, location2) Location V:5501 0x1200dbc

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

C Func: 0x132f178 ScriptInfo: 0x15eb9f8

drawLocation(map, location) Location PC V:2.90 0x1200e69

Draw location in the map.

C Func: 0x132f13c ScriptInfo: 0x15eba2c

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

Create a new record in a log.

C Func: 0x1349ee0 ScriptInfo: 0x15ed2a4


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

setTaskState(task, state) Identity V:2.89 0x120b0d0

Set a new state of the task.

C Func: 0x1349eb0 ScriptInfo: 0x15ed2d8

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

Set a result of the task.

C Func: 0x1349e74 ScriptInfo: 0x15ed30c

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

Send a result of the task to the task sender.

C Func: 0x1349e18 ScriptInfo: 0x15ed340

==(task1, task2) Identity V:2.92 0x120b2d7

Checks whether two tasks are equal.

C Func: 0x132f1dc ScriptInfo: 0x15ed374

!=(task1, task2) Identity V:2.92 0x120b384

Checks whether two tasks are different.

C Func: 0x132f178 ScriptInfo: 0x15ed3a8

getVariable(task, name) Identity V:2.92 0x120b431

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

C Func: 0x132f340 ScriptInfo: 0x15ed3dc

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

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

C Func: 0x132f398 ScriptInfo: 0x15ed410

selectDiarySubject(person, subject) Identity V:5500 0x120b58b

Select the subject page in a log.

C Func: 0x1349cf8 ScriptInfo: 0x15ed444

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

Create a new simple task (subtask of parentTask).

C Func: 0x1349c90 ScriptInfo: 0x15ed478

setSimpleTaskDestination(task, position) Identity V:5500 0x120b6e5

Attach a destination to the simple task. Overrides setSimpleTaskTarget.

C Func: 0x1349c2c ScriptInfo: 0x15ed4ac

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

Attach a target to the simple task. Overrides setSimpleTaskDestination.

C Func: 0x1349b84 ScriptInfo: 0x15ed4e0


task setSimpleTaskTarget [vehicle, true] 

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

Attach descriptions to the simple task.

C Func: 0x1349b10 ScriptInfo: 0x15ed514

setCurrentTask(person, task) Identity V:5501 0x120b8ec

Set the task as a current task of the person.

C Func: 0x1349ad0 ScriptInfo: 0x15ed548

diarySubjectExists(person, name) Identity V:5501 0x120b999

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

C Func: 0x1349a70 ScriptInfo: 0x15ed57c

removeSimpleTask(person, task) Identity V:5501 0x120ba46

Remove a simple task from the list of simple tasks.

C Func: 0x1349a28 ScriptInfo: 0x15ed5b0

setCaptive(person, captive) General V:NaN 0x1256643

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: 0x13c4b38 ScriptInfo: 0x1604d80


setCaptive player 

setIdentity(person, identity) General V:NaN 0x1256748

Sets the identity of a person. Identities are defined in the descripion.ext file of the mission or campaign.

C Func: 0x13c4aa0 ScriptInfo: 0x1604db4


setIdentity "JohnDoe" 

setName(person, name) General V:NaN 0x12567f8

Sets the name of a person.

C Func: 0x132f4dc ScriptInfo: 0x1604de8


setName "JohnDee" 

setNameSound(person, nameSound, Sets the nameSound of a person.) General V:NaN 0x12568ab

nameSound "JohnDeeSound"

C Func: 0x13c4a24 ScriptInfo: 0x1604e1c

setSpeaker(person, speaker) General V:NaN 0x125695e

Sets the speaker of a person.

C Func: 0x13c49e0 ScriptInfo: 0x1604e50


setSpeaker "JohnDee" 

setPitch(person, pitch, Sets the pitch of a persons voice.) General V:NaN 0x1256a11

setName 1

C Func: 0x13c49a4 ScriptInfo: 0x1604e84

setFaceanimation(person, blink, Sets the facial animation phase (eye blinking). Blink is in the range from 0 to 1.) General V:NaN 0x1256ac4

setFaceAnimation 0.5

C Func: 0x13c4918 ScriptInfo: 0x1604eb8

setFace(person, soldier) General V:NaN 0x1256b77

Sets the person's face.

C Func: 0x13c48e4 ScriptInfo: 0x1604eec


setFace "Face10" 

setMimic(person, mimic) General V:NaN 0x1256c2a

Sets a unit's mimic. The following values are recognized: "Default", "Normal", "Smile", "Hurt", "Ironic", "Sad", "Cynic", "Surprised", "Agresive" and "Angry".

C Func: 0x13c481c ScriptInfo: 0x1604f20


setMimic "Angry" 

setRandomLip(person, bool) General V:NaN 0x1256cdd

Enables/Disables random lip.

C Func: 0x13c47ec ScriptInfo: 0x1604f54

setFlagTexture(flag, texture) General V:NaN 0x1256d90

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

C Func: 0x13c4774 ScriptInfo: 0x1604f88


setFlagTexture "usa_vlajka.pac" 

setFlagSide(flag, side) General V:NaN 0x1256e43

Sets the flag side.

C Func: 0x13c4740 ScriptInfo: 0x1604fbc


setFlagSide east 

setFlagOwner(flag, owner) General V:NaN 0x1256ef6

Sets the flag owner. When the owner is set to objNull, the flag is returned to the flagpole.

C Func: 0x13c46b8 ScriptInfo: 0x1604ff0


setFlagOwner objNull 

buildingPos(building, index) General V:NaN 0x1256fa9

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

C Func: 0x13c4628 ScriptInfo: 0x1605024


building buildingPos 1 

switchLight(lamppost, mode) General V:NaN 0x125705c

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: 0x13c4558 ScriptInfo: 0x1605058


nearestObject  [player, "StreetLamp"] switchLight "Off" 

inflame(fireplace, burn) General V:NaN 0x125710f

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

C Func: 0x13c44e4 ScriptInfo: 0x160508c


fireplaceOne inflame true 

addRating(unit, number) General V:NaN 0x12571c2

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: 0x13c43a8 ScriptInfo: 0x16050c0


player addRating 1000 

addScore(unit, score) General V:NaN 0x1257275

MP only: adds unit score. This is shown in the "I" MP screen as the total score.

C Func: 0x13c4330 ScriptInfo: 0x16050f4


player addScore 10 

addScoreSide(side, score, MP only: adds side score. This is shown in the "I" MP screen as the total score.) General V:NaN 0x1257328

side addScore 10

C Func: 0x13c42b4 ScriptInfo: 0x1605128

addLiveStats(unit, score) General V:2.10 0x12573db

Xbox Live MP only: adds score to the Xbox Live Statistics score for the given unit (or the commander unit of the given vehicle).

C Func: 0x13c4208 ScriptInfo: 0x160515c


player addLiveStats 10 

distance(obj1 or pos1, obj2 or pos2) General V:2.92 0x125748e

Computes the distance between two objects or positions.

C Func: 0x132f29c ScriptInfo: 0x1605190


player distance leader player 

distanceSqr(obj1 or pos1, obj2 or pos2) General V:95319 0x1257541

Computes the distance square between two objects or positions.

C Func: 0x132f23c ScriptInfo: 0x16051c4


player distanceSqr (leader player) 

setPos(obj, pos) General V:NaN 0x12575f4

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

C Func: 0x13c4084 ScriptInfo: 0x16051f8


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

setPosASL(obj, pos) General V:2.53 0x12576a7

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

C Func: 0x13c3fc4 ScriptInfo: 0x160522c


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

setPosATL(obj, pos, Sets the object position. The pos array uses the PositionATL format.) General V:2.53 0x125775a

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

C Func: 0x13c3f04 ScriptInfo: 0x1605260

setPosASL2(obj, pos) General V:2.53 0x125780d

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: 0x13c3e64 ScriptInfo: 0x1605294

setDir(obj, heading) General V:NaN 0x12578c0

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

C Func: 0x13c3e00 ScriptInfo: 0x16052c8


player setDir 180 

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

Sets the velocity (speed vector) of a vehicle.

C Func: 0x13c3db8 ScriptInfo: 0x16052fc

setFormDir(group, heading, Sets the formation heading. The accepted heading range is from 0 to 360. The formation is facing this direction unless an enemy is seen. When the group is moving, this value is overridden by the movement direction.) General V:NaN 0x1257a26

player setformdir 180

C Func: 0x13c3cbc ScriptInfo: 0x1605330

setDammage(obj, dammage, Damages / repairs the object. Damage 0 means the object is fully functional, damage 1 means it's completely destroyed / dead.) General V:NaN 0x1257ad9

player setdammage 1

C Func: 0x13c3c1c ScriptInfo: 0x1605364

setDamage(object, damage, 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.) General V:1.50 0x1257b8c

player setdamage 1

C Func: 0x13c3af8 ScriptInfo: 0x1605398

allowDamage(obj, allow) General V:NaN 0x1257c3f

Obsolete.

C Func: 0x137c9ac ScriptInfo: 0x16053cc

allowDammage(obj, allow) General V:NaN 0x1257cf2

Obsolete.

C Func: 0x13c3ae0 ScriptInfo: 0x1605400

flyInHeight(helicopter, height) General V:NaN 0x1257da5

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

C Func: 0x13c3a60 ScriptInfo: 0x1605434


cobraOne flyInHeight 150 

setMarkerPos(markerName, pos) General V:NaN 0x1257e58

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

C Func: 0x13c39a0 ScriptInfo: 0x1605468


"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo" 

setMarkerPosLocal(markerName, pos) General V:2.92 0x1257f0b

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

C Func: 0x13c38c8 ScriptInfo: 0x160549c


"MarkerOne" setMarkerPosLocal getMarkerPos "MarkerTwo" 

setMarkerType(markerName, markerType) General V:NaN 0x1257fbe

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: 0x13c37ac ScriptInfo: 0x16054d0


"MarkerOne" setMarkerType "Arrow" 

setMarkerTypeLocal(markerName, markerType) General V:2.92 0x1258071

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: 0x13c3680 ScriptInfo: 0x1605504


"MarkerOne" setMarkerTypeLocal "Arrow" 

setMarkerSize(marker, size) General V:1.21 0x1258124

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: 0x13c35d0 ScriptInfo: 0x1605538


"MarkerOne" setMarkerSize [100, 200] 

setMarkerSizeLocal(marker, size) General V:2.92 0x12581d7

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: 0x13c350c ScriptInfo: 0x160556c


"MarkerOne" setMarkerSizeLocal [100, 200] 

setMarkerColor(marker, color) General V:1.21 0x125828a

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: 0x13c33e4 ScriptInfo: 0x16055a0


"MarkerOne" setMarkerColor "ColorBlack" 

setMarkerColorLocal(marker, color) General V:2.92 0x125833d

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: 0x13c32a8 ScriptInfo: 0x16055d4


"MarkerOne" setMarkerColorLocal "ColorBlack" 

setWPPos(wapoint, position) General V:1.21 0x12583f0

Sets the waypoint position. Waypoint uses format Waypoint. Position uses format Position2D.

C Func: 0x13c31f0 ScriptInfo: 0x1605608


[groupOne, 1] setWPPos getMarkerPos "MarkerOne" 

in(soldier, vehicle) General V:NaN 0x12584a3

Checks whether the soldier is mounted in the vehicle.

C Func: 0x132f2fc ScriptInfo: 0x160563c


player in jeepOne 

ammo(gunner or vehicle, magazine) General V:NaN 0x1258556

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

C Func: 0x13214d0 ScriptInfo: 0x1605670


player ammo "M16" 

setAmmo(unit, [weapon, count]) General V:NaN 0x1258609

Set how many shots the unit has left for the loaded magazine in the given weapon type.

C Func: 0x13c30a4 ScriptInfo: 0x16056a4


player setAmmo ["M16",5] 

hasWeapon(unit, weaponName) General V:NaN 0x12586bc

Checks whether the unit has the given weapon.

C Func: 0x13c3044 ScriptInfo: 0x16056d8


player hasWeapon "M16" 

addWeaponGlobal(unit, weaponName) General V:NaN 0x125876f

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: 0x13c2f60 ScriptInfo: 0x160570c


player addWeaponGlobal "AK74" 

removeWeaponGlobal(unit, weaponName, Removes the weapon from the unit. Note: you may create invalid combinations by using this function. When doing so, application behaviour is undefined.) General V:NaN 0x1258822

player removeWeaponGobal "M16"

C Func: 0x13c2e90 ScriptInfo: 0x1605740

addWeapon(unit, weaponName) General V:NaN 0x12588d5

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: 0x13c2e6c ScriptInfo: 0x1605774


player addWeapon "AK74" 

removeWeapon(unit, weaponName) General V:NaN 0x1258988

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: 0x13c2e40 ScriptInfo: 0x16057a8


player removeWeapon "M16" 

addMagazineGlobal(unit, magazineName) General V:NaN 0x1258a3b

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: 0x13c2d44 ScriptInfo: 0x16057dc


player addMagazineGlobal "M16" 

addMagazine(unit, magazineName) General V:NaN 0x1258aee

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: 0x13c2d1c ScriptInfo: 0x1605810


player addMagazine "M16" 

addMagazine(unit, [magazineName, ammo count]) General V:NaN 0x1258ba1

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: 0x13c2d1c ScriptInfo: 0x1605844


player addMagazine ["M16",15] 

addMagazines(unit, [magazineName, count]) General V:NaN 0x1258c54

Adds magazines to the unit.

C Func: 0x13c2ba4 ScriptInfo: 0x1605878


player addMagazines ["magazine name",count] 

addMagazineTurret(transport, [weaponName, turret path], 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.) General V:NaN 0x1258d07

player addMagazine "M16"

C Func: 0x13c2a90 ScriptInfo: 0x16058ac

removeMagazine(unit, weaponName) General V:NaN 0x1258dba

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: 0x13c29c4 ScriptInfo: 0x16058e0


player removeMagazine "M16" 

removeMagazineGlobal(unit, weaponName) General V:NaN 0x1258e6d

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: 0x13c2988 ScriptInfo: 0x1605914


player removeMagazineGlobal "M16" 

removeMagazineTurret(transport, [weaponName, turret path], 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.) General V:NaN 0x1258f20

vehicle player removeMagazine ["60rnd_cmflaremagazine",[-1]]

C Func: 0x13c2864 ScriptInfo: 0x1605948

removeMagazines(unit, weaponName) General V:NaN 0x1258fd3

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: 0x13c2788 ScriptInfo: 0x160597c


player removeMagazines "M16" 

removeMagazinesTurret(transport, [weaponName, turret path], 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.) General V:NaN 0x1259086

vehicle player removeMagazines ["60rnd_cmflaremagazine",,[-1]]

C Func: 0x13c2654 ScriptInfo: 0x16059b0

addBackpack(unit, backpackName) General V:NaN 0x1259139

Adds the backpack to the unit. Note: unit with secondary or two-slot weapon cannot have backpack.

C Func: 0x13c25b0 ScriptInfo: 0x16059e4


player addBackpack "usbackpack" 

selectWeapon(unit, weapon) General V:1.27 0x12591ec

Selects the given weapon. For weapon values see CfgWeapons.

C Func: 0x13c252c ScriptInfo: 0x1605a18


soldierOne selectWeapon "LAWLauncher" 

fire(unit, weaponName) General V:NaN 0x125929f

The unit will fire from the given weapon.

C Func: 0x1320168 ScriptInfo: 0x1605a4c


soldierOne fire "HandGrenade" 

fire(unit, array) General V:NaN 0x1259352

The unit will fire from the given weapon. The array has format [muzzle, mode, magazine] or [muzzle, mode].

C Func: 0x1320168 ScriptInfo: 0x1605a80


soldierOne fire ["throw","SmokeShell","SmokeShell"] 

land(helicopter, mode) General V:NaN 0x1259405

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: 0x1353f6c ScriptInfo: 0x1605ab4


cobraOne land "LAND" 

knowsAbout(unit, target) General V:NaN 0x12594b8

Checks whether the unit knows about the target (and how much). If the unit is a vehicle, the vehicle commander is considered instead.

C Func: 0x13c2294 ScriptInfo: 0x1605ae8


soldierOne knowsAbout jeepOne 

say(unit or [unit, target], speechName) General V:NaN 0x125956b

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: 0x13c215c ScriptInfo: 0x1605b1c


soldierOne say "speechId" 

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

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: 0x13c215c ScriptInfo: 0x1605b50

globalRadio(unit, radioName) General V:NaN 0x12596d1

Sends the message to the global radio channel. The message is defined in the description.ext file or radio protocol.

C Func: 0x13c1f10 ScriptInfo: 0x1605b84


soldierOne globalRadio "messageOne" 

sideRadio(unit, radioName) General V:NaN 0x1259784

Sends the message to the side radio channel. The message is defined in the description.ext file or radio protocol.

C Func: 0x13c1e68 ScriptInfo: 0x1605bb8


soldierOne sideRadio "messageOne" 

commandRadio(unit, radioName) General V:5501 0x1259837

Sends the message to the command radio channel. The message is defined in the description.ext file or radio protocol.

C Func: 0x13c1db8 ScriptInfo: 0x1605bec


soldierOne commandRadio "messageOne" 

groupRadio(unit, radioName) General V:NaN 0x12598ea

Sends the message to the group radio channel. The message is defined in the description.ext file or radio protocol.

C Func: 0x13c1d10 ScriptInfo: 0x1605c20


soldierOne groupRadio "messageOne" 

vehicleRadio(unit, radioName) General V:NaN 0x125999d

Sends the message to the vehicle radio channel. The message is defined in the description.ext file or radio protocol.

C Func: 0x13c1c5c ScriptInfo: 0x1605c54


soldierOne vehicleRadio "messageOne" 

directSay(unit, radioName) General V:5501 0x1259a50

Sends the message to the direct channel. The message is defined in the description.ext file or radio protocol.

C Func: 0x13c1bb8 ScriptInfo: 0x1605c88


soldierOne directSay "messageOne" 

globalChat(unit, chatText) General V:1.34 0x1259b03

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: 0x13c1aac ScriptInfo: 0x1605cbc


soldierOne globalChat "Show this text" 

sideChat(unit, chatText) General V:1.34 0x1259bb6

Types text to the side 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: 0x13c19a0 ScriptInfo: 0x1605cf0


soldierOne sideChat "Show this text" 

commandChat(unit, chatText) General V:5501 0x1259c69

Types text to the command 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: 0x13c1890 ScriptInfo: 0x1605d24


soldierOne commandChat "Show this text" 

groupChat(unit, chatText) General V:1.34 0x1259d1c

Types text to the group 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: 0x13c1780 ScriptInfo: 0x1605d58


soldierOne groupChat "Show this text" 

vehicleChat(unit, chatText) General V:1.34 0x1259dcf

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: 0x13c1670 ScriptInfo: 0x1605d8c


soldierOne vehicleChat "Show this text" 

useAudioTimeForMoves(soldier, toggle) General V:NaN 0x1259e82

Switch between elapsed gamet time and audio time being used as animation timer. Used for audio/animation synchronization.

C Func: 0x13c15ac ScriptInfo: 0x1605dc0


player useAudioTimeForMoves true 

playMove(soldier, moveName) General V:NaN 0x1259f35

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

C Func: 0x13c1528 ScriptInfo: 0x1605df4


soldierOne playMove "Stand" 

switchMove(soldier, moveName) General V:NaN 0x1259fe8

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: 0x13c1424 ScriptInfo: 0x1605e28


soldierOne switchMove "FXStandDip" 

playAction(soldier, action) General V:5500 0x125a09b

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

C Func: 0x13c13a4 ScriptInfo: 0x1605e5c


soldierOne playAction "SitDown" 

switchAction(soldier, action) General V:5500 0x125a14e

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: 0x1353f98 ScriptInfo: 0x1605e90


soldierOne switchAction "SitDown" 

playGesture(soldier, moveName) General V:5500 0x125a201

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

C Func: 0x13c1278 ScriptInfo: 0x1605ec4


soldierOne playGesture "Wave" 

switchGesture(soldier, moveName) General V:5500 0x125a2b4

When used on a person, the given move is started immediately (there is no transition).

C Func: 0x13c11f0 ScriptInfo: 0x1605ef8


soldierOne switchGesture "Wave" 

setRadioMsg(index, text) General V:NaN 0x125a367

Sets the radio message (0, 0, map radio) to the given text. Use "NULL" to disable the radio slot.

C Func: 0x13c1164 ScriptInfo: 0x1605f2c


0 setRadioMsg "Alpha Radio" 

==(obj1, obj2) General V:NaN 0x125a41a

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

C Func: 0x132f1dc ScriptInfo: 0x1605f60


player == leader player 

!=(obj1, obj2) General V:NaN 0x125a4cd

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

C Func: 0x132f178 ScriptInfo: 0x1605f94


vehicle player != player 

==(grp1, grp2) General V:NaN 0x125a580

Checks whether two groups are the same. If either of them is grpNull, false is returned.

C Func: 0x132f1dc ScriptInfo: 0x1605fc8


group player == group soldierOne 

!=(grp1, grp2) General V:NaN 0x125a633

Checks whether two groups are different. If either of them is grpNull, true is returned.

C Func: 0x132f178 ScriptInfo: 0x1605ffc


group player != group soldierOne 

==(side1, side2) General V:NaN 0x125a6e6

Checks whether two side values are equal.

C Func: 0x132f1dc ScriptInfo: 0x1606030


side player == west 

!=(side1, side2) General V:NaN 0x125a799

Checks whether two side values are different.

C Func: 0x132f178 ScriptInfo: 0x1606064


side player != west 

==(text1, text2) General V:2.01 0x125a84c

Checks whether two structured text values are equal.

C Func: 0x132f1dc ScriptInfo: 0x1606098

!=(text1, text2) General V:2.01 0x125a8ff

Checks whether two structured text values are different.

C Func: 0x132f178 ScriptInfo: 0x16060cc

countEnemy(unit, array, Counts how many units in the array are considered enemy by the given unit., player countEnemy list triggerOne) V:NaN 0x125a9b2

General

C Func: 0x13c0de8 ScriptInfo: 0x1606100

countFriendly(unit, array, Counts how many units in the array are considered friendly by the given unit., player countFriendly list triggerOne) V:NaN 0x125aa65

General

C Func: 0x13c0d5c ScriptInfo: 0x1606134

countUnknown(unit, array, Counts how many units in the array are considered unknown to the given unit., player countUnknown list triggerOne) V:NaN 0x125ab18

General

C Func: 0x13c0cd8 ScriptInfo: 0x1606168

countType(typeName, array) General V:NaN 0x125abcb

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

C Func: 0x13c0c44 ScriptInfo: 0x160619c


"Tank" countType list triggerOne 

countSide(side, array) General V:NaN 0x125ac7e

Checks how many vehicles belong to the given side.

C Func: 0x13c0be4 ScriptInfo: 0x16061d0


west countSide list triggerOne 

allowGetIn(unitArray, allow) General V:NaN 0x125ad31

Allows the getting in of vehicles of all units in the list.

C Func: 0x13c0b6c ScriptInfo: 0x1606204


[unitOne, unitTwo] allowGetIn false 

orderGetIn(unitArray, order) General V:NaN 0x125ade4

Forces all units in the list to get in their assigned vehicle.

C Func: 0x13c0af4 ScriptInfo: 0x1606238


[unitOne, unitTwo] orderGetIn true 

join(unitArray, group) General V:1.34 0x125ae97

Joins all units in the array to the given group. Note: the total number of group members cannot exceed 12. Note: This function is unsupported in MP in version 1.33 and before.

C Func: 0x1320484 ScriptInfo: 0x160626c


[unitOne, unitTwo] join player 

move(group, pos) General V:NaN 0x125af4a

Creates a move waypoint on the given position (format Position) and makes it the currently active group waypoint.

C Func: 0x1334e5c ScriptInfo: 0x16062a0


groupOne move getPos player 

setGroupid(group, [nameFomat, nameParam1, ...]) General V:NaN 0x125affd

Sets the group identity. nameFormat contains strings "%CLASS_NAME" where CLASS_NAME is name of class in CfgWorlds, parameters are names of subclasses of CLASS_NAME with the description of the name subpart.

C Func: 0x13c0888 ScriptInfo: 0x16062d4

setBehaviour(group, behaviour) General V:NaN 0x125b0b0

Sets the group behaviour mode. Behaviour is one of: "CARELESS", "SAFE", "AWARE", "COMBAT" or "STEALTH".

C Func: 0x13c07ec ScriptInfo: 0x1606308


groupOne setBehaviour "SAFE" 

setCombatMode(group, mode) General V:NaN 0x125b163

Sets the group'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: 0x13c06d4 ScriptInfo: 0x160633c


groupOne setCombatMode "BLUE" 

setFormation(group, formation) General V:NaN 0x125b216

Sets the group formation. Formation is one of: "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" or "LINE".

C Func: 0x13c0628 ScriptInfo: 0x1606370


groupOne setFormation "LINE" 

setSpeedMode(group, mode) General V:NaN 0x125b2c9

Sets the group speed mode. Mode may be one of: "LIMITED" (half speed), "NORMAL" (full speed, maintain formation) or "FULL" (do not wait for any other units in the formation).

C Func: 0x13c0544 ScriptInfo: 0x16063a4


groupOne setSpeedMode "LIMITED" 

setUnitPos(unit, mode) General V:NaN 0x125b37c

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

C Func: 0x13c04cc ScriptInfo: 0x16063d8


soldierOne setUnitPos "Down" 

enableAIFeature(feature, enabled) General V:60220 0x125b42f

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

C Func: 0x13c0424 ScriptInfo: 0x160640c


"AwareFormationSoft" enableAIFeature true 

lockWp(group, lockWP, Disables switching to the next waypoint (the current waypoint will never complete while lockWp is used). This is sometimes used during cut-scenes.) General V:NaN 0x125b4e2

groupOne lockWP true

C Func: 0x13c0368 ScriptInfo: 0x1606440

lock(vehicle, lock) General V:NaN 0x125b595

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

C Func: 0x1308054 ScriptInfo: 0x1606474


jeepOne lock true 

lock(vehicle, lock) General V:NaN 0x125b648

Locks the vehicle (disables mounting / dismounting) for the player. 0 - Unlocked, 1 - Default, 2 - Locked, 3 - Locked for player

C Func: 0x1308054 ScriptInfo: 0x16064a8


jeepOne lock 3 

stop(unit, stop) General V:NaN 0x125b6fb

Stops an AI unit. This function is obsolete. Use disableAI to get better control over stopping a unit.

C Func: 0x1353fc0 ScriptInfo: 0x16064dc


soldierOne stop true 

disableAI(unit, section) General V:NaN 0x125b7ae

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: 0x13c00c8 ScriptInfo: 0x1606510


soldierOne disableAI "Move" 

enableAI(unit, section) General V:2.53 0x125b861

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: 0x13bffc8 ScriptInfo: 0x1606544


soldierOne enableAI "Move" 

assignAsCommander(soldier, vehicle) General V:NaN 0x125b914

Assigns the soldier as commander of the given vehicle.

C Func: 0x13bff58 ScriptInfo: 0x1606578


player assignAsCommander tankOne 

assignAsDriver(soldier, vehicle) General V:NaN 0x125b9c7

Assigns the soldier as driver of the given vehicle.

C Func: 0x13bfef4 ScriptInfo: 0x16065ac


player assignAsDriver tankOne 

assignAsGunner(soldier, vehicle) General V:NaN 0x125ba7a

Assigns the soldier as gunner of the given vehicle.

C Func: 0x13bfe90 ScriptInfo: 0x16065e0


player assignAsGunner tankOne 

assignAsTurret(unit, [vehicle, [turretPath]], Assigns the soldier to turret., player assignAsTurret [tankOne, [0,0]]) General V:NaN 0x125bb2d

82993 TOH

C Func: 0x13bfe14 ScriptInfo: 0x1606614

assignAsCargo(soldier, vehicle) General V:NaN 0x125bbe0

Assigns the soldier to the cargo / passenger space of the given vehicle.

C Func: 0x13bfd94 ScriptInfo: 0x1606648


player assignAsCargo tankOne 

assignAsCargoIndex(soldier, [vehicle, index]) General V:NaN 0x125bc93

Assigns the character to a specific cargo / passenger index of the given vehicle.

C Func: 0x13bfcf0 ScriptInfo: 0x160667c


player assignAsCargoIndex [tankOne,1] 

leaveVehicle(group, vehicle) General V:NaN 0x125bd46

Ceases the using of the vehicle in the group. It unassigns all grouped units from the vehicle.

C Func: 0x13bfc5c ScriptInfo: 0x16066b0


soldierOne leaveVehicle jeepOne 

leaveVehicle(group, vehicle) General V:NaN 0x125bdf9

Ceases the using of the vehicle in the group. It unassigns all grouped units from the vehicle.

C Func: 0x13bfc5c ScriptInfo: 0x16066e4


groupOne leaveVehicle jeepOne 

moveInCommander(soldier, vehicle) General V:NaN 0x125beac

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

C Func: 0x13bfba8 ScriptInfo: 0x1606718


soldierOne moveInCommander jeepOne 

moveInDriver(soldier, vehicle) General V:NaN 0x125bf5f

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

C Func: 0x13bfb20 ScriptInfo: 0x160674c


soldierOne moveInDriver jeepOne 

moveInGunner(soldier, vehicle) General V:NaN 0x125c012

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

C Func: 0x13bfa98 ScriptInfo: 0x1606780


soldierOne moveInGunner jeepOne 

moveInCargo(soldier, vehicle) General V:NaN 0x125c0c5

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

C Func: 0x13bfa10 ScriptInfo: 0x16067b4


soldierOne moveInCargo jeepOne 

moveInCargo(soldier, [vehicle, CargoIndex]) General V:NaN 0x125c178

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

C Func: 0x13bfa10 ScriptInfo: 0x16067e8


soldierOne moveInCargo jeepOne 

moveInTurret(soldier, [vehicle, turret path]) General V:NaN 0x125c22b

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

C Func: 0x13bf8f8 ScriptInfo: 0x160681c


soldierOne moveInTurret [tank, [0, 0]] 

weaponAccessories(vehicle, weapon) General V:1.75 0x125c2de

Get array with all items linked to a given weapon.

C Func: 0x13bf8b0 ScriptInfo: 0x1606850

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

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

C Func: 0x13bf7f8 ScriptInfo: 0x1606884

allowFleeing(unit, courage) General V:NaN 0x125c444

Sets the group courage. The less courage, the sooner the group will start fleeing. 0 means maximum courage, while 1 means always fleeing.

C Func: 0x13bf738 ScriptInfo: 0x16068b8


soldierOne allowFleeing 0 

objStatus(objective, status) General V:NaN 0x125c4f7

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

C Func: 0x13bf698 ScriptInfo: 0x16068ec


"obj_1" objStatus "FAILED" 

exec(argument, script) General V:NaN 0x125c5aa

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: 0x13233c8 ScriptInfo: 0x1606920


[player, jeepOne] exec "getIn.sqs" 

spawn(arguments, script) General V:2.50 0x125c65d

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

C Func: 0x13bf544 ScriptInfo: 0x1606954

setOvercast(time, overcast) General V:NaN 0x125c710

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: 0x13bf41c ScriptInfo: 0x1606988


1800 setOvercast 0.5 

setFog(time, fog) General V:NaN 0x125c7c3

Changes the fog value smoothly during the given time (in seconds). A time of zero means there will be an immediate change. Fog can be either a single value indicating fog density or an array [fog, decay, base]: fog - indicates fog density, 0 - no fog, 1 - maximum fog; decay - indicates density falloff with altitude; base - indicates altitude at which fog will have its nominal density.

C Func: 0x13bf27c ScriptInfo: 0x16069bc


1800 setFog 0.5 

setWindForce(time, wind, 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.) General V:NaN 0x125c876

1800 setFog 0.5

C Func: 0x13bf184 ScriptInfo: 0x16069f0

setRain(time, rainDensity) General V:1.75 0x125c929

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: 0x13bf068 ScriptInfo: 0x1606a24


60 setRain 1 

setFuel(vehicle, amount) General V:NaN 0x125c9dc

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

C Func: 0x13bf004 ScriptInfo: 0x1606a58


jeepOne setFuel 0 

setFuelCargo(vehicle, amount) General V:NaN 0x125ca8f

Sets the fuel amount in the cargo space of a refuelling vehicle. A fuel level of one is a full gas tank.

C Func: 0x13bef64 ScriptInfo: 0x1606a8c


refuelTruckOne setFuelCargo 0 

setRepairCargo(vehicle, amount) General V:NaN 0x125cb42

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: 0x13beebc ScriptInfo: 0x1606ac0


repairTruckOne setRepairCargo 0 

setAmmoCargo(vehicle, ammoCargo) General V:NaN 0x125cbf5

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: 0x13bedc0 ScriptInfo: 0x1606af4


rearmTruckOne setAmmoCargo 0 

addWeaponCargo(unit, weapons) General V:NaN 0x125cca8

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: 0x13becd4 ScriptInfo: 0x1606b28


rearmTruckOne addWeaponCargo ["M16", 10] 

linkItem(unit, item) General V:NaN 0x125cd5b

Create and assign new item to the soldier's body.(NVG, radio, ...)

C Func: 0x13bec84 ScriptInfo: 0x1606b5c

assignItem(unit, item) General V:NaN 0x125ce0e

Assigns existing item from inventory (uniform, vest, backpack) to a correct slot.

C Func: 0x13bec24 ScriptInfo: 0x1606b90

unassignItem(unit, item) General V:NaN 0x125cec1

Unassign existing item to the soldier's containers.

C Func: 0x13bebdc ScriptInfo: 0x1606bc4

unlinkItem(unit, item) General V:NaN 0x125cf74

Unlink and remove existing linked item from soldier

C Func: 0x13beb9c ScriptInfo: 0x1606bf8

addItem(unit, item) General V:NaN 0x125d027

Create new item and store it to to the inventory.

C Func: 0x13beb60 ScriptInfo: 0x1606c2c

addItemToUniform(unit, item) General V:NaN 0x125d0da

Create new item and store it to soldier's uniform

C Func: 0x13beb18 ScriptInfo: 0x1606c60

addItemToVest(unit, item) General V:NaN 0x125d18d

Create new item and store it to soldier's vest

C Func: 0x13bead8 ScriptInfo: 0x1606c94

addItemToBackpack(unit, item) General V:NaN 0x125d240

Create new item and store it to soldier's backpack

C Func: 0x13bea90 ScriptInfo: 0x1606cc8

canAdd(unit, item) General V:NaN 0x125d2f3

Check if given object can be stored into target entity

C Func: 0x13bea50 ScriptInfo: 0x1606cfc

canAddItemToUniform(unit, item) General V:NaN 0x125d3a6

Check if given object can be stored into soldier's uniform

C Func: 0x13bea00 ScriptInfo: 0x1606d30

canAddItemToVest(unit, item) General V:NaN 0x125d459

Check if given object can be stored into soldier's uniform

C Func: 0x13be9ec ScriptInfo: 0x1606d64

canAddItemToBackpack(unit, item) General V:NaN 0x125d50c

Check if given object can be stored into soldier's uniform

C Func: 0x13be9d4 ScriptInfo: 0x1606d98

removeItem(unit, item) General V:NaN 0x125d5bf

Remove item from the inventory.

C Func: 0x13be9a8 ScriptInfo: 0x1606dcc

removeItemFromUniform(unit, item) General V:NaN 0x125d672

Remove item from soldier's uniform.

C Func: 0x13be96c ScriptInfo: 0x1606e00

removeItemFromVest(unit, item) General V:NaN 0x125d725

Remove item from soldier's uniform.

C Func: 0x13be958 ScriptInfo: 0x1606e34

removeItemFromBackpack(unit, item) General V:NaN 0x125d7d8

Remove item from soldier's uniform.

C Func: 0x13be940 ScriptInfo: 0x1606e68

removeItems(unit, item) General V:NaN 0x125d88b

Remove all items with given template from the inventory.

C Func: 0x13be8f8 ScriptInfo: 0x1606e9c

addVest(unit, type) General V:NaN 0x125d93e

Create a new vest and try to link it into vest slot.

C Func: 0x13be8b8 ScriptInfo: 0x1606ed0

isFlashlightOn(unit, weapon, Return if there is a linked and enabled flashlight on a given weapon.) General V:NaN 0x125d9f1

player IsFlashlightOn (currentWeapon player)

C Func: 0x13be830 ScriptInfo: 0x1606f04

isIRLaserOn(unit, weapon, Return if there is a linked and enabled IR on a given weapon.) General V:NaN 0x125daa4

player IsIRLaserOn (currentWeapon player)

C Func: 0x13be7b8 ScriptInfo: 0x1606f38

addUniform(unit, type) General V:NaN 0x125db57

Create a new uniform and try to link it into uniform slot.

C Func: 0x13be770 ScriptInfo: 0x1606f6c

addHeadgear(unit, weapons) General V:NaN 0x125dc0a

Create a new item and try to link them into headgear slot

C Func: 0x13be728 ScriptInfo: 0x1606fa0

addGoggles(unit, type) General V:NaN 0x125dcbd

Create a new item and try to link them into goggles slot.

C Func: 0x13be6e0 ScriptInfo: 0x1606fd4

addPrimaryWeaponItem(unit, item) General V:NaN 0x125dd70

Adds item to the weapon cargo space of primary weapon.

C Func: 0x13be664 ScriptInfo: 0x1607008


player addPrimaryWeaponItem "ItemClassName" 

addSecondaryWeaponItem(unit, item) General V:NaN 0x125de23

Adds item to the weapon cargo space of secondary weapon.

C Func: 0x13be5e0 ScriptInfo: 0x160703c


player addSecondaryWeaponItem "ItemClassName" 

addHandgunItem(unit, item) General V:NaN 0x125ded6

Adds item to the weapon cargo space. This is used for infantry weapons.

C Func: 0x13be560 ScriptInfo: 0x1607070


player addHandgunItem "ItemClassName" 

removePrimaryWeaponItem(unit, item) General V:NaN 0x125df89

Removes given item from the weapon cargo space.

C Func: 0x13be4e8 ScriptInfo: 0x16070a4


player removePrimaryWeaponItem "ItemClassName" 

removeHandgunItem(unit, item) General V:NaN 0x125e03c

Removes given item from the weapon cargo space.

C Func: 0x13be4a8 ScriptInfo: 0x16070d8


player removeHandgunItem "ItemClassName" 

addMagazineCargo(unit, magazines) General V:NaN 0x125e0ef

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: 0x13be3b4 ScriptInfo: 0x160710c


rearmTruckOne addMagazineCargo ["M16", 10] 

addItemCargo(unit, [item, count]) General V:NaN 0x125e1a2

Create new items and store them to the weapon holder.

C Func: 0x13be32c ScriptInfo: 0x1607140


rearmTruckOne addItemCargo ["optic_ARCO", 10] 

addBackpackCargo(unit, backpacks) General V:NaN 0x125e255

Adds bacpacks to the cargo space. The format of backpacks is [backpacksName, count]. For backpacksName values see CfgWeapons.

C Func: 0x13be254 ScriptInfo: 0x1607174


rearmTruckOne addBackpackCargo ["DSHKM_TK_GUE_Bag_EP1", 2] 

addWeaponCargoGlobal(unit, weapons, Adds weapons to the weapon cargo space. This is used for infantry weapons. MP synchronized. The format of weapons is [weaponName, count]. For weaponName values see CfgWeapons.) General V:NaN 0x125e308

rearmTruckOne addWeaponCargo ["M16", 10]

C Func: 0x13be17c ScriptInfo: 0x16071a8

addMagazineCargoGlobal(unit, magazines, Adds magazines to the weapon cargo space. This is used for infantry weapons. MP synchronized. The format of magazines is [magazineName, count]. For magazineName values see CfgWeapons.) General V:NaN 0x125e3bb

rearmTruckOne addMagazineCargo ["M16", 10]

C Func: 0x13be09c ScriptInfo: 0x16071dc

addBackpackCargoGlobal(unit, backpacks, Adds bacpacks to the cargo space. MP synchronized. The format of backpacks is [backpacksName, count]. For backpacksName values see CfgWeapons.) General V:NaN 0x125e46e

rearmTruckOne addBackpackCargo ["DSHKM_TK_GUE_Bag_EP1", 2]

C Func: 0x13bdfe4 ScriptInfo: 0x1607210

addItemCargoGlobal(unit, [item, count], Create new items and store them to the weapon holder.) General V:NaN 0x125e521

rearmTruckOne addItemCargo ["optic_ARCO", 10]

C Func: 0x13bdfd0 ScriptInfo: 0x1607244

createVehicle(type, pos) General V:1.34 0x125e5d4

Creates an empty vehicle of the given type. Pos is in format Position. See CfgVehicles for possible type values.

C Func: 0x13a7044 ScriptInfo: 0x1607278


_tank = "M1Abrams" createVehicle getmarkerpos "tankFactory" 

createSite(type, pos) General V:1.34 0x125e687

Creates a new site.

C Func: 0x13bdeec ScriptInfo: 0x16072ac

createUnit(type, unitInfo) General V:1.34 0x125e73a

Creates a unit of the given type. The format of unitInfo is: [pos (Position), group (Group), init (String), skill (Number), rank (String)]. Note: init, skill and rank are optional. Their default values are "", 0.5, "PRIVATE".

C Func: 0x13bdd84 ScriptInfo: 0x16072e0


"SoldierWB" createUnit [getMarkerPos "barracks", groupAlpha] 

preloadObject(distance, object) General V:2.50 0x125e7ed

Preload all data for given object.

C Func: 0x13bdd50 ScriptInfo: 0x1607314

fadeMusic(time, volume) General V:NaN 0x125e8a0

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: 0x13bdca4 ScriptInfo: 0x1607348


5 fadeMusic 0 

fadeSound(time, volume) General V:NaN 0x125e953

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: 0x13bdbf0 ScriptInfo: 0x160737c


5 fadeSound 0.1 

fadeRadio(time, volume) General V:NaN 0x125ea06

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: 0x13bdb40 ScriptInfo: 0x16073b0


5 fadeRadio 0.1 

cameraEffect(camera, effect) General V:NaN 0x125eab9

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: 0x13bda10 ScriptInfo: 0x16073e4


cameraEffect ["External", "Back"] 

camCreate(type, position) General V:NaN 0x125eb6c

Creates a camera or an actor of the given type on the given initial position (format Position). Its type is one of "CAMERA" or "SEAGULL".

C Func: 0x13bd948 ScriptInfo: 0x1607418


_camera = camCreate getPos player 

camSetPos(camera, position) General V:NaN 0x125ec1f

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

C Func: 0x13bd8bc ScriptInfo: 0x160744c


_camera camSetPos getPos player 

camSetRelPos(camera, position) General V:NaN 0x125ecd2

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

C Func: 0x13bd7f8 ScriptInfo: 0x1607480


_camera camSetRelPos [10,5] 

camSetFov(camera, fieldOfView) General V:NaN 0x125ed85

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

C Func: 0x13bd774 ScriptInfo: 0x16074b4


_camera camSetFov 0.1 

camSetFocus(camera, focusRange) General V:NaN 0x125ee38

focusRange is in format [distance,blur]. Sets the camera focus blur. It does not automatically commit changes.

C Func: 0x13bd6cc ScriptInfo: 0x16074e8


_camera camSetFocus [50, 1] 

camSetFovRange(camera, fovRange) General V:NaN 0x125eeeb

Sets the camera field of view range for auto zooming. It does not automatically commit changes.

C Func: 0x13bd628 ScriptInfo: 0x160751c


_camera camSetFovRange [0.1, 0.5] 

camSetDive(camera, dive) General V:NaN 0x125ef9e

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

C Func: 0x13bd5b8 ScriptInfo: 0x1607550


_camera camSetDive -0.1 

camSetBank(camera, bank) General V:NaN 0x125f051

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

C Func: 0x13bd544 ScriptInfo: 0x1607584


_camera camSetBank -0.1 

camSetDir(camera, direction) General V:NaN 0x125f104

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

C Func: 0x13bd4dc ScriptInfo: 0x16075b8


_camera camSetDir 150 

camCommit(camera, time) General V:NaN 0x125f1b7

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

C Func: 0x13bd458 ScriptInfo: 0x16075ec


_camera camCommit 5 

camSetTarget(camera, target) General V:NaN 0x125f26a

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

C Func: 0x13bd3e8 ScriptInfo: 0x1607620


_camera camSetTarget player 

camSetTarget(camera, position) General V:NaN 0x125f31d

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

C Func: 0x13bd3e8 ScriptInfo: 0x1607654


_camera camSetTarget getPos player 

camPreparePos(camera, position) General V:2.95 0x125f3d0

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

C Func: 0x13bd2a4 ScriptInfo: 0x1607688


_camera camPreparePos getPos player 

camPrepareRelPos(camera, position) General V:2.95 0x125f483

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

C Func: 0x13bd1c0 ScriptInfo: 0x16076bc


_camera camPrepareRelPos [10,5] 

camPrepareFov(camera, fieldOfView) General V:2.95 0x125f536

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

C Func: 0x13bd12c ScriptInfo: 0x16076f0


_camera camPrepareFov 0.1 

camPrepareFocus(camera, focusRange) General V:2.95 0x125f5e9

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

C Func: 0x13bd074 ScriptInfo: 0x1607724


_camera camPrepareFocus [50, 1] 

camPrepareFovRange(camera, fovRange) General V:2.95 0x125f69c

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

C Func: 0x13bcfc0 ScriptInfo: 0x1607758


_camera camPrepareFovRange [0.1, 0.5] 

camPrepareDive(camera, dive) General V:2.95 0x125f74f

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

C Func: 0x13bcf38 ScriptInfo: 0x160778c


_camera camPrepareDive -0.1 

camPrepareBank(camera, bank) General V:2.95 0x125f802

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

C Func: 0x13bceac ScriptInfo: 0x16077c0


_camera camPrepareBank -0.1 

camPrepareDir(camera, direction) General V:2.95 0x125f8b5

Prepares the camera heading. See also camPreload and camCommitPrepared.

C Func: 0x13bce28 ScriptInfo: 0x16077f4


_camera camPrepareDir 150 

camCommitPrepared(camera, time, Commits the prepared camera changes smoothly over time. A time of zero results in an immediate change.) General V:2.95 0x125f968

_camera camCommit 5

C Func: 0x13bcda8 ScriptInfo: 0x1607828

camPreload(camera, time, Preload the scene for he prepared camera. Time gives timeout, zero means no (infinite) timeout.) General V:2.95 0x125fa1b

_camera camCommit 5

C Func: 0x13bcd38 ScriptInfo: 0x160785c

camPrepareTarget(camera, target) General V:2.95 0x125face

Prepares the camera target. See also camPreload and camCommitPrepared.

C Func: 0x13bcca8 ScriptInfo: 0x1607890


_camera camPrepareTarget player 

camPrepareTarget(camera, position) General V:2.95 0x125fb81

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

C Func: 0x13bcca8 ScriptInfo: 0x16078c4


_camera camPrepareTarget getPos player 

camCommand(camera, command) General V:NaN 0x125fc34

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: 0x13bcab8 ScriptInfo: 0x16078f8


_camera camCommand "Manual on" 

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

Sets construction camera parameters.

C Func: 0x13bca1c ScriptInfo: 0x160792c


_camera camConstuctionSetParams [getpos player,50,20] 

switchCamera(unit, mode) General V:NaN 0x125fd9a

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: 0x13bc948 ScriptInfo: 0x1607960


sniperOne switchCamera "gunner" 

commandMove(unit, position) General V:NaN 0x125fe4d

Orders the unit to move to the given position (format Position) (via the radio).

C Func: 0x13bc8a8 ScriptInfo: 0x1607994


soldierOne commandMove getMarkerPos "MarkerMoveOne" 

doMove(unit, position) General V:NaN 0x125ff00

Orders the unit to move to the given position (format Position) (silently).

C Func: 0x13bc818 ScriptInfo: 0x16079c8


soldierOne doMove getMarkerPos "MarkerMoveOne" 

commandWatch(unit, position) General V:NaN 0x125ffb3

Orders the unit to watch the given position (format Position) (via the radio).

C Func: 0x13bc774 ScriptInfo: 0x16079fc


soldierOne commandWatch getMarkerPos "MarkerMoveOne" 

doWatch(unit, position) General V:NaN 0x1260066

Orders the unit to watch the given position (format Position) (silently).

C Func: 0x13bc6e4 ScriptInfo: 0x1607a30


soldierOne doWatch getMarkerPos "MarkerMoveOne" 

commandWatch(unit, target) General V:NaN 0x1260119

Orders the unit to watch the given target (via the radio).

C Func: 0x13bc774 ScriptInfo: 0x1607a64


soldierOne commandWatch player 

doWatch(unit, target) General V:NaN 0x12601cc

Orders the unit to watch the given target (silently).

C Func: 0x13bc6e4 ScriptInfo: 0x1607a98


soldierOne doWatch player 

commandTarget(unit, position) General V:NaN 0x126027f

Orders the unit to target the given target (via the radio).

C Func: 0x13bc5c8 ScriptInfo: 0x1607acc


soldierOne commandTarget player 

doTarget(unit, position) General V:NaN 0x1260332

Orders the unit to target the given target (silently).

C Func: 0x13bc568 ScriptInfo: 0x1607b00


soldierOne doTarget player 

commandFollow(unit, formationLeader) General V:NaN 0x12603e5

Orders a unit to follow the given unit (via the radio).

C Func: 0x13bc500 ScriptInfo: 0x1607b34


soldierOne commandFollow player 

doFollow(unit, position) General V:NaN 0x1260498

Orders a unit to follow the given unit (silently).

C Func: 0x13bc4a4 ScriptInfo: 0x1607b68


soldierOne doFollow player 

commandFire(unit, target) General V:NaN 0x126054b

Orders a unit to commence firing on the given target (via the radio). If the target is objNull, the unit is ordered to commence firing on its current target (set using doTarget or commandTarget).

C Func: 0x13bc3b4 ScriptInfo: 0x1607b9c


soldierOne commandFire player 

doFire(unit, target) General V:NaN 0x12605fe

Orders a unit to commence firing on the given target (silently). If the target is objNull, the unit is ordered to commence firing on its current target (set using doTarget or commandTarget).

C Func: 0x13bc2cc ScriptInfo: 0x1607bd0


soldierOne doFire objNull 

commandArtilleryFire(unit, [position, type, rounds]) General V:NaN 0x12606b1

Orders a unit to reaload defined magazine commence fire burst on the given position (via the radio).

C Func: 0x13bc1e0 ScriptInfo: 0x1607c04


mortar1 commandArtilleryFire [[3000, 120, 1000], "8Rnd_82mm_Mo_shells", 3] 

doArtilleryFire(unit, [position, type, rounds]) General V:NaN 0x1260764

Orders a unit to reaload defined magazine commence fire burst on the given position (silently).

C Func: 0x13bc124 ScriptInfo: 0x1607c38


mortar1 doArtilleryFire [[3000, 120, 1000], "8Rnd_82mm_Mo_shells", 3] 

action(unit, action) General V:NaN 0x1260817

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: 0x131acf4 ScriptInfo: 0x1607c6c


soldierOne action ["eject", vehicle soldierOne] 

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

Creates an action and returns its ID. It uses the following algorithm: the first action added to the given vehicle has ID zero, the next vehicle has ID one, etc.

C Func: 0x13bbeb0 ScriptInfo: 0x1607ca0


player addAction ["Hello", "hello.sqs"]; player addAction ["Hello2", { hint "Hello!"} ] 

setUserActionText(unit, [action index, "text", "textDefault", "textToolTip"], Change action texts., player VehSetUserActionText [0, "hello"]) General V:NaN 0x126097d

83363 TOH

C Func: 0x13bbe14 ScriptInfo: 0x1607cd4

removeAction(unit, index) General V:1.11 0x1260a30

Removes the action with the given id.

C Func: 0x13bbde4 ScriptInfo: 0x1607d08


player removeAction 0 

reveal(group, unit) General V:NaN 0x1260ae3

Reveals the unit to the group. It does not matter whether the group can know about the unit or not.

C Func: 0x13bbd58 ScriptInfo: 0x1607d3c


soldierOne reveal soldierTwo 

reveal(group, unit) General V:NaN 0x1260b96

Reveals the unit to the group. It does not matter whether the group can know about the unit or not.

C Func: 0x13bbd58 ScriptInfo: 0x1607d70


soldierOne reveal [soldierTwo,1.5] 

addEventHandler(object, handler) General V:1.85 0x1260c49

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: 0x13bbc34 ScriptInfo: 0x1607da4


player addEventHandler ["killed",{_this exec "playerKilled.sqs"}] 

removeEventHandler(object, handler) General V:1.85 0x1260cfc

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: 0x13bbb14 ScriptInfo: 0x1607dd8


player removeEventHandler ["killed",0] 

removeAllEventHandlers(object, handlerType) General V:1.85 0x1260daf

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

C Func: 0x13bba68 ScriptInfo: 0x1607e0c


player removeAllEventHandlers "killed" 

addMPEventHandler(object, handler) General V:1.85 0x1260e62

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: 0x13bba08 ScriptInfo: 0x1607e40


player addMPEventHandler ["mpkilled",{_this exec "playerKilled.sqs"}] 

removeMPEventHandler(object, handler) General V:1.85 0x1260f15

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

C Func: 0x13bb8d4 ScriptInfo: 0x1607e74


player removeMPEventHandler ["killed",0] 

removeAllMPEventHandlers(object, handlerType) General V:1.85 0x1260fc8

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

C Func: 0x13bb828 ScriptInfo: 0x1607ea8


player removeAllMPEventHandlers "mpkilled" 

engineOn(vehicle, on) General V:1.90 0x126107b

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

C Func: 0x1361b00 ScriptInfo: 0x1607edc


vehicle player engineOn false 

setFriend(side1, [side2, value]) General V:1.86 0x126112e

Sets how friendly side1 is with side2. For a value smaller than 0.6 it results in being enemy, otherwise it's friendly.

C Func: 0x13bb73c ScriptInfo: 0x1607f10

setMarkerText(name, text) General V:1.86 0x12611e1

Sets the text label of an existing marker. The marker is modified on all computers in a network session.

C Func: 0x13bb698 ScriptInfo: 0x1607f44


"Marker1" setMarkerText You are here. 

setMarkerTextLocal(name, text) General V:2.92 0x1261294

Sets the text label of an existing marker. The marker is only modified on the computer where the command is called.

C Func: 0x13bb5e0 ScriptInfo: 0x1607f78


"Marker1" setMarkerTextLocal You are here. 

setMarkerShape(name, shape) General V:1.86 0x1261347

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: 0x13bb50c ScriptInfo: 0x1607fac


"Marker1" setMarkerShape "RECTANGLE" 

setMarkerShapeLocal(name, shape) General V:2.92 0x12613fa

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: 0x13bb428 ScriptInfo: 0x1607fe0


"Marker1" setMarkerShapeLocal "RECTANGLE" 

setMarkerBrush(name, brush) General V:1.86 0x12614ad

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: 0x13bb330 ScriptInfo: 0x1608014


"Marker1" setMarkerBrush "DiagGrid" 

setMarkerBrushLocal(name, brush) General V:2.92 0x1261560

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: 0x13bb22c ScriptInfo: 0x1608048


"Marker1" setMarkerBrushLocal "DiagGrid" 

setMarkerDir(name, angle) General V:1.86 0x1261613

Sets the orientation of the marker. Angle is in degrees. The marker is modified on all computers in a network session.

C Func: 0x13bb184 ScriptInfo: 0x160807c


"Marker1" setMarkerDir 90 

setMarkerDirLocal(name, angle) General V:2.92 0x12616c6

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: 0x13bb0cc ScriptInfo: 0x16080b0


"Marker1" setMarkerDirLocal 90 

setTriggerArea(trigger, [a, b, angle, rectangle]) General V:1.86 0x1261779

Defines the area controlled by the trigger. The area is rectangular or elliptic, the width is 2 * a, the height is 2 * b. It is rotated angle degrees.

C Func: 0x13bafdc ScriptInfo: 0x16080e4


trigger setTriggerArea [100, 50, 45, false] 

setTriggerActivation(trigger, [by, type, repeating]) General V:1.86 0x126182c

Defines the trigger activation type. The first argument - who activates trigger (side, radio, vehicle or group member): "NONE", "EAST", "WEST", "GUER", "CIV", "LOGIC", "ANY", "ALPHA", "BRAVO", "CHARLIE", "DELTA", "ECHO", "FOXTROT", "GOLF", "HOTEL", "INDIA", "JULIET", "STATIC", "VEHICLE", "GROUP", "LEADER" or "MEMBER". The second argument - when is it activated (presention or detection by the specified side): "PRESENT", "NOT PRESENT", "WEST D", "EAST D", "GUER D" or "CIV D". The third argument - whether the activation is repeating.

C Func: 0x13bad54 ScriptInfo: 0x1608118


trigger setTriggerActivation ["WEST", "EAST D", true] 

setTriggerType(trigger, action) General V:1.86 0x12618df

Sets the type of action processed by the trigger after activation (no action, a waypoints switch or an end of mission): "NONE", "SWITCH", "END1", "END2", "END3", "END4", "END5", "END6", "LOOSE" or "WIN".

C Func: 0x13bac58 ScriptInfo: 0x160814c


trigger setTriggerType "END1" 

setTriggerTimeout(trigger, [min, mid, max, interruptable]) General V:1.86 0x1261992

Defines the time between condition satisfaction and trigger activation (randomly from min to max, with an average value mid). If the last argument is true, the condition must be fullfilled all the time.

C Func: 0x13bab28 ScriptInfo: 0x1608180


trigger setTriggerTimeout [5, 10, 7, false] 

setTriggerText(trigger, text) General V:1.86 0x1261a45

Sets the text label attached to the trigger object. This is used for example as a radio slot label for radio activated triggers.

C Func: 0x13baa64 ScriptInfo: 0x16081b4


trigger setTriggerText "Call for support" 

setTriggerStatements(trigger, [cond, activ, desactiv]) General V:1.86 0x1261af8

The first argument can modify the condition of when the trigger is activated. The result of the activation defined by trigger activation is in variable this. Variable thisList contains all vehicles which caused the activation. Activ and desactiv expressions are launched upon trigger activation / deactivation.

C Func: 0x13ba8b4 ScriptInfo: 0x16081e8


trigger setTriggerStatements ["this", "ok = true", "ok = false"] 

triggerAttachObject(trigger, objectId) General V:1.86 0x1261bab

Assigns a static object to the trigger. The activation source is changed to "STATIC".

C Func: 0x13ba824 ScriptInfo: 0x160821c


trigger triggerAttachObject 1234 

triggerAttachVehicle(trigger, [] or [vehicle]) General V:1.86 0x1261c5e

If [] is given, the trigger is detached from the assigned vehicle. If the activation source is "VEHICLE", "GROUP", "LEADER" or "MEMBER", it's changed to "NONE". If [vehicle] is given, the trigger is attached to the vehicle or its group. When the source is "GROUP", "LEADER" or "MEMBER", it's attached to the group, otherwise it's attached to the vehicle and the source is changed to "VEHICLE".

C Func: 0x13ba644 ScriptInfo: 0x1608250


trigger triggerAttachVehicle [player] 

setEffectCondition(trigger or waypoint, statement) General V:1.86 0x1261d11

The statement is executed when the trigger or waypoint is activated and the effects are launched depending on the result. If the result is a boolean and true, the effect was launched. If the result is an object, the effect was launched if the result is the player or the player vehicle. If the result is an array, the effect was launched if the result contains the player or the player vehicle.

C Func: 0x13ba468 ScriptInfo: 0x1608284


trigger setEffectCondition "thisList" 

setSoundEffect(trigger or waypoint, [sound, voice, soundEnv, soundDet]) General V:1.86 0x1261dc4

Defines the different sound effects. Sound / voice plays a 2D / 3D sound from CfgSounds. SoundEnv plays an enviromental sound from CfgEnvSounds. SoundDet (only for triggers) creates a dynamic sound object attached to a trigger defined in CfgSFX.

C Func: 0x13ba308 ScriptInfo: 0x16082b8


trigger setSoundEffect ["Alarm", "", "", ""] 

setMusicEffect(trigger or waypoint, track) General V:1.86 0x1261e77

Defines the music track played on activation. Track is a subclass name of CfgMusic. "$NONE$" (no change) or "$STOP$" (stops the current music track).

C Func: 0x13ba240 ScriptInfo: 0x16082ec


trigger setMusicEffect "Track1" 

setTitleEffect(trigger or waypoint, [type, effect, text]) General V:1.86 0x1261f2a

Defines the title effect. Type can be "NONE", "OBJECT", "RES" or "TEXT". For "TEXT", the effect defines a subtype: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN". Text is shown as text itself. For "OBJECT", text defines the shown object, a subclass of CfgTitles. For "RES", text defines a resource class, a subclass of RscTitles.

C Func: 0x13ba054 ScriptInfo: 0x1608320


trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."] 

synchronizeWaypoint(waypoint, [waypoint1, waypoint2, ...]) General V:1.86 0x1261fdd

Synchronizes the waypoint with other waypoints. Each waypoint is given as an array [group, index].

C Func: 0x13b9f8c ScriptInfo: 0x1608354


[group1, 2] synchronizeWaypoint [[group2, 3]] 

synchronizeWaypoint(trigger, [waypoint1, waypoint2, ...]) General V:1.86 0x1262090

Synchronizes the trigger with waypoints. Each waypoint is given as an array [group, index].

C Func: 0x13b9f8c ScriptInfo: 0x1608388


trigger synchronizeWaypoint [] 

synchronizeTrigger(trigger, [waypoint1, waypoint2, ...], Synchronizes the trigger with waypoints. Each waypoint is given as an array [group, index].) General V:1.86 0x1262143

trigger synchronizeWaypoint []

C Func: 0x13b9efc ScriptInfo: 0x16083bc

addWaypoint(group, [center, radius] or [center, radius, index] or [center, radius, index, name]) General V:1.86 0x12621f6

Adds (or inserts when index is given) a new waypoint to a group. The waypoint is placed randomly in a circle with the given center and radius. The function returns a waypoint with format [group, index].

C Func: 0x13b9dac ScriptInfo: 0x16083f0


grp addWaypoint [position player, 0] 

setWaypointPosition(waypoint, [center, radius]) General V:1.86 0x12622a9

Moves the waypoint to a random position in a circle with the given center and radius.

C Func: 0x13b9cf4 ScriptInfo: 0x1608424


[grp, 2] setWaypointPosition [position player, 0] 

setWaypointType(waypoint, type) General V:1.86 0x126235c

Changes the waypoint type. Type can be: "MOVE", "DESTROY", "GETIN", "SAD", "JOIN", "LEADER", "GETOUT", "CYCLE", "LOAD", "UNLOAD", "TR UNLOAD", "HOLD", "SENTRY", "GUARD", "TALK", "SCRIPTED", "SUPPORT", "GETIN NEAREST", "AND" or "OR".

C Func: 0x13b9bd4 ScriptInfo: 0x1608458


[grp, 2] setWaypointType "HOLD" 

setWaypointName(waypoint, name, Changes the waypoint name.) General V:98979 0x126240f

[grp, 2] WaypointSetName "someName"

C Func: 0x13b9b84 ScriptInfo: 0x160848c

waypointAttachVehicle(waypoint, vehicle) General V:1.86 0x12624c2

Attaches a vehicle to the given waypoint.

C Func: 0x13b9b10 ScriptInfo: 0x16084c0


[grp, 2] waypointAttachVehicle vehicle player 

waypointAttachObject(waypoint, idStatic or object) General V:1.86 0x1262575

Attaches a static object to the given waypoint.

C Func: 0x13b9a90 ScriptInfo: 0x16084f4


[grp, 2] waypointAttachObject 1234 

setWaypointHousePosition(waypoint, pos) General V:1.86 0x1262628

For waypoints attached to a house, this defines the target house position.

C Func: 0x13b9a04 ScriptInfo: 0x1608528


[grp, 2] setWaypointHousePosition 1 

setWaypointCombatMode(waypoint, mode) General V:1.86 0x12626db

The group combat mode is switched when the waypoint becomes active. Possible values are: "NO CHANGE", "BLUE", "GREEN", "WHITE", "YELLOW" and "RED".

C Func: 0x13b9930 ScriptInfo: 0x160855c


[grp, 2] setWaypointCombatMode "RED" 

setWaypointFormation(waypoint, formation) General V:1.86 0x126278e

Switches the group formation when the waypoint becomes active. Possible values are: "NO CHANGE", "COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" and "LINE".

C Func: 0x13b9840 ScriptInfo: 0x1608590


[grp, 2] setWaypointFormation "LINE" 

setWaypointSpeed(waypoint, mode) General V:1.86 0x1262841

Switches the group speed mode when the waypoint becomes active. Possible values are: "UNCHANGED", "LIMITED", "NORMAL" and "FULL".

C Func: 0x13b9780 ScriptInfo: 0x16085c4


[grp, 2] setWaypointSpeed "FULL" 

setWaypointBehaviour(waypoint, mode) General V:1.86 0x12628f4

Switches the unit behaviour when the waypoint becomes active. Possible values are: "UNCHANGED", "CARELESS", "SAFE", "AWARE", "COMBAT" and "STEALTH".

C Func: 0x13b96a4 ScriptInfo: 0x16085f8


[grp, 2] setWaypointBehaviour "AWARE" 

setWaypointDescription(waypoint, text) General V:1.86 0x12629a7

Sets the description shown in the HUD while the waypoint is active.

C Func: 0x13b9618 ScriptInfo: 0x160862c


[grp, 2] setWaypointDescription "Move here." 

setWaypointStatements(waypoint, [condition, statement]) General V:1.86 0x1262a5a

The waypoint is done only when the condition is fulfilled. When the waypoint is done, the statement expression is executed.

C Func: 0x13b953c ScriptInfo: 0x1608660


[grp, 2] setWaypointStatements ["true", ""] 

setWaypointScript(waypoint, command) General V:1.86 0x1262b0d

Attaches a script to a scripted waypoint. Command consist of a script name and additional script arguments.

C Func: 0x13b948c ScriptInfo: 0x1608694


[grp, 2] setWaypointScript "find.sqs player" 

setWaypointTimeout(waypoint, [min, mid, max]) General V:1.86 0x1262bc0

Defines the time between condition satisfaction and waypoint finish (randomly from min to max, with an average value mid).

C Func: 0x13b93c4 ScriptInfo: 0x16086c8


[grp, 2] setWaypointTimeout [5, 10, 6] 

setWaypointCompletionRadius(waypoint, radius) General V:5500 0x1262c73

Set the radius around the waypoint where is the waypoint completed.

C Func: 0x13b933c ScriptInfo: 0x16086fc


[grp, 2] setWaypointCompletionRadius 30 

setWaypointVisible(waypoint, visible) General V:5500 0x1262d26

Set waypoint's visibility.

C Func: 0x13b92e8 ScriptInfo: 0x1608730


[grp, 2] setWaypointVisible false 

showWaypoint(waypoint, show) General V:1.86 0x1262dd9

Sets the condition determining when the waypoint is shown. Possible values are: "NEVER", "EASY" and "ALWAYS".

C Func: 0x13b9248 ScriptInfo: 0x1608764


[grp, 2] showWaypoint "ALWAYS" 

hintC(title, text) General V:2.01 0x1262e8c

Creates a hint dialog with the given title and text.

C Func: 0x13a9e88 ScriptInfo: 0x1608798

hintC(title, text) General V:2.01 0x1262f3f

Creates a hint dialog with the given title and text.

C Func: 0x13a9e88 ScriptInfo: 0x16087cc

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

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

C Func: 0x13a9e88 ScriptInfo: 0x1608800

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

Returns a structured text created by the given structured or plain text by setting attributes to the given values.

C Func: 0x13b90d0 ScriptInfo: 0x1608834


txt = img setAttributes ["image", "data\iSoldier.paa"] 

assignTeam(vehicle, team) General V:2.05 0x1263158

Assigns the vehicle (specifically its commander unit) to the given team. The possible team values are: "MAIN", "RED", "GREEN", "BLUE" and "YELLOW".

C Func: 0x13b9010 ScriptInfo: 0x1608868


soldier2 assignTeam "RED" 

sendSimpleCommand(object, command) General V:2.26 0x126320b

Sends a simple command to the vehicle's driver / gunner.

C Func: 0x13b8f90 ScriptInfo: 0x160889c


vehicle player sendSimpleCommand "STOP" 

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

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: 0x13b8e18 ScriptInfo: 0x16088d0


player setVehiclePosition [[0, 0, 0], ["Marker1"], 0] 

setTargetAge(object, age) General V:2.32 0x1263371

Sets how the target is known to the other centers. They behave like the target was seen age seconds ago. Possible age values are: "ACTUAL", "5 MIN", "10 MIN", "15 MIN", "30 MIN", "60 MIN", "120 MIN" or "UNKNOWN".

C Func: 0x13b8d10 ScriptInfo: 0x1608904


player setTargetAge "10 MIN" 

createUnit(group, [type, position, markers, placement, special]) General V:2.32 0x1263424

Creates a unit (person) of the given type (type is a name of a subclass of CfgVehicles) and makes it a member of the given group. 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: 0x13bdd84 ScriptInfo: 0x1608938


unit = group player createUnit ["SoldierWB", position player, [], 0, "FORM"] 

setVehicleVarName(object, name) General V:2.32 0x12634d7

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: 0x13b8a64 ScriptInfo: 0x160896c


player setVehicleVarName "aP" 

setVehicleArmor(object, value) General V:2.32 0x126358a

Sets the armor (or health for men) state of the vehicle (a value from 0 to 1).

C Func: 0x13b89e8 ScriptInfo: 0x16089a0


player setVehicleArmor 0.5 

setVehicleAmmo(object, value) General V:2.32 0x126363d

Sets how much ammunition (compared to the current stored magazines, but fully loaded) the vehicle has. The value ranges from 0 to 1.

C Func: 0x13b8934 ScriptInfo: 0x16089d4


player setVehicleAmmo 0 

setVehicleAmmoDef(unit, value) General V:2.32 0x12636f0

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: 0x13b8870 ScriptInfo: 0x1608a08


player setVehicleAmmoDef 0 

setVehicleId(object, id) General V:2.33 0x12637a3

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

C Func: 0x13b87e8 ScriptInfo: 0x1608a3c


player setVehicleId 1 

setUnitRank(unit, rank) General V:2.33 0x1263856

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

C Func: 0x13b8748 ScriptInfo: 0x1608a70


player setUnitRank "COLONEL" 

setRank(unit, rank) General V:2.92 0x1263909

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

C Func: 0x13b8724 ScriptInfo: 0x1608aa4


player setRank "COLONEL" 

setUnitAbility(unit, skill, Sets skill of given unit. Skill may vary from 0.2 to 1.0.) General V:2.33 0x12639bc

player setUnitSkill 1.0

C Func: 0x13b86c0 ScriptInfo: 0x1608ad8

selectLeader(group, unit) General V:2.33 0x1263a6f

Select group leader.

C Func: 0x13b8674 ScriptInfo: 0x1608b0c


group player selectLeader player 

setVehicleLock(vehicle, state) General V:2.33 0x1263b22

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

C Func: 0x13b85f0 ScriptInfo: 0x1608b40


veh1 setVehicleLock "LOCKED" 

respawnVehicle(vehicle, [delay = -1, count = 0]) General V:2.52 0x1263bd5

Set vehicle as respawnable in MP games. Delay is respawn delay, default respawnDelay from description.ext is used. Count tells how many respawns is processed (default unlimited).

C Func: 0x13b84f8 ScriptInfo: 0x1608b74


car respawnVehicle [5.0, 3] 

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

Find named selection in object which is in specified lod intersected by given section of a line.

C Func: 0x13b8424 ScriptInfo: 0x1608ba8


[tank, "VIEW" intersect [[1500, 1500, 2], [1550, 1500, 2]] 

createVehicleLocal(type, pos) General V:2.56 0x1263d3b

Creates an empty vehicle of the given type. Pos is in format Position. See CfgVehicles for possible type values. Vehicle is not transferred through network in MP games.

C Func: 0x13b8308 ScriptInfo: 0x1608bdc


_tank = "M1Abrams" createVehicleLocal getmarkerpos "tankFactory" 

setParticleParams(particleSource, array) General V:2.56 0x1263dee

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

C Func: 0x13b8294 ScriptInfo: 0x1608c10

setParticleClass(particleSource, className) General V:2.56 0x1263ea1

Set parameters from config class. className is name of the class from CfgCloudlets.

C Func: 0x13b8228 ScriptInfo: 0x1608c44

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

Set randomization of particle source parameters.

C Func: 0x13b8160 ScriptInfo: 0x1608c78

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

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

C Func: 0x13b80b4 ScriptInfo: 0x1608cac

setDropInterval(particleSource, interval) General V:2.56 0x12640ba

Set interval of emitting particles from particle source.

C Func: 0x13b8048 ScriptInfo: 0x1608ce0


_source setDropInterval 0.05 

setCameraInterest(entity, interest) General V:2.57 0x126416d

Set camera interest for given entity.

C Func: 0x13b7fe0 ScriptInfo: 0x1608d14


_soldier setCameraInterest 50 

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

Set diffuse color of light.

C Func: 0x13b7fa8 ScriptInfo: 0x1608d48

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

Set ambient color of light.

C Func: 0x13b7f7c ScriptInfo: 0x1608d7c

setLightBrightness(light, brightness) General V:2.58 0x1264386

Set brightness of light.

C Func: 0x13b7f4c ScriptInfo: 0x1608db0

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

Attach light to given object (at given position).

C Func: 0x13b7ef0 ScriptInfo: 0x1608de4

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

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

C Func: 0x13b7ea0 ScriptInfo: 0x1608e18

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

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

C Func: 0x13b7e50 ScriptInfo: 0x1608e4c

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

Set object's direction and up vector

C Func: 0x13b7df4 ScriptInfo: 0x1608e80

weaponDirection(vehicle, weaponName) General V:2.61 0x1264705

Returns direction where is given weapon aiming.

C Func: 0x13b7d8c ScriptInfo: 0x1608eb4


_dir = _vehicle weaponDirection "M16" 

moveTo(person, position) General V:2.61 0x12647b8

Low level command to person to move to given position.

C Func: 0x13b7d4c ScriptInfo: 0x1608ee8

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

Find objects in the circle with given radius. If typeName is given, only objects of given type (or its subtype) are listed.

C Func: 0x13b7c78 ScriptInfo: 0x1608f1c


_list = position player nearObjects 50 

nearSupplies(position, radius or [typeName, radius], Find objects in the circle with given radius. If typeName is given, only objects of given type (or its subtype) are listed.) General V:2.92 0x126491e

_list = position player nearSuplies 50

C Func: 0x13b7c40 ScriptInfo: 0x1608f50

selectionPosition(object, selection name) General V:2.92 0x12649ca

Search for selection in the object model (first in the memory level, then in other levels). Returns position in model space.

C Func: 0x13b7b9c ScriptInfo: 0x1608f84

modelToWorld(object, modelPos) General V:2.92 0x1264a77

Converts position from object model space to world space.

C Func: 0x13b7b50 ScriptInfo: 0x1608fb8

worldToModel(object, worldPos) General V:2.92 0x1264b2a

Converts position from world space to object model space.

C Func: 0x13b7af8 ScriptInfo: 0x1608fec

limitSpeed(object, speed) General V:2.92 0x1264bdd

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

C Func: 0x137c9dc ScriptInfo: 0x1609020

emptyPositions(vehicle, position, Returns the number of available cargo, driver, gunner or commander positions in the vehicle.) General V:2.92 0x1264c90

_freePositions = (vehicle player) freePositions "cargo"

C Func: 0x13b7a18 ScriptInfo: 0x1609054

setPiPEffect(pipTargetName, [effect, optionalParam1, ..., optionalParamN]) General V:2.61 0x1264d43

Set a Render Target's visual effect (Picture-in-Picture).

C Func: 0x13b795c ScriptInfo: 0x1609088


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

say3D(unit or [unit, target], speechName, Functionally same as Say, only difference is sound played as 3D allways.) General V:5501 0x1264df6

soldierOne say "speechId"

C Func: 0x13b7908 ScriptInfo: 0x16090bc

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

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

C Func: 0x13b7908 ScriptInfo: 0x16090f0

say2D(unit or [unit, target], speechName, Functionally same as Say, only difference is sound played as 2D (mono) allways.) General V:5501 0x1264f5c

soldierOne say "speechId"

C Func: 0x13b78ac ScriptInfo: 0x1609124

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

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

C Func: 0x13b78ac ScriptInfo: 0x1609158

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

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: 0x132f398 ScriptInfo: 0x160918c

getVariable(object, name) General V:2.92 0x1265175

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

C Func: 0x132f340 ScriptInfo: 0x16091c0

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

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

C Func: 0x132f340 ScriptInfo: 0x16091f4

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

Set the destination for path planning of the pilot.

C Func: 0x13b76d0 ScriptInfo: 0x1609228

forceSpeed(object, speed) General V:2.92 0x126538e

Force the speed of the given object.

C Func: 0x13b769c ScriptInfo: 0x160925c

getSpeed(object, speedMode) General V:2.92 0x1265441

Get the speed for the given speed mode. SpeedMode can be: "AUTO","SLOW","NORMAL","FAST".

C Func: 0x13b7634 ScriptInfo: 0x1609290

setFormationTask(object, task) General V:2.92 0x12654f4

Set the current task of the formation member.

C Func: 0x13b75f0 ScriptInfo: 0x16092c4

findNearestEnemy(object, position) General V:2.92 0x12655a7

Find the nearest enemy from the specified position.

C Func: 0x13b75a8 ScriptInfo: 0x16092f8

getHideFrom(object, enemy) General V:2.92 0x126565a

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: 0x13b74fc ScriptInfo: 0x160932c

findCover(object, [position, hidePosition, maxDist, minDist, visibilityPosition, ignoreObject]) General V:2.92 0x126570d

Returns the object where the object should search for cover. The minDist, visibilityPosition and ignoreObject parameters are optional. visibilityPosition is used to select cover that can see a certain position. ignoreObject is an object that is ignored in visibility check.

C Func: 0x13b7388 ScriptInfo: 0x1609360

suppressFor(unit, timeToSuppress) General V:59874 0x12657c0

Makes the unit to apply suppressive fire on known enemies.

C Func: 0x13b7328 ScriptInfo: 0x1609394

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

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

C Func: 0x13b7280 ScriptInfo: 0x16093c8

enableReload(object, enable) General V:2.92 0x1265926

Enable / disable reload right after magazine is empty.

C Func: 0x13b721c ScriptInfo: 0x16093fc


_vehicle enableReload false 

enableAttack(group, enable) General V:2.92 0x12659d9

Set if leader can issue attack commands.

C Func: 0x13906ac ScriptInfo: 0x1609430

setUnitPosWeak(unit, mode) General V:5117 0x1265a8c

Equal to setUnitPos, for usage in formation FSM (to avoid collision with setUnitPos used by the mission).

C Func: 0x13b7148 ScriptInfo: 0x1609464


soldierOne setUnitPosWeak "Down" 

cutText(layer, effect) General V:5126 0x1265b3f

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: 0x13ab8c0 ScriptInfo: 0x1609498


0 cutText ["", "BLACK OUT"] 

cutRsc(layer, effect) General V:5126 0x1265bf2

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: 0x13ab7c8 ScriptInfo: 0x16094cc


0 cutRsc ["binocular", "PLAIN"] 

cutObj(layer, effect) General V:5126 0x1265ca5

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: 0x13ab6d4 ScriptInfo: 0x1609500


0 cutObj ["TVSet", "plain"] 

cutFadeOut(layer, duration, Terminate the effect in the given layer and set duration of the fade out phase to the given time.) General V:5126 0x1265d58

0 cutFadeIn 1.0

C Func: 0x13b6cd0 ScriptInfo: 0x1609534

addVehicle(group, vehicle) General V:5128 0x1265e0b

Tells the group it owns the vehicle now.

C Func: 0x13b6c90 ScriptInfo: 0x1609568

setCurrentWaypoint(group, waypoint) General V:5129 0x1265ebe

Switch the group to process the given waypoint.

C Func: 0x13b6c4c ScriptInfo: 0x160959c

joinSilent(unitArray, group) General V:5140 0x1265f71

Joins all units in the array to the given group. Avoid any radio communication related to joining.

C Func: 0x13b6ba8 ScriptInfo: 0x16095d0


[unitOne, unitTwo] joinSilent player 

nearTargets(unit, radius) General V:5156 0x1266024

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: 0x13b6af4 ScriptInfo: 0x1609604

inRangeOfArtillery(pos, [[unit1, unit2, ...], magazineType]) General V:5156 0x12660d7

Returns true if all given units are able to fire at given position with given magazineType.

C Func: 0x13b6a5c ScriptInfo: 0x1609638

getArtilleryETA(unit, [position, magazineType]) General V:104556 0x126618a

Get ETA in seconds for given atrillery unit, it's magazineType and target position. Returns negative value if fire is not possible.

C Func: 0x13b69a0 ScriptInfo: 0x160966c

isKindOf(typeName1, typeName2, Checks whether the type typeName1 is inherited from the type typeName1., "Tank" isKindOf "Land") General V:5160 0x126623d

true

C Func: 0x13b691c ScriptInfo: 0x16096a0

execFSM(argument, filename) General V:5500 0x12662f0

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: 0x13a5c50 ScriptInfo: 0x16096d4


player execFSM "test.fsm" 

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

Find the road segments within the circle of given radius.

C Func: 0x13b6798 ScriptInfo: 0x1609708


_list = player nearRoads 50 

buildingExit(building, index) General V:5500 0x1266456

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

C Func: 0x13b6704 ScriptInfo: 0x160973c


buildingExit [building, 1] 

addPublicVariableEventHandler(name, code) General V:5500 0x1266509

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: 0x13b65e4 ScriptInfo: 0x1609770


"alarm" addPublicVariableEventHandler {_this execVM "alarm.sqf"} 

enableSimulation(entity, enable) General V:5500 0x12665bc

Enable / disable simulation for given entity.

C Func: 0x13b65a0 ScriptInfo: 0x16097a4

joinAs(unit, [group, id]) General V:5500 0x126666f

Joins the unit to the given group, if position id is available, this one is used.

C Func: 0x13b651c ScriptInfo: 0x16097d8


player joinAs [_group, 4] 

joinAsSilent(unit, [group, id]) General V:5500 0x1266722

Joins the unit to the given group, if position id is available, this one is used. Avoid any radio communication related to joining.

C Func: 0x13b6468 ScriptInfo: 0x160980c


player joinAsSilent [_group, 4] 

disableConversation(unit, lock) General V:5500 0x12667d5

Lock / unlock the unit to using conversation. Implemented by the counter, so lock - unlock need to be matched.

C Func: 0x13b63c0 ScriptInfo: 0x1609840


player disableConversation true 

onMapSingleClick(parameters, command) General V:5500 0x1266888

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: 0x139ceb4 ScriptInfo: 0x1609874


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

copyWaypoints(groupTo, groupFrom) General V:5500 0x126693b

Copy the chain of waypoints from source to target group. The target group will start to process waypoints from the first one.

C Func: 0x13b6188 ScriptInfo: 0x16098a8

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

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: 0x13b60f8 ScriptInfo: 0x16098dc

getFSMVariable(FSM handle, name) General V:5501 0x1266aa1

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: 0x13b6064 ScriptInfo: 0x1609910

playMoveNow(soldier, moveName) General V:5501 0x1266b54

When used on a person, a smooth transition to the given move will be initiated, but all previous playAction are discarded.

C Func: 0x13b5fbc ScriptInfo: 0x1609944


soldierOne playMoveNow "Stand" 

playActionNow(soldier, action) General V:5501 0x1266c07

When used on a person, a smooth transition to the given action will be initiated, but all previous playAction are discarded.

C Func: 0x13b5f08 ScriptInfo: 0x1609978


soldierOne playActionNow "SitDown" 

setUnconscious(unit, set) General V:5501 0x1266cba

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

C Func: 0x13b5e94 ScriptInfo: 0x16099ac

setVariable(group, [name, value]) General V:5501 0x1266d6d

Set variable to given value in the variable space of given group. If public is true then the value is broadcast to all computers.

C Func: 0x132f398 ScriptInfo: 0x16099e0

getVariable(group, name) General V:5501 0x1266e20

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

C Func: 0x132f340 ScriptInfo: 0x1609a14

getVariable(group, [name, dafault value]) General V:5501 0x1266ed3

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

C Func: 0x132f340 ScriptInfo: 0x1609a48

setMarkerAlpha(marker, alpha) General V:5501 0x1266f86

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

C Func: 0x13b5cb8 ScriptInfo: 0x1609a7c


"MarkerOne" setMarkerAlpha 0.5 

setMarkerAlphaLocal(marker, alpha, Sets the marker alpha. The marker is only modified on the computer where the command is called.) General V:5501 0x1267039

"MarkerOne" setMarkerAlpha 0.5

C Func: 0x13b5c40 ScriptInfo: 0x1609ab0

nearObjectsReady(position, radius) General V:5501 0x12670ec

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

C Func: 0x13b5ba8 ScriptInfo: 0x1609ae4


_ok = position player nearObjectsReady 50 

getFriend(side1, side2) General V:5501 0x126719f

Returns if sides are friendly or hostile. For a value smaller than 0.6 it results in being enemy, otherwise it's friendly.

C Func: 0x13b5b04 ScriptInfo: 0x1609b18


value = west getFriend east 

ctrlMapCursor(control, texture names) General V:5501 0x1267252

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: 0x13b59e8 ScriptInfo: 0x1609b4c


 ctrlMapCursor ["Track","customCursor"] 

hcSetGroup(unit, array) General V:5501 0x1267305

Add group to unit's high command bar. Array parameters are group, group name and team (teammain, teamred, teamgreen, teamblue, teamyellow) . Group is the only necessary parameter.

C Func: 0x13b58d8 ScriptInfo: 0x1609b80


unit hcSetGroup [group,"HQ","teamred"] 
 or 
 player hcSetGroup [group] 

hcRemoveGroup(unit, group, Removes group from unit's high command bar.) General V:5501 0x12673b8

unit HCRemoveGroup group

C Func: 0x13b5880 ScriptInfo: 0x1609bb4

hcGroupParams(unit, group) General V:5501 0x126746b

Returns parameters describing group in high command bar. Return value is [string,float[4]]

C Func: 0x13b57f4 ScriptInfo: 0x1609be8


unit hcGroupParams group 

hcSelectGroup(unit, array) General V:5501 0x126751e

Select given group in HC bar.

C Func: 0x13b57a4 ScriptInfo: 0x1609c1c


unit hcSelectGroup [group,true] 

setGroupIconParams(group, properties) General V:5501 0x12675d1

Set group icons parameters. [color,string,float,bool]

C Func: 0x13b5714 ScriptInfo: 0x1609c50


group setGroupIconParams [[1,1,1,1],"text",scale,show] 

addGroupIcon(group, properties) General V:5501 0x1267684

Add icon to a group. Returns icon ID

C Func: 0x13b56a8 ScriptInfo: 0x1609c84


id = group addGroupIcon["b_inf",[offsetX,ofsetY]] 

setGroupIcon(group, properties) General V:5501 0x1267737

Set group icons properties.

C Func: 0x13b5650 ScriptInfo: 0x1609cb8


setGroupIcon[id,"b_inf",[offsetX,ofsetY]] 

getGroupIcon(group, ID) General V:5501 0x12677ea

Get group icon properties.

C Func: 0x13b5608 ScriptInfo: 0x1609cec


group getGroupIcon id 

removeGroupIcon(group, icon ID) General V:5501 0x126789d

Remove icon with given ID from group.

C Func: 0x13b55ac ScriptInfo: 0x1609d20


group removeGroupIcon id 

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

Damage / repair part of object. Damage 0 means fully functional, damage 1 means completely destroyed / dead.

C Func: 0x13b54f4 ScriptInfo: 0x1609d54


vehicle player setHit ["engine", 1] 

setHitPointDamage(object, [part, damage], Damage / repair part of object. Damage 0 means fully functional, damage 1 means completely destroyed / dead. Use name of hit point.) General V:2.30 0x1267a03

vehicle player setHit ["engine", 1]

C Func: 0x13b545c ScriptInfo: 0x1609d88

lockDriver(vehicle, lock) General V:5501 0x1267ab6

Lock the driver position of the vehicle.

C Func: 0x13b5424 ScriptInfo: 0x1609dbc

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

Lock the gunner position of the vehicle turret.

C Func: 0x13b53d4 ScriptInfo: 0x1609df0

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

Lock the cargo position of the vehicle.

C Func: 0x13b538c ScriptInfo: 0x1609e24

lockCargo(vehicle, lock) General V:5501 0x1267ccf

Lock the all cargo positions of the vehicle.

C Func: 0x13b538c ScriptInfo: 0x1609e58

lockedTurret(vehicle, turret path) General V:5501 0x1267d82

Check whether gunner position of the vehicle turret is locked.

C Func: 0x13b5300 ScriptInfo: 0x1609e8c

lockedCargo(vehicle, cargo index) General V:5501 0x1267e35

Check whether cargo position of the vehicle is locked.

C Func: 0x13b52b0 ScriptInfo: 0x1609ec0

knowsAbout(side, target) General V:5501 0x1267ee8

Checks whether the side knows about the target (and how much).

C Func: 0x13c2294 ScriptInfo: 0x1609ef4


east knowsAbout jeepOne 

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

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: 0x13b513c ScriptInfo: 0x1609f28

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

Check if findEmptyPosition can be called without waiting for files.

C Func: 0x13b50c4 ScriptInfo: 0x1609f5c

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

Chek if given area is flat and emty.

C Func: 0x13b4fd4 ScriptInfo: 0x1609f90


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

turretUnit(vehicle, turret path) General V:5501 0x12681b4

Returns the unit in the vehicle turret.

C Func: 0x13b4fa0 ScriptInfo: 0x1609fc4

groupSelectUnit(unit, [unit,bool]) General V:5501 0x1268267

Select unit from unit's group.

C Func: 0x13b4f40 ScriptInfo: 0x1609ff8


player groupSelectUnit [unit,true] 

nearEntities(position, radius or [typeName, radius] or [[typeName1, typeName2, ...], radius], Find entities in the circle with given radius. If typeName(s) is (are) given, only entities of given type (or its subtype) are listed.) General V:5501 0x126831a

_list = position player nearObjects 50

C Func: 0x13b4e5c ScriptInfo: 0x160a02c

remoteControl(who, whom) General V:5501 0x12683cd

Switch on remote control of the unit.

C Func: 0x13b4e00 ScriptInfo: 0x160a060


player remoteControl gunner _uav 

mapCenterOnCamera(control, enable) General V:5501 0x1268480

Enable / disable continuous centering the map on the camera position

C Func: 0x13b4da0 ScriptInfo: 0x160a094

unitsBelowHeight(group, height) General V:5501 0x1268533

Return units in group below passed height.

C Func: 0x13b4d3c ScriptInfo: 0x160a0c8


group player unitsBelowHeight 50 

unitsBelowHeight(array, height) General V:5501 0x12685e6

Return units below passed height.

C Func: 0x13b4d3c ScriptInfo: 0x160a0fc


units group player unitsBelowHeight 50 

debugFSM(FSM handle, true) General V:5501 0x1268699

Switch FSM debug log on/off.

C Func: 0x13b4ca4 ScriptInfo: 0x160a130


BIS_grpMainFSM debugFSM true 

fireAtTarget(vehicle, [target, weapon], Gunner in unit's vehicle fire at given target. If weapon is not given, current is used.) General V:5501 0x126874c

bool = vehicle FireAtTarget [target]; bool = player FireAtTarget [target,1]

C Func: 0x13b4bd8 ScriptInfo: 0x160a164

aimedAtTarget(vehicle, [target, weapon], Returns how good is weapon aimed to target.) General V:5501 0x12687ff

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

C Func: 0x13b4b4c ScriptInfo: 0x160a198

backpackSpaceFor(backpack, weapon or magazine type) General V:5501 0x12688b2

Returns how much space is in backpack for given weapon or magazine.

C Func: 0x13b4aa4 ScriptInfo: 0x160a1cc


[weapons, magazines] = backpack backpackSpaceFor "m16" 

forceWalk(player, force walk) General V:5501 0x1268965

Force player to walk.

C Func: 0x13b4a5c ScriptInfo: 0x160a200


player forceWalk true 

weaponsTurret(vehicle, turretPath) General V:5501 0x1268a18

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

C Func: 0x13b49c8 ScriptInfo: 0x160a234


vehicle player weaponsTurret [0,0] 

magazinesTurret(vehicle, turretPath) General V:5501 0x1268acb

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

C Func: 0x13b493c ScriptInfo: 0x160a268


vehicle player magazinesTurret [0,0] 

getHitPointDamage(vehicle, hitpointName) General V:5501 0x1268b7e

Return current level of damage for a specific Hit Point (specified by its config class).

C Func: 0x13b488c ScriptInfo: 0x160a29c


(vehicle player) getHitPointDamage "hitEngine" 

isKindOf(object, typeName) General V:2.30 0x1268c31

Checks whether the object is of the given type.

C Func: 0x13b691c ScriptInfo: 0x160a2d0


vehicle player isKindOf "Tank" 

glanceAt(unit(s), position) General V:2.40 0x1268ce4

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

C Func: 0x13b4770 ScriptInfo: 0x160a304


someSoldier glanceAt otherSoldier; otherSoldier glanceAt getMarkerPos "markerOne" 

lookAt(unit(s), position) General V:2.40 0x1268d97

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

C Func: 0x13b46bc ScriptInfo: 0x160a338


someSoldier lookAt otherSoldier; otherSoldier lookAt getMarkerPos "markerOne" 

setAirportSide(airportId, side) General V:2.92 0x1268e4a

Set owner of the airport

C Func: 0x13b4678 ScriptInfo: 0x160a36c


0 setAirportSide east 

landAt(airplane, airportId) General V:2.92 0x1268efd

Order AI airplane to land at given airport

C Func: 0x13b4634 ScriptInfo: 0x160a3a0


plane landAt 0 

assignToAirport(airplane, airportId) General V:2.92 0x1268fb0

Set airport to be used by AI on getout

C Func: 0x13b45e4 ScriptInfo: 0x160a3d4


plane assignToAirport 0 

hideObject(object, hidden) General V:2.92 0x1269063

Hide object (cannot hide static objects).

C Func: 0x13a69ec ScriptInfo: 0x160a408


player hideObject true 

enableIRLasers(group, enable) General V:NaN 0x1269116

Enable/disable using IR lasers for AI

C Func: 0x13b4574 ScriptInfo: 0x160a43c


groupOne enableIRLasers true 

enableGunLights(group, mode) General V:NaN 0x12691c9

Tells AI units to force the gun light on (forceOn), off (forceOff) or set it automatically when in combat mode (auto)

C Func: 0x13b44c8 ScriptInfo: 0x160a470


groupOne enableGunLights "forceOff" 

setCamUseTi(bool, mode index) General V:NaN 0x126927c

Activate camera thermal vision

C Func: 0x13b4490 ScriptInfo: 0x160a4a4

setVehicleTiPars(vehicle, tiParams) General V:NaN 0x126932f

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

C Func: 0x13b4414 ScriptInfo: 0x160a4d8

fadeSpeech(time, volume, 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.) General V:NaN 0x12693e2

5 fadeSound 0.1

C Func: 0x13b436c ScriptInfo: 0x160a50c

disableTIEquipment(vehicle, enable/disable) General V:NaN 0x1269495

Enable/disable transport vision modes(Ti)

C Func: 0x13b431c ScriptInfo: 0x160a540

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

Set phase of weapon reloading. ReloadTime goes from 0 to 1, where 1 is the end of loading procedure. Return values tells if given weapon was found for given gunner

C Func: 0x13b41fc ScriptInfo: 0x160a574


_done = _vehicle setWeaponReloadingTime [gunner, , 0.5] 

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

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

C Func: 0x13b413c ScriptInfo: 0x160a5a8


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

allowCrewInImmobile(vehicle, bool) General V:86244 0x12696ae

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

C Func: 0x1375520 ScriptInfo: 0x160a5dc


vehicle allowCrewInImmobile true 

enableCopilot(vehicle, enable, Enables copilot actions.) General V:NaN 0x1269761

TOH

C Func: 0x13b40ac ScriptInfo: 0x160a610

disableCollisionWith(vehicle, vehicle, Disable collision between vehicles.) General V:NaN 0x1269814

TOH 85355

C Func: 0x13b4064 ScriptInfo: 0x160a644

enableCollisionWith(vehicle, vehicle, Enable collision between vehicles.) General V:NaN 0x12698c7

TOH 85355

C Func: 0x13b402c ScriptInfo: 0x160a678

setUnitRecoilCoefficient(unit, coefficient) General V:90707 0x126997a

Proportionaly increase/decrease unit's recoil.

C Func: 0x13b3fac ScriptInfo: 0x160a6ac


soldier setUnitRecoilCoefficient 0.5 

setOwner(object, clientId) General V:94017 0x1269a2d

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

C Func: 0x13b3f1c ScriptInfo: 0x160a6e0

publicVariableClient(clientId, varName, 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., 3 publicVariableClient "CTFscoreOne") General V:NaN 0x1269ae0

OA 94178

C Func: 0x13b3df4 ScriptInfo: 0x160a714

forceWeaponFire(unit, [weapon, mode]) General V:NaN 0x1269b93

The unit will be forced to fire from the given weapon.

C Func: 0x13b3d6c ScriptInfo: 0x160a748


soldierOne forceWeaponFire ["arifle_MX_F",0] 

attachTo(obj, [obj,offset,MemPoint]) General V:1.18 0x1269c46

Attaches an object to another object. The offset is applied to the object center unless a memory point is provided.

C Func: 0x1320064 ScriptInfo: 0x160a77c


player attachTo [car, [0,2,0],hatch1] 

>>(config, name) General V:2.35 0x1269cf9

Returns subentry of config entry with given name.

C Func: 0x13b3c60 ScriptInfo: 0x160a7b0


configFile >> "CfgVehicles" 

/(config, name) General V:2.92 0x1269dac

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

C Func: 0x1307f24 ScriptInfo: 0x160a7e4


configFile / "CfgVehicles" 

select(config, index) General V:2.35 0x1269e5f

Returns subentry with given index.

C Func: 0x139448c ScriptInfo: 0x160a818


(configFile >> "CfgVehicles") select 0 

==(config1, config2) General V:2.58 0x1269f12

Checks whether two config entries are equal.

C Func: 0x132f1dc ScriptInfo: 0x160a84c

!=(config1, config2) General V:2.58 0x1269fc5

Checks whether two config entries are different.

C Func: 0x132f178 ScriptInfo: 0x160a880

kbAddDatabase(person, filename) General V:2.42 0x126a078

Register knowledge base database to given person.

C Func: 0x13b3ad0 ScriptInfo: 0x160a8b4


_unit kbAddDatabase "chat.txt" 

kbAddDatabaseTargets(person, filename, Register target list knowledge base database to given person.) General V:2.45 0x126a12b

_unit kbAddDatabase "chat.txt"

C Func: 0x13b3a70 ScriptInfo: 0x160a8e8

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

Register conversation topic to given person.

C Func: 0x13b39fc ScriptInfo: 0x160a91c

kbRemoveTopic(person, name) General V:2.92 0x126a291

Unregister conversation topic from given person.

C Func: 0x13b39b8 ScriptInfo: 0x160a950

kbTell(person, [receiver, topic, sentence id, [argument name, argument value, argument text, argument speech], ...], 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'., 2.92) General V:NaN 0x126a344

81893 TOH

C Func: 0x13b3848 ScriptInfo: 0x160a984

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

Pass a non-verbal communication to the receiver.

C Func: 0x13b380c ScriptInfo: 0x160a9b8

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

Check if given item was said by person to someone.

C Func: 0x13b37a0 ScriptInfo: 0x160a9ec

kbHasTopic(person, name) General V:2.92 0x126a55d

Check if conversation topic was registered to given person.

C Func: 0x13b3758 ScriptInfo: 0x160aa20

drawIcon(map, [texture, color, position, width, height, angle, text, shadow, textSize, font, align]) General V:2.35 0x126a610

Draw icon in map.

C Func: 0x13b3658 ScriptInfo: 0x160aa54


control drawIcon [ "#(argb,8,8,3)color(0,1,0,1)", [1,1,1,1], position player, 10, 10,1, userText, 1, 0.2, "TahomaB", "right" 

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

Draw line in map.

C Func: 0x13b3618 ScriptInfo: 0x160aa88

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

Draw arrow in map.

C Func: 0x13b35f8 ScriptInfo: 0x160aabc

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

Draw ellipse in map.

C Func: 0x13b35b0 ScriptInfo: 0x160aaf0

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

Draw rectangle in map.

C Func: 0x13b3588 ScriptInfo: 0x160ab24

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

Convert screen coordinates in map to world coordinates.

C Func: 0x13b353c ScriptInfo: 0x160ab58

posWorldToScreen(map, position) General V:2.54 0x126aa42

Convert world coordinates to screen coordinates in map.

C Func: 0x13b34f0 ScriptInfo: 0x160ab8c

ctrlEnable(control, enable) General V:2.50 0x126aaf5

Enable / disable given control.

C Func: 0x139fd80 ScriptInfo: 0x160abc0


_control ctrlEnable false 

ctrlShow(control, show) General V:2.50 0x126aba8

Show / hide given control.

C Func: 0x139fe00 ScriptInfo: 0x160abf4


_control ctrlShow false 

ctrlSetText(control, text, Sets the text that will be shown in given control., _control ctrlSetText "Hello, world.", 2.50) V:NaN 0x126ac5b

General

C Func: 0x139fbf0 ScriptInfo: 0x160ac28

ctrlSetFont(control, name) General V:2.50 0x126ad0e

Sets the main font of given control.

C Func: 0x13b33d0 ScriptInfo: 0x160ac5c


_control ctrlSetFont "TahomaB" 

ctrlSetFontHeight(control, height) General V:2.50 0x126adc1

Sets the main font size of given control.

C Func: 0x13b3370 ScriptInfo: 0x160ac90


_control ctrlSetFontHeight 0.05 

ctrlSetFontH1(control, name) General V:2.50 0x126ae74

Sets H1 font of given HTML control.

C Func: 0x13b3318 ScriptInfo: 0x160acc4


_control ctrlSetFontH1 "TahomaB" 

ctrlSetFontH2(control, name) General V:2.50 0x126af27

Sets H2 font of given HTML control.

C Func: 0x13b32c0 ScriptInfo: 0x160acf8


_control ctrlSetFontH2 "TahomaB" 

ctrlSetFontH3(control, name) General V:2.50 0x126afda

Sets H3 font of given HTML control.

C Func: 0x13b3268 ScriptInfo: 0x160ad2c


_control ctrlSetFontH3 "TahomaB" 

ctrlSetFontH4(control, name) General V:2.50 0x126b08d

Sets H4 font of given HTML control.

C Func: 0x13b3210 ScriptInfo: 0x160ad60


_control ctrlSetFontH4 "TahomaB" 

ctrlSetFontH5(control, name) General V:2.50 0x126b140

Sets H5 font of given HTML control.

C Func: 0x13b31b8 ScriptInfo: 0x160ad94


_control ctrlSetFontH5 "TahomaB" 

ctrlSetFontH6(control, name) General V:2.50 0x126b1f3

Sets H5 font of given HTML control.

C Func: 0x13b3184 ScriptInfo: 0x160adc8


_control ctrlSetFontH6 "TahomaB" 

ctrlSetFontP(control, name) General V:2.50 0x126b2a6

Sets P font of given HTML control.

C Func: 0x13b3130 ScriptInfo: 0x160adfc


_control ctrlSetFontP "TahomaB" 

ctrlSetFontH1B(control, name) General V:2.50 0x126b359

Sets H1 bold font of given HTML control.

C Func: 0x13b30d0 ScriptInfo: 0x160ae30


_control ctrlSetFontH1B "TahomaB" 

ctrlSetFontH2B(control, name) General V:2.50 0x126b40c

Sets H2 bold font of given HTML control.

C Func: 0x13b3070 ScriptInfo: 0x160ae64


_control ctrlSetFontH2B "TahomaB" 

ctrlSetFontH3B(control, name) General V:2.50 0x126b4bf

Sets H3 bold font of given HTML control.

C Func: 0x13b3010 ScriptInfo: 0x160ae98


_control ctrlSetFontH3B "TahomaB" 

ctrlSetFontH4B(control, name) General V:2.50 0x126b572

Sets H4 bold font of given HTML control.

C Func: 0x13b2fb0 ScriptInfo: 0x160aecc


_control ctrlSetFontH4B "TahomaB" 

ctrlSetFontH5B(control, name) General V:2.50 0x126b625

Sets H5 bold font of given HTML control.

C Func: 0x13b2f50 ScriptInfo: 0x160af00


_control ctrlSetFontH5B "TahomaB" 

ctrlSetFontH6B(control, name) General V:2.50 0x126b6d8

Sets H6 bold font of given HTML control.

C Func: 0x13b2ef0 ScriptInfo: 0x160af34


_control ctrlSetFontH6B "TahomaB" 

ctrlSetFontPB(control, name) General V:2.50 0x126b78b

Sets P bold font of given HTML control.

C Func: 0x13b2e94 ScriptInfo: 0x160af68


_control ctrlSetFontPB "TahomaB" 

ctrlSetFontHeightH1(control, height) General V:2.50 0x126b83e

Sets H1 font size of given HTML control.

C Func: 0x13b2e30 ScriptInfo: 0x160af9c


_control ctrlSetFontHeightH1 0.05 

ctrlSetFontHeightH2(control, height) General V:2.50 0x126b8f1

Sets H2 font size of given HTML control.

C Func: 0x13b2dcc ScriptInfo: 0x160afd0


_control ctrlSetFontHeightH2 0.05 

ctrlSetFontHeightH3(control, height) General V:2.50 0x126b9a4

Sets H3 font size of given HTML control.

C Func: 0x13b2d68 ScriptInfo: 0x160b004


_control ctrlSetFontHeightH3 0.05 

ctrlSetFontHeightH4(control, height) General V:2.50 0x126ba57

Sets H4 font size of given HTML control.

C Func: 0x13b2d04 ScriptInfo: 0x160b038


_control ctrlSetFontHeightH4 0.05 

ctrlSetFontHeightH5(control, height) General V:2.50 0x126bb0a

Sets H5 font size of given HTML control.

C Func: 0x13b2ca0 ScriptInfo: 0x160b06c


_control ctrlSetFontHeightH5 0.05 

ctrlSetFontHeightH6(control, height) General V:2.50 0x126bbbd

Sets H6 font size of given HTML control.

C Func: 0x13b2c3c ScriptInfo: 0x160b0a0


_control ctrlSetFontHeightH6 0.05 

ctrlSetFontP(control, height, Sets P font size of given HTML control.) General V:2.50 0x126bc70

_control ctrlSetFontHeightP 0.05

C Func: 0x13b3130 ScriptInfo: 0x160b0d4

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

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

C Func: 0x13b2b58 ScriptInfo: 0x160b108


_control ctrlSetPosition [0.5, 0.5] 

ctrlSetScale(control, scale, Sets wanted scale for control animation. Top left corner remains same.) General V:5501 0x126bdd6

_control ctrlScale 0.5

C Func: 0x13b2ae8 ScriptInfo: 0x160b13c

ctrlSetAutoScrollSpeed(control, speed) General V:5501 0x126be89

Sets number of second required to scroll to next line. If speed smaller than 0, auto-scroll is disabled.

C Func: 0x13b2a40 ScriptInfo: 0x160b170


_control ctrlSetAutoScrollSpeed 5 

ctrlSetAutoScrollDelay(control, delay) General V:5501 0x126bf3c

Sets number of second before auto-scroll starts.

C Func: 0x13b29d0 ScriptInfo: 0x160b1a4


_control ctrlSetAutoScrollDelay 5 

ctrlSetAutoScrollRewind(control, delay, Defines if scroll should rewind when auto-scroll reach end.) General V:5501 0x126bfef

_control ctrlSetAutoScrollDelay 5

C Func: 0x13b297c ScriptInfo: 0x160b1d8

ctrlSetFade(control, fade) General V:2.50 0x126c0a2

Sets wanted transparency for control animation.

C Func: 0x13b2928 ScriptInfo: 0x160b20c


_control ctrlSetFade 1 

ctrlCommit(control, time) General V:2.50 0x126c155

Commit control animation.

C Func: 0x13b28e8 ScriptInfo: 0x160b240


_control ctrlCommit 2 

displayCtrl(display, idc) General V:2.50 0x126c208

Return child control with specified idc.

C Func: 0x13b288c ScriptInfo: 0x160b274


_control = _display displayCtrl 101 

ctrlSetBackgroundColor(display, color) General V:2.50 0x126c2bb

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

C Func: 0x13b27f8 ScriptInfo: 0x160b2a8


_control ctrlSetBackgroundColor [1, 0, 0, 1] 

ctrlSetForegroundColor(display, color) General V:2.50 0x126c36e

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

C Func: 0x13b27b0 ScriptInfo: 0x160b2dc


_control ctrlSetForegroundColor [1, 0, 0, 1] 

ctrlSetTextColor(display, color) General V:2.50 0x126c421

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

C Func: 0x13b272c ScriptInfo: 0x160b310


_control ctrlSetTextColor [1, 0, 0, 1] 

ctrlSetActiveColor(display, color) General V:2.50 0x126c4d4

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

C Func: 0x13b2688 ScriptInfo: 0x160b344


_control ctrlSetActiveColor [1, 0, 0, 1] 

ctrlSetTooltip(display, text) General V:2.92 0x126c587

Sets tooltip text of given control.

C Func: 0x13b2630 ScriptInfo: 0x160b378


_control ctrlSetTooltip "tooltip" 

ctrlSetTooltipColorText(display, color) General V:2.92 0x126c63a

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

C Func: 0x13b2598 ScriptInfo: 0x160b3ac


_control ctrlSetTooltipColorText [1, 0, 0, 1] 

ctrlSetTooltipColorBox(display, color) General V:2.92 0x126c6ed

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

C Func: 0x13b24fc ScriptInfo: 0x160b3e0


_control ctrlSetTooltipColorBox [1, 0, 0, 1] 

ctrlSetTooltipColorShade(display, color) General V:2.92 0x126c7a0

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

C Func: 0x13b2458 ScriptInfo: 0x160b414


_control ctrlSetTooltipColorShade [1, 0, 0, 1] 

ctrlSetChecked(control, enabled) General V:2.50 0x126c853

Sets checked state of checkbox.

C Func: 0x13b2408 ScriptInfo: 0x160b448


_control  ctrlSetChecked true 

==(display1, display2) General V:2.50 0x126c906

Checks whether two displays are equal.

C Func: 0x132f1dc ScriptInfo: 0x160b47c

!=(display1, display2) General V:2.50 0x126c9b9

Checks whether two displays are different.

C Func: 0x132f178 ScriptInfo: 0x160b4b0

==(control1, control2, Checks whether two controls are equal., 2.50) V:NaN 0x126ca6c

General

C Func: 0x132f1dc ScriptInfo: 0x160b4e4

!=(control1, control2, Checks whether two controls are different., 2.50) V:NaN 0x126cb1f

General

C Func: 0x132f178 ScriptInfo: 0x160b518

createDisplay(parent, name) General V:2.53 0x126cbd2

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

C Func: 0x13b22ac ScriptInfo: 0x160b54c


_display createDisplay "RscObserver" 

closeDisplay(display, exitcode) General V:2.53 0x126cc85

Close given display.

C Func: 0x13b2258 ScriptInfo: 0x160b580


_display closeDisplay IDC_OK 

htmlLoad(control, filename) General V:2.53 0x126cd38

Load HTML from file to given control.

C Func: 0x13b2200 ScriptInfo: 0x160b5b4


_control htmlLoad "briefing.html" 

ctrlSetStructuredText(control, structured text) General V:2.53 0x126cdeb

Set the structured text which will be displayed in structured text control.

C Func: 0x13b2118 ScriptInfo: 0x160b5e8


_control ctrlSetStructuredText parseText "First line<img image=data\isniper.paa/><br/>Second line" 

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

Sets given event handler of given control

C Func: 0x13b20a8 ScriptInfo: 0x160b61c


_control ctrlSetEventHandler ["KeyDown", ""] 

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

Sets given event handler of given display.

C Func: 0x13b2034 ScriptInfo: 0x160b650


_control displaySetEventHandler ["KeyDown", ""] 

commandFSM(unit(s), [fsm name, position, target]) General V:2.53 0x126d004

Orders a unit to process command defined by FSM file (via the radio).

C Func: 0x13b1f84 ScriptInfo: 0x160b684


soldierOne commandFSM ["move.fsm", position player, player] 

doFSM(unit(s), [fsm name, position, target]) General V:2.53 0x126d0b7

Orders a unit to process command defined by FSM file (silently).

C Func: 0x13b1f00 ScriptInfo: 0x160b6b8


soldierOne doFSM ["move.fsm", position player, player] 

execVM(argument, filename) General V:2.60 0x126d16a

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: 0x13a0ea8 ScriptInfo: 0x160b6ec


player execVM "test.sqf" 

skill(vehicle, type) General V:2.65 0x126d21d

Returns skill of given type of person (commander unit). Value of skill may vary from 0 to 1.

C Func: 0x1321484 ScriptInfo: 0x160b720


hero skill "Endurance" 

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

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

C Func: 0x13b1ce4 ScriptInfo: 0x160b754


hero setSkill ["Endurance", 1] 

setFatigue(unit, value) General V:NaN 0x126d383

Sets the person's fatigue.

C Func: 0x13b1ca4 ScriptInfo: 0x160b788


player setFatigue 0.5 

enableFatigue(unit, bool) General V:NaN 0x126d436

Enables/Disables the person's fatigue.

C Func: 0x13b1c50 ScriptInfo: 0x160b7bc


player enableFatigue false 

lbSetCurSel(control, index) General V:2.91 0x126d4e9

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

C Func: 0x139f860 ScriptInfo: 0x160b7f0


_control lbSetCurSel 0 

lbAdd(control, text, Adds an item with the given text to the given listbox or combobox. It returns the index of the newly added item., _index = _control lbAdd "First item", 2.91) V:NaN 0x126d59c

General

C Func: 0x139f740 ScriptInfo: 0x160b824

lbDelete(control, index) General V:2.91 0x126d64f

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

C Func: 0x139f6b4 ScriptInfo: 0x160b858


_control lbDelete 0 

lbText(control, index) General V:2.91 0x126d702

Returns the shown text in the item with the given index of the given listbox or combobox.

C Func: 0x139f614 ScriptInfo: 0x160b88c


_text = _control lbText 0 

lbData(control, index) General V:2.91 0x126d7b5

Returns the additional text (invisible) in an item with the given index of the given listbox or combobox.

C Func: 0x139f568 ScriptInfo: 0x160b8c0


_data = _control lbData 0 

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

Sets the additional text (invisible) in the item with the given index of the given listbox or combobox to the given data.

C Func: 0x139f490 ScriptInfo: 0x160b8f4


_control lbSetData [1, "#1"] 

lbValue(control, index) General V:2.91 0x126d91b

Returns the additional integer value in the item with the given index of the given listbox or combobox.

C Func: 0x139f3dc ScriptInfo: 0x160b928


_value = _control lbValue 0 

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

Sets the additional integer value in the item with the given index of the given listbox or combobox to the given value.

C Func: 0x139f308 ScriptInfo: 0x160b95c


_control lbSetValue [0, 1] 

lbPicture(control, index) General V:2.91 0x126da81

Returns the picture name of the item with the given index of the given listbox or combobox.

C Func: 0x139f258 ScriptInfo: 0x160b990


_picture = _control lbPicture 0 

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

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: 0x139f0e0 ScriptInfo: 0x160b9c4


_control lbSetPicture [0, "iskoda"] 

lbColor(control, index) General V:2.91 0x126dbe7

Returns the text color of the item with the given index of the given listbox or combobox.

C Func: 0x139f010 ScriptInfo: 0x160b9f8


_color = _control lbColor 0 

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

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

C Func: 0x139ef1c ScriptInfo: 0x160ba2c


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

lbIsSelected(control, index) General V:2.92 0x126dd4d

Check whether given row of the given listbox is selected.

C Func: 0x13b14a4 ScriptInfo: 0x160ba60


_selected = _control lbIsSelected 0 

lbSetSelected(control, [index, selected], Set the selection state of the given row of the given listbox. Listbox must support multiple selection) General V:5501 0x126de00

_control lbSetSelection [0, true]

C Func: 0x13b13f0 ScriptInfo: 0x160ba94

lnbSetCurSelRow(control, row, Selects the item with the given index of the given listbox or combobox.) General V:5501 0x126deb3

_control lbSetCurSel row

C Func: 0x139e594 ScriptInfo: 0x160bac8

lnbSetColumnsPos(control, [pos1,pos2,...], Set position of 2d listbox columns.) General V:5501 0x126df66

_control lbSetColumnsPos [pos1,pos2,...]

C Func: 0x13b135c ScriptInfo: 0x160bafc

lnbAddColumn(control, position, Adds an item with the given text to the given listbox or combobox. It returns the index of the newly added item.) General V:5501 0x126e019

_index = _control lbAdd "First item"

C Func: 0x139e2cc ScriptInfo: 0x160bb30

lnbDeleteColumn(control, index, Removes the item with the given index from the given listbox or combobox.) General V:5501 0x126e0cc

_control lbDelete 0

C Func: 0x139e27c ScriptInfo: 0x160bb64

lnbAddRow(control, [text1,text2,...], Adds an row to the end od 2d listbox . It returns the index of the newly added row.) General V:5501 0x126e17f

_index = _control lnbAdd [t1,t2,t3,...]

C Func: 0x139e4cc ScriptInfo: 0x160bb98

lnbDeleteRow(control, row, Removes row with the given index from the given listbox or combobox.) General V:5501 0x126e232

_control lnbDelete 0

C Func: 0x139e368 ScriptInfo: 0x160bbcc

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

Returns the shown text in the item with the given position of the given 2D listbox.

C Func: 0x139e13c ScriptInfo: 0x160bc00


_text = _control lnbText [row, column] 

lnbSetText(control, [[row, column], text], Sets the additional text (invisible) in the item with the given index of the given 2D listbox to the given data.) General V:5501 0x126e398

_control lnbSetData [[row, column], "#1"]

C Func: 0x139e130 ScriptInfo: 0x160bc34

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

Returns the additional text (invisible) in an item with the given position of the given 2D listbox.

C Func: 0x139e090 ScriptInfo: 0x160bc68


_data = _control lnbData [row, column] 

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

Sets the additional text (invisible) in the item with the given position of the given 2D listbox to the given data.

C Func: 0x139e084 ScriptInfo: 0x160bc9c


_control lnbSetData [[row, column], "#1"] 

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

Returns the additional integer value in the item with the given position of the given 2D listbox.

C Func: 0x139dff8 ScriptInfo: 0x160bcd0


_value = _control lnbValue [row, column] 

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

Sets the additional integer value in the item with the given position of the given 2D listbox to the given value.

C Func: 0x139df54 ScriptInfo: 0x160bd04


_control lnbSetValue [[row, column], 1] 

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

Returns the picture name of the item with the given position of the given listbox or combobox.

C Func: 0x139ded4 ScriptInfo: 0x160bd38


_picture = _control lnbPicture [row, column] 

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

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: 0x139dd78 ScriptInfo: 0x160bd6c


_control lnbSetPicture [[row, column], "iskoda"] 

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

Returns the text color of the item with the given position of the given 2D listbox.

C Func: 0x139dcc8 ScriptInfo: 0x160bda0


_color = _control lnbColor [row, column] 

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

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

C Func: 0x139dc08 ScriptInfo: 0x160bdd4


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

tvAdd(control, [[path], text]) General V:NaN 0x126e9e3

Adds an item with given text to Tree View under specified path (zero based).

C Func: 0x139ee78 ScriptInfo: 0x160be08


_control tvAdd [[0], "text"] 

tvDelete(control, [path]) General V:NaN 0x126ea96

Deletes item in given path.

C Func: 0x139ee04 ScriptInfo: 0x160be3c


_control tvDelete [0] 

tvText(control, [path]) General V:NaN 0x126eb49

Gets text from given path

C Func: 0x139ed4c ScriptInfo: 0x160be70


_control tvText [0] 

tvSetData(control, [[path], text]) General V:NaN 0x126ebfc

Sets data to given path.

C Func: 0x139ecbc ScriptInfo: 0x160bea4


_control tvSetData [[0], "text"] 

tvData(control, [path]) General V:NaN 0x126ecaf

Returns string from given path.

C Func: 0x139ec50 ScriptInfo: 0x160bed8


_control tvData [0] 

tvSetValue(control, [[path], val]) General V:NaN 0x126ed62

Sets value to given path.

C Func: 0x139ebc4 ScriptInfo: 0x160bf0c


_control tvSetValue [[0], 1] 

tvValue(control, [path]) General V:NaN 0x126ee15

Reads value from given path.

C Func: 0x139eb58 ScriptInfo: 0x160bf40


_control tvValue [0] 

tvCount(control, [path]) General V:NaN 0x126eec8

Returns count of items in given path.

C Func: 0x139eae4 ScriptInfo: 0x160bf74


_control tvCount [0] 

tvSetCurSel(control, [path]) General V:NaN 0x126ef7b

Sets cursor to given path.

C Func: 0x139ea74 ScriptInfo: 0x160bfa8


_control tvSetCurSel [0] 

tvSort(control, [[path], reversed]) General V:NaN 0x126f02e

Sorts childrens of given item by data.

C Func: 0x139e968 ScriptInfo: 0x160bfdc


_control tvSort [[0], true] 

tvSortByValue(control, [[path], reversed]) General V:NaN 0x126f0e1

Sorts childrens of given item by value.

C Func: 0x139e8f0 ScriptInfo: 0x160c010


_control tvSortByValue [[0], true] 

tvSetPicture(control, [[path], name]) General V:NaN 0x126f194

Sets picture to item selected by path.

C Func: 0x139e814 ScriptInfo: 0x160c044


_control tvSetPicture [[0], "picture"] 

tvPicture(control, [path]) General V:NaN 0x126f247

Returns picture on given path of tree.

C Func: 0x139e79c ScriptInfo: 0x160c078


_control tvPicture [0] 

tvExpand(control, [path]) General V:NaN 0x126f2fa

Expands given path.

C Func: 0x139e734 ScriptInfo: 0x160c0ac


_control tvExpand [0] 

tvCollapse(control, [path]) General V:NaN 0x126f3ad

Collapses given path.

C Func: 0x139e6c4 ScriptInfo: 0x160c0e0


_control tvCollapse [0] 

buttonSetAction(control, action) General V:2.91 0x126f460

Assigns an action to the given button or active text. Action is any expression in this scripting language.

C Func: 0x139fa00 ScriptInfo: 0x160c114


_control buttonSetAction "player exec ""reply.sqs""" 

sliderSetPosition(control, pos) General V:2.92 0x126f513

Sets the current thumb position of the given slider.

C Func: 0x139daf0 ScriptInfo: 0x160c148


_control sliderSetPosition 0 

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

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

C Func: 0x139d9e4 ScriptInfo: 0x160c17c


_control sliderSetRange [0, 10] 

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

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: 0x139d864 ScriptInfo: 0x160c1b0


_control sliderSetSpeed [0.5, 2.0] 

ctrlMapAnimAdd(map, frame) General V:1.92 0x126f72c

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

C Func: 0x13b0504 ScriptInfo: 0x160c1e4


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

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

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

C Func: 0x13b049c ScriptInfo: 0x160c218

ctrlMapWorldToScreen(map, position) General V:5127 0x126f892

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

C Func: 0x13b0434 ScriptInfo: 0x160c24c

createMissionDisplay(parent, root) General V:5140 0x126f945

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: 0x13b0358 ScriptInfo: 0x160c280


_display createMissionDisplay "Test missions" 

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

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: 0x13b0358 ScriptInfo: 0x160c2b4


_display createMissionDisplay ["","Tutorial"] 

progressSetPosition(control, pos, Sets the current position in the progress bar.) General V:2.92 0x126faab

_control sliderSetPosition 0

C Func: 0x13b020c ScriptInfo: 0x160c2e8

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

Add an event handler to the given control. Returns id of the handler or -1 when failed.

C Func: 0x13b016c ScriptInfo: 0x160c31c


_id = _control ctrlAddEventHandler ["KeyDown", ""] 

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

Remove a given event handler from the given control.

C Func: 0x13b00d8 ScriptInfo: 0x160c350


_control ctrlRemoveEventHandler ["KeyDown", 0] 

ctrlRemoveAllEventHandlers(control, handler name) General V:5501 0x126fcc4

Remove all even handlers from the given control.

C Func: 0x13b0048 ScriptInfo: 0x160c384


_control ctrlRemoveAllEventHandlers "KeyDown" 

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

Add an event handler to the given display. Returns id of the handler or -1 when failed.

C Func: 0x13aff9c ScriptInfo: 0x160c3b8


_id = _display displayAddEventHandler ["KeyDown", ""] 

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

Remove a given event handler from the given display.

C Func: 0x13aff14 ScriptInfo: 0x160c3ec


_display displayRemoveEventHandler ["KeyDown", 0] 

displayRemoveAllEventHandlers(display, handler name) General V:5501 0x126fedd

Remove all even handlers from the given display.

C Func: 0x13afe8c ScriptInfo: 0x160c420


_display displayRemoveAllEventHandlers "KeyDown" 

callExtension(extension, functionWithArguments) General V:NaN 0x126ff90

Execute an extension function

C Func: 0x13afe08 ScriptInfo: 0x160c454


handle = "pipes" callExtension "openPipe(pipe)" 

radioChannelSetLabel(chan ix, label, Set the custom channel label.) General V:NaN 0x1270043

81375 TOH

C Func: 0x13afdbc ScriptInfo: 0x160c488

radioChannelSetCallSign(chan ix, callSign, Set the custom channel call sign.) General V:NaN 0x12700f6

81375 TOH

C Func: 0x13afd80 ScriptInfo: 0x160c4bc

radioChannelAdd(chan ix, [units], Add the units to the custom radio channel.) General V:NaN 0x12701a9

81375 TOH

C Func: 0x13afd3c ScriptInfo: 0x160c4f0

radioChannelRemove(chan ix, [units], Remove the units from the custom radio channel.) General V:NaN 0x127025c

81375 TOH

C Func: 0x13afcf8 ScriptInfo: 0x160c524

customRadio(unit, [chan ix, string], Sends the message to the custom radio channel. The message is defined in the description.ext file or radio protocol., soldierOne customRadio [1,"WordEnemy"]) General V:NaN 0x127030f

81375 TOH

C Func: 0x13afc34 ScriptInfo: 0x160c558

customChat(unit, [chan ix, string], Sends the chat message to the custom radio channel., sweetBoy customChat [1,"Hi, any sweetgirls to chat?"]) General V:NaN 0x12703c2

81375 TOH

C Func: 0x13afbbc ScriptInfo: 0x160c58c

saveStatus(object, name) General V:1.75 0x1270475

Saves object's properties to objects.sav file in campaign directory as entry name.

C Func: 0x13afb3c ScriptInfo: 0x160c5c0


player saveStatus "playerState" 

loadStatus(object, name) General V:1.75 0x1270528

Loads object's properties from objects.sav file in campaign directory (from entry name).

C Func: 0x13afab4 ScriptInfo: 0x160c5f4


player loadStatus "playerState" 

saveIdentity(person, name) General V:1.75 0x12705db

Saves person's identity to objects.sav file in campaign directory as entry name.

C Func: 0x13afa28 ScriptInfo: 0x160c628


player saveIdentity "playerIdentity" 

loadIdentity(person, name) General V:1.75 0x127068e

Loads person's identity from objects.sav file in campaign directory (from entry name).

C Func: 0x13af998 ScriptInfo: 0x160c65c


player loadIdentity "playerIdentity" 

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

Process animation on object. Animation is defined in config file. Wanted animation phase is set to phase.

C Func: 0x13af8f0 ScriptInfo: 0x160c690


house animate ["doors1", 1] 

animationPhase(object, animation) General V:1.75 0x12707f4

Return animation phase of animation on object.

C Func: 0x13af890 ScriptInfo: 0x160c6c4


house animationPhase "doors1" 

setSkill(vehicle, skill) General V:1.75 0x12708a7

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

C Func: 0x13b1ce4 ScriptInfo: 0x160c6f8


hero setSkill 1 

setObjectTexture(object) General V:1.75 0x127095a

texture

C Func: 0x13af810 ScriptInfo: 0x160c72c

setObjectTextureGlobal(obj, [selection,texture]) General V:1.18 0x1270a0d

Set the texture of the given selection on all computers in a network session

C Func: 0x13af75c ScriptInfo: 0x160c760


player setObjectTextureGlobal [0,"\MyAddon\blue.pac"] 

setObjectMaterial(object) General V:1.75 0x1270ac0

material

C Func: 0x13af748 ScriptInfo: 0x160c794

nearestObject(position, type) General V:2.01 0x1270b73

Find object nearest to given position with given type.

C Func: 0x13ace6c ScriptInfo: 0x160c7c8


obj = position player nearestObject "Building" 

nearestObject(position, id) General V:2.01 0x1270c26

Find object nearest to given position with given Visitor id.

C Func: 0x13ace6c ScriptInfo: 0x160c7fc


obj = position player nearestObject 1234 

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

Add given member to given team.

C Func: 0x13af624 ScriptInfo: 0x160c830


_team addTeamMember _teamMember 

removeTeamMember(team, member) Agents V:2.90 0x1270d8c

Remove given member from given team.

C Func: 0x13af5c4 ScriptInfo: 0x160c864


_team removeTeamMember _teamMember 

==(teamMember1, teamMember2) Agents V:2.90 0x1270e3f

Checks whether two team members are the same. If either of them is teamMemberNull, false is returned.

C Func: 0x132f1dc ScriptInfo: 0x160c898


teamMember player == _teamMember 

!=(teamMember1, teamMember2) Agents V:2.90 0x1270ef2

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

C Func: 0x132f178 ScriptInfo: 0x160c8cc


teamMember player != _teamMember 

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

Add (register) resources to the team member.

C Func: 0x13af404 ScriptInfo: 0x160c900


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

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

Delete (unregister) resources of the team member.

C Func: 0x13af394 ScriptInfo: 0x160c934


teamMember _agent deleteResources ["Legs"] 

setFormation(team, formation) Agents V:2.90 0x127110b

Set a new formation to given team.

C Func: 0x13c0628 ScriptInfo: 0x160c968


_team setFormation "Wedge" 

setFromEditor(teamMember, fromEditor) Agents V:2.90 0x12711be

Set if given team member was inserted directly from editor.

C Func: 0x13af2e8 ScriptInfo: 0x160c99c


_teamMember setFromEditor true 

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

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: 0x132f398 ScriptInfo: 0x160c9d0


team1 setVariable ["owner",player,true] 

getVariable(teamMember, name) Agents V:2.92 0x1271324

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

C Func: 0x132f340 ScriptInfo: 0x160ca04

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

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

C Func: 0x132f340 ScriptInfo: 0x160ca38

setLeader(team, leader) Agents V:2.92 0x127148a

Set the leader of given team.

C Func: 0x13af1b8 ScriptInfo: 0x160ca6c

forEachMember(command, team) Agents V:2.92 0x127153d

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

C Func: 0x13af15c ScriptInfo: 0x160caa0

forEachMemberTeam(command, team) Agents V:2.92 0x12715f0

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

C Func: 0x13af0fc ScriptInfo: 0x160cad4

forEachMemberAgent(command, team) Agents V:2.92 0x12716a3

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

C Func: 0x13af098 ScriptInfo: 0x160cb08

setCombatMode(teamMember, mode) Agents V:NaN 0x1271756

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: 0x13c06d4 ScriptInfo: 0x160cb3c


(teamMember agent1) setCombatMode "BLUE" 

==(netObj1, netObj2) General V:69527 0x1271809

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

C Func: 0x132f1dc ScriptInfo: 0x160cb70


_myJoint == _myWinch 

!=(netObj1, netObj2) General V:69527 0x12718bc

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

C Func: 0x132f178 ScriptInfo: 0x160cba4


_myJoint != _myWinch 

setDebriefingText(endType, [title, description]) General V:2.92 0x127196f

Sets debriefing text.

C Func: 0x13aee00 ScriptInfo: 0x160cbd8


"end1" setDebriefingText ["Title", "Description"] 

SwimInDepth(unit, height) General V:2.92 0x1271a22

Sets the target depth level for swimming soldier.

C Func: 0x13aeda8 ScriptInfo: 0x160cc0c


soldier SwimInDepth -20 

setPosASLW(obj, pos) General V:2.92 0x1271ad5

Sets the object position above sea surface. The pos array uses the PositionASLW format.

C Func: 0x13aeccc ScriptInfo: 0x160cc40


player setPosASLW [getPosASLW player select 0, getPosASLW player select 1 + 10, getPosASLW select 2] 

setBleedingRemaining(obj, time) General V:2.92 0x1271b88

Sets bleeding time remaining.

C Func: 0x13aec74 ScriptInfo: 0x160cc74


player setBleedingRemaining 1.0 

setOxygenRemaining(unit, oxygen) General V:2.92 0x1271c3b

Sets oxygen remaining. It has no effect when soldier is not diving.

C Func: 0x13aebf4 ScriptInfo: 0x160cca8


player setOxygenRemaining 0.5 

setWindStr(time, value) General V:2.92 0x1271cee

Changes the wind strength smoothly during the given time (in seconds). A time of zero means there will be an immediate change.

C Func: 0x13aeb54 ScriptInfo: 0x160ccdc


1800 setWindStr 0.5 

setWindDir(time, azimut) General V:2.92 0x1271da1

Changes the wind direction smoothly during the given time (in seconds). A time of zero means there will be an immediate change.

C Func: 0x139be38 ScriptInfo: 0x160cd10


1800 setWindDir 120 

setGusts(time, gusts) General V:2.92 0x1271e54

Changes the gusts value smoothly during the given time (in seconds). A time of zero means there will be an immediate change.

C Func: 0x13aea1c ScriptInfo: 0x160cd44


1800 setGusts 0.5 

setLightnings(time, value) General V:2.92 0x1271f07

Changes the lightnings value smoothly during the given time (in seconds). A time of zero means there will be an immediate change.

C Func: 0x13ae96c ScriptInfo: 0x160cd78


1800 setLightnings 0.5 

setWaves(time, waves) General V:2.92 0x1271fba

Changes the waves value smoothly during the given time (in seconds). A time of zero means there will be an immediate change.

C Func: 0x13ae8c8 ScriptInfo: 0x160cdac


1800 setWaves 0.5 

setRainbow(time, rainbow, Changes the rainbow value smoothly during the given time (in seconds). A time of zero means there will be an immediate change.) General V:2.92 0x127206d

1800 setWindStr 0.5

C Func: 0x13ae83c ScriptInfo: 0x160cde0

setLightAttenuation(light, [startAttenuation, constantAttenuation, linearAttenuation, quadraticAttenuation, hardLimitStart, hardLimitEnd]) General V:87980 0x1272120

Set attenuation of light.

C Func: 0x13ae794 ScriptInfo: 0x160ce14

setLightIntensity(light, intensity) General V:88000 0x12721d3

Set intensity of light.

C Func: 0x13ae760 ScriptInfo: 0x160ce48

setLightDayLight(light, bool) General V:88000 0x1272286

Sets if light can be used during day.

C Func: 0x13ae724 ScriptInfo: 0x160ce7c

setLightUseFlare(light, useFlare) General V:88000 0x1272339

Sets if light should use flare.

C Func: 0x13ae6f0 ScriptInfo: 0x160ceb0

setLightFlareSize(light, flareSize) General V:88000 0x12723ec

Sets relative size of the flare for the light.

C Func: 0x13ae6ac ScriptInfo: 0x160cee4

setLightFlareMaxDistance(light, flareMaxDistance) General V:96000 0x127249f

Sets max distance where the flare is visible.

C Func: 0x13ae658 ScriptInfo: 0x160cf18

animateDoor(object, [doorname, phase, now], Process animation of door on vehicle. Animation is defined in config file. Wanted animation phase is set to phase., heli animateDoor ["doors1", 1, false]) General V:NaN 0x1272552

TOH 83638

C Func: 0x13ae58c ScriptInfo: 0x160cf4c

doorPhase(object, animation, Return animation phase of door on vehicle., heli doorPhase "gunnerDoor") General V:NaN 0x1272605

TOH 83638

C Func: 0x13ae538 ScriptInfo: 0x160cf80

revealMine(side, mine) General V:1.86 0x12726b8

Sets given mine as known to the side.

C Func: 0x13ae504 ScriptInfo: 0x160cfb4

synchronizeObjectsAdd(unit/trigger, [objects]) General V:NaN 0x127276b

Add given objects to the unit/trigger's list of synchronized objects.

C Func: 0x13ae46c ScriptInfo: 0x160cfe8


player synchronizeObjectsAdd cursorTarget 

synchronizeObjectsRemove(unit/trigger, [objects], Remove given objects from the unit/trigger's list of synchronized objects.) General V:NaN 0x127281e

player syncrhonizeObjectsRemove cursorTarget

C Func: 0x13ae3d4 ScriptInfo: 0x160d01c

setWaypointLoiterRadius(waypoint, loiter radius) General V:NaN 0x12728d1

Assignes loiter radius to waypoint

C Func: 0x13ae360 ScriptInfo: 0x160d050


[_grp, 2] setWaypointLoiterRadius 200 

setWaypointLoiterType(waypoint, loiter type) General V:NaN 0x1272984

Assignes loiter type to waypoint

C Func: 0x13ae2ec ScriptInfo: 0x160d084


[_grp, 2] setWaypointLoiterType "CIRCLE" 

lbSetTooltip(control, [index, tooltip], Sets tooltip for item with the given index of the given listbox or combobox to the given data.) General V:NaN 0x1272a37

_control lbSetData [1, "tooltip"]

C Func: 0x139b0cc ScriptInfo: 0x160d0b8

connectTerminalToUav(person, UAV) General V:106264 0x1272aea

Connect person with UAV terminal to UAV unit

C Func: 0x13ae1dc ScriptInfo: 0x160d0ec


player connectTerminalToUav cursorTarget 

setMass(object, mass or [mass, time]) General V:NaN 0x1272b9d

Changes the mass of an object smoothly during the given time (in seconds). A time of zero means an immediate change.

C Func: 0x13ae128 ScriptInfo: 0x160d120


myObject setMass [10,0.5] 

setCenterOfMass(object, com or [com, time]; com: vector) General V:NaN 0x1272c50

Changes the center of mass of an object smoothly during the given time (in seconds). A time of zero means an immediate change.

C Func: 0x13ae04c ScriptInfo: 0x160d154


myObject setCenterOfMass [[0,-1,0],0.5] 

findEditorObject(map, [type, name1, value1, ...]) Editor V:2.35 0x12892fa

Return object of given type with given arguments. Use [type, game value] to search by object reference of a specific editor object type.

C Func: 0x13ead60 ScriptInfo: 0x1611a40

findEditorObject(map, value) Editor V:2.92 0x12893a7

Return object that matches the provided reference.

C Func: 0x13ead60 ScriptInfo: 0x1611a74

listObjects(map, type) Editor V:2.92 0x1289454

Return the list of all objects of given type.

C Func: 0x13eacf0 ScriptInfo: 0x1611aa8

addEditorObject(map, [type, [name1, value1, ...], subtype class]) Editor V:2.92 0x1289501

Add an object to the editor and assign arguments. Create script is called with _new equal to true. Returns the ID of the new EditorObject. Subtype class is optional.

C Func: 0x13eac08 ScriptInfo: 0x1611adc

insertEditorObject(map, [type, value, [name1, value1, ...], subtype class]) Editor V:2.92 0x12895ae

Insert an object to the editor and assign arguments. Create script is not called. Returns the ID of the new EditorObject. Subtype class is optional.

C Func: 0x13eab28 ScriptInfo: 0x1611b10

setObjectArguments(map, [object, [name1, value1, ...]]) Editor V:2.92 0x128965b

Set object arguments in mission editor.

C Func: 0x13eaacc ScriptInfo: 0x1611b44

getObjectProxy(map, object) Editor V:2.92 0x1289708

Return the proxy object associated with the given editor object.

C Func: 0x13eaa78 ScriptInfo: 0x1611b78

setObjectProxy(map, [object, proxy object]) Editor V:2.92 0x12897b5

Set the proxy object associated with the given editor object.

C Func: 0x13eaa10 ScriptInfo: 0x1611bac

deleteEditorObject(map, object) Editor V:2.92 0x1289862

Delete the editor object. Requires all editor object links to be removed prior.

C Func: 0x13ea9a8 ScriptInfo: 0x1611be0

getObjectChildren(map, object) Editor V:2.92 0x128990f

Return a list of all the children of the specified object.

C Func: 0x13ea958 ScriptInfo: 0x1611c14

execEditorScript(map, [object, script]) Editor V:2.92 0x12899bc

Execute an editor script for the specified object.

C Func: 0x13ea8d0 ScriptInfo: 0x1611c48


_map execEditorScript ["_team_1", "create"] 

showNewEditorObject(map, [type, class, side, position]) Editor V:2.92 0x1289a69

Show the add editor object dialog, type is editor object type, class is class definition to automatically select, side filters by a certain side, pos is position to create the object.

C Func: 0x13ea7e0 ScriptInfo: 0x1611c7c

editObject(map, object) Editor V:2.92 0x1289b16

Show the edit object dialog for the given object.

C Func: 0x13ea7a0 ScriptInfo: 0x1611cb0

onDoubleClick(map, command) Editor V:2.92 0x1289bc3

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

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

C Func: 0x13ea6c0 ScriptInfo: 0x1611ce4

onShowNewObject(map, command) Editor V:2.92 0x1289c70

Defines an action performed when the user right clicks on the map and selects New Object. Set to empty for default behavior. Command receives:

_pos array position

C Func: 0x13ea5f4 ScriptInfo: 0x1611d18

selectEditorObject(map, object) Editor V:2.92 0x1289d1d

Select an editor object. Does not un-select previously selected objects.

C Func: 0x13ea590 ScriptInfo: 0x1611d4c

setEditorObjectScope(map, [objects,editor type,condition,scope,subordinates also]) Editor V:2.92 0x1289dca

This command defines the level of access a user has to editor objects. objects is an array of either Editor Objects (eg [_unit_0]) or actual Game Objects (eg [player]). If the array is empty then the command will automatically parse all editor objects. editor type is the editor type to effect (eg unit), or for none. condition is an executable string that must evaluate to true or false. If true, the scope of the evaluated editor object will be modified. scope is one of HIDE, VIEW, SELECT, LINKTO, LINKFROM, ALLNODRAG, ALLNOTREE or ALL. subordinates also is a boolean value, if true then subordinates in the editor will be assigned the same scope as the parent.

C Func: 0x13ea240 ScriptInfo: 0x1611d80


_map setEditorObjectScope [[],vehicle,side effectiveCommander _x != side player,HIDE,false]; 

getEditorObjectScope(map, object) Editor V:2.92 0x1289e77

Returns the editor object scope of the specified editor object.

C Func: 0x13ea1e4 ScriptInfo: 0x1611db4

addMenuItem(map, [menu or index,text,command,priority]) Editor V:2.92 0x1289f24

Creates a new menu item. Menu can be "file" or "view", index is index as returned from addMenu command. priority is optional and determines where in the menu the item will reside (higher priority items first).

C Func: 0x13ea0d8 ScriptInfo: 0x1611de8

updateMenuItem(map, [menu item index,text,command]) Editor V:2.92 0x1289fd1

Sets the text and command for the menu item. index is index as returned from addMenuItem command. command is optional.

C Func: 0x13ea02c ScriptInfo: 0x1611e1c

removeMenuItem(map, index of menu item to delete) Editor V:2.92 0x128a07e

Removes a previously added menu item.

C Func: 0x13e9fd4 ScriptInfo: 0x1611e50

removeMenuItem(map, text of menu item to delete) Editor V:2.92 0x128a12b

Removes a previously added menu item.

C Func: 0x13e9fd4 ScriptInfo: 0x1611e84

nMenuItems(map, menu index) Editor V:2.92 0x128a1d8

Returns the total number of user-added menu items belonging to the given menu.

C Func: 0x13e9f50 ScriptInfo: 0x1611eb8

setEditorMode(map, mode) Editor V:2.92 0x128a285

Sets map mode to MAP, 3D or PREVIEW.

C Func: 0x13e9f18 ScriptInfo: 0x1611eec

editorSetEventHandler(map, [handler name, function]) Editor V:2.92 0x128a332

Sets given event handler of given editor.

C Func: 0x13e9ea4 ScriptInfo: 0x1611f20


_map editorSetEventHandler ["SelectObject", ""] 

setVisibleIfTreeCollapsed(map, [object, visible if tree collapsed]) Editor V:2.92 0x128a3df

Sets whether or not the object is visible even if the tree is collapsed.

C Func: 0x13e9e14 ScriptInfo: 0x1611f54

addMenu(map, [text,priority]) Editor V:2.92 0x128a48c

Adds a new menu button. Priority is optional.

C Func: 0x13e9dcc ScriptInfo: 0x1611f88

createMenu(map, index) Editor V:2.92 0x128a539

Creates a previously added menu.

C Func: 0x13e9d9c ScriptInfo: 0x1611fbc

newOverlay(map, config) Editor V:2.92 0x128a5e6

Creates the new overlay dialog for the specified type of overlay.

C Func: 0x13e9d4c ScriptInfo: 0x1611ff0

loadOverlay(map, config) Editor V:2.92 0x128a693

Creates the load overlay dialog for the specified type of overlay.

C Func: 0x13e9cf8 ScriptInfo: 0x1612024

lookAtPos(map, position) Editor V:2.92 0x128a740

Center the map on, and point the camera at, the position.

C Func: 0x13e9cb0 ScriptInfo: 0x1612058

drawLink(map, [from, to, param type, line type, color]) Editor V:2.92 0x128a7ed

The editor will draw a line between the two specified editor objects. Line type can be LINE or ARROW.

C Func: 0x13e9c10 ScriptInfo: 0x161208c

removeDrawLinks(map, [from, param type]) Editor V:2.92 0x128a89a

Remove all drawn links for the given editor object for the given editor object type. Pass an empty string as param type to remove all draw links for an object.

C Func: 0x13e9b4c ScriptInfo: 0x16120c0

setDrawIcon(map, [object, texture, color, offset, width, height, maintain size?, angle, string identifier, shadow, is3D, draw line?, priority]) Editor V:2.92 0x128a947

Set the icon to be shown in 2D editor for the specified editor object. If maintain size is false, icon will not scale depending on the scale of the map. If maintain size is a number, the icon will maintain size if map scale is below that number. is3D, show line and priority are optional.

C Func: 0x13e999c ScriptInfo: 0x16120f4

updateDrawIcon(map, [object, string identifier, color, offset, width, height, maintain size?, angle, shadow]) Editor V:2.92 0x128a9f4

Updates the icon to be shown in 2D editor for the specified editor object. If maintain size is false, icon will not scale depending on the scale of the map. If maintain size is a number, the icon will maintain size if map scale is below that number.

C Func: 0x13e9830 ScriptInfo: 0x1612128

removeDrawIcon(map, [object, string identifier]) Editor V:2.92 0x128aaa1

Removes an icon for an editor object.

C Func: 0x13e97dc ScriptInfo: 0x161215c

moveObjectToEnd(map, object) Editor V:2.92 0x128ab4e

Shifts an editor object to the end of the objects array. This means that the object will be drawn last (after all other objects).

C Func: 0x13e9744 ScriptInfo: 0x1612190

show3DIcons(map, bool) Editor V:2.92 0x128abfb

Toggle the drawing of 3D icons.

C Func: 0x13e9718 ScriptInfo: 0x16121c4

allow3DMode(map, bool) Editor V:2.92 0x128aca8

Allow/dissallow 3D mode.

C Func: 0x13e96f0 ScriptInfo: 0x16121f8

allowFileOperations(map, bool) Editor V:2.92 0x128ad55

Allow/dissallow file ops (load/save etc).

C Func: 0x13e96b0 ScriptInfo: 0x161222c

showLegend(map, bool) Editor V:2.92 0x128ae02

Show/hide map legend.

C Func: 0x13e968c ScriptInfo: 0x1612260

%(a, b) Default V:1.5 0x1295221

The remainder of a divided by b. Note that the remainder is calculated in the real domain.

C Func: 0x140a6c4 ScriptInfo: 0x164087c


4.5 % 3 

mod(a, b) Default V:1 0x12952ce

The remainder of a divided by b. Note that the remainer is calculated in the real domain.

C Func: 0x132b664 ScriptInfo: 0x16408b0


3 mod 2 

atan2(x, y) Default V:59.0362 0x129537b

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: 0x140a588 ScriptInfo: 0x16408e4


5 atan2 3 

+(a, b) Default V:NaN 0x1295428

a plus b

C Func: 0x1313844 ScriptInfo: 0x1640918


counter + 1 

-(a, b) Default V:NaN 0x12954d5

a minus b

C Func: 0x130fe48 ScriptInfo: 0x164094c


counter - 1 

>=(a, b, a greater or equal than b) Default V:NaN 0x1295582

player distance redCar < 100

C Func: 0x140a518 ScriptInfo: 0x1640980

<=(a, b) Default V:NaN 0x129562f

a lesser or equal than b

C Func: 0x140a4d8 ScriptInfo: 0x16409b4


player distance redCar <= 100 

>(a, b) Default V:NaN 0x12956dc

a greater than b

C Func: 0x13188e8 ScriptInfo: 0x16409e8


counter > 4 

<(a, b) Default V:NaN 0x1295789

a lesser than b

C Func: 0x136d778 ScriptInfo: 0x1640a1c


counter < 4 

==(a, b) Default V:NaN 0x1295836

a equal to b

C Func: 0x132f1dc ScriptInfo: 0x1640a50


counter == 4 

!=(a, b) Default V:NaN 0x12958e3

a is not equal to b

C Func: 0x132f178 ScriptInfo: 0x1640a84


counter != 4 

==(a, b) Default V:NaN 0x1295990

a equal to b (case insensitive)

C Func: 0x132f1dc ScriptInfo: 0x1640ab8


nameOfPlayer == "John Doe" 

!=(a, b) Default V:NaN 0x1295a3d

a is not equal to b (case insensitive)

C Func: 0x132f178 ScriptInfo: 0x1640aec


nameOfPlayer != "John Doe" 

+(stringA, stringB, stringA and stringB are concatenated., "I" + " am" + " blind") Default V:NaN 0x1295aea

"I am blind"

C Func: 0x1313844 ScriptInfo: 0x1640b20

+(arrayA, arrayB, arrayA and arrayB are concatenated., [0, 1, 2] + [1, 2, 3]) Default V:NaN 0x1295b97

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

C Func: 0x1313844 ScriptInfo: 0x1640b54

-(arrayA, arrayB, All elements in arrayB are removed from arrayA., [0, 1, 2, 4, 0, 1, 2, 3, 4, 5] - [1, 2, 3]) Default V:NaN 0x1295c44

[0, 4, 0, 4, 5]

C Func: 0x130fe48 ScriptInfo: 0x1640b88

&&(a, b) Default V:NaN 0x1295cf1

a and b

C Func: 0x140a27c ScriptInfo: 0x1640bbc


alive player && alive leader player 

and(a, b) Default V:NaN 0x1295d9e

a and b

C Func: 0x13dccf4 ScriptInfo: 0x1640bf0


alive player and alive leader player 

||(a, b) Default V:NaN 0x1295e4b

a or b

C Func: 0x140a220 ScriptInfo: 0x1640c24


!alive player || !alive leader player 

or(a, b) Default V:NaN 0x1295ef8

a or b

C Func: 0x140a1f0 ScriptInfo: 0x1640c58


not alive player or not alive leader player 

&&(a, b) Default V:NaN 0x1295fa5

a and b, b evaluated only when a is true

C Func: 0x140a27c ScriptInfo: 0x1640c8c


alive player && {alive leader player} 

and(a, b) Default V:NaN 0x1296052

a and b, b evaluated only when a is true

C Func: 0x13dccf4 ScriptInfo: 0x1640cc0


alive player and alive leader player 

||(a, b) Default V:NaN 0x12960ff

a or b, b evaluated only when a is false

C Func: 0x140a220 ScriptInfo: 0x1640cf4


!alive player || !alive leader player 

or(a, b) Default V:NaN 0x12961ac

a or b, b evaluated only when a is false

C Func: 0x140a1f0 ScriptInfo: 0x1640d28


not alive player or not alive leader player 

select(array, index) Default V:2 0x1296259

Selects index element of the array. Index 0 denotes the first element, 1 the second, etc.

C Func: 0x139448c ScriptInfo: 0x1640d5c


[1, 2, 3] select 1 

select(array) Default V:NaN 0x1296306

index

C Func: 0x139448c ScriptInfo: 0x1640d90


If the index is false, this selects the first element of the array. If it is true, it selects the second one. 

set(array, element) Default V:1.75 0x12963b3

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: 0x1339478 ScriptInfo: 0x1640dc4


array set [0, "Hello"] 

resize(array, count) Default V:1.75 0x1296460

Changes the array size. This function can be used to add or remove elements from the array.

C Func: 0x1409f64 ScriptInfo: 0x1640df8


array resize 2 

count(condition, array) Default V:2 0x129650d

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: 0x12feb14 ScriptInfo: 0x1640e2c


"_x > 2" count [0, 1, 1, 2, 3, 3] 

forEach(command, array) Default V:NaN 0x12965ba

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: 0x1409d58 ScriptInfo: 0x1640e60


"_x setdammage 1" forEach units group player 

in(x, array, Checks whether x is equal to any element in the array., 1 in [0, 1, 2]) Default V:NaN 0x1296667

true

C Func: 0x132f2fc ScriptInfo: 0x1640e94

find(array, x, Returns the position of the first array element that matches x, returns -1 if not found., [0, 1, 2] find 1) Default V:2.92 0x1296714

1

C Func: 0x1409c94 ScriptInfo: 0x1640ec8

then(if, codeToExecute) Default V:1.85 0x12967c1

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: 0x13c4c5c ScriptInfo: 0x1640efc


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

then(if, else) Default V:1.85 0x129686e

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: 0x13c4c5c ScriptInfo: 0x1640f30


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

else(ifCode, elseCode) Default V:1.85 0x129691b

Constructs an array that can be processed by then.

C Func: 0x13c4c54 ScriptInfo: 0x1640f64


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

do(while, code) Default V:1.85 0x12969c8

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: 0x13c4c6c ScriptInfo: 0x1640f98


while "a>b" do {a=a+1} 

do(with, code) Default V:5501 0x1296a75

Execute the code inside the given namespace.

C Func: 0x13c4c6c ScriptInfo: 0x1640fcc


with missionNamespace do {global=global+1} 

exitWith(if, code, if result of condition is true, evaluates code, and current block with result of code, if (_x>5) exitWith {echo "_x is too big";_x}) Default V:2 0x1296b22

[when _x is greater then 5, outputs message and terminates code in current level with value of _x

C Func: 0x13c4c48 ScriptInfo: 0x1641000

call(pars, body, Executes the function body. Argument pars is passed as _this., [1,2] call {(_this select 0)+(_this select 1)}) Default V:1.85 0x1296bcf

3

C Func: 0x1409780 ScriptInfo: 0x1641034

from(for "_var", b, Continue sequence of 'for' command., for "_x" from 10 to 20 do {..code..}) V:NaN 0x1296c7c

Default

C Func: 0x13146bc ScriptInfo: 0x1641068

to(for "_var" from a, b, Continue sequence of 'for' command., for "_x" from 10 to 20 do {..code..}) V:NaN 0x1296d29

Default

C Func: 0x13146b8 ScriptInfo: 0x164109c

step(for /.../, step, Optionaly can set step. If you want to count down, step must be specified, and set negative. Default value is 1., for "_x" from 20 to 10 step -2 do {..code..}) V:NaN 0x1296dd6

Default

C Func: 0x1348228 ScriptInfo: 0x16410d0

do(forCommand, code) Default V:NaN 0x1296e83

End of for command, starts cycle

C Func: 0x13c4c6c ScriptInfo: 0x1641104


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

:(a, b) Default V:NaN 0x1296f30

see switch

C Func: 0x1308174 ScriptInfo: 0x1641138

do(switch, block) Default V:NaN 0x1296fdd

Switch form

C Func: 0x13c4c6c ScriptInfo: 0x164116c


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

catch(try-Block, code) Default V:NaN 0x129708a

processes code, when exception is thrown in try block

C Func: 0x13c4c64 ScriptInfo: 0x16411a0

min(a, b) Default V:2 0x1297137

The smaller of a,b

C Func: 0x1348124 ScriptInfo: 0x16411d4


3 min 2 

max(a, b) Default V:3 0x12971e4

The greater of a,b

C Func: 0x1348120 ScriptInfo: 0x1641208


3 max 2 

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

Set variable to given value in the given namespace.

C Func: 0x132f398 ScriptInfo: 0x164123c

getVariable(namespace, name) Default V:5501 0x129733e

Return the value of variable in the given namespace.

C Func: 0x132f340 ScriptInfo: 0x1641270

getVariable(namespace, [name, default value], Return the value of variable in the given namespace. If not found, default value is returned.) Default V:NaN 0x12973eb

80915 TOH

C Func: 0x132f340 ScriptInfo: 0x16412a4

+(expr1, expr2) Simple expression V:NaN 0x129daea

Extend expression

C Func: 0x1313844 ScriptInfo: 0x1642c08

+(expr, val) Simple expression V:NaN 0x129db97

Extend expression

C Func: 0x1313844 ScriptInfo: 0x1642c3c

+(val, expr) Simple expression V:NaN 0x129dc44

Extend expression

C Func: 0x1313844 ScriptInfo: 0x1642c70

-(expr1, expr2) Simple expression V:NaN 0x129dcf1

Extend expression

C Func: 0x130fe48 ScriptInfo: 0x1642ca4

-(expr, val) Simple expression V:NaN 0x129dd9e

Extend expression

C Func: 0x130fe48 ScriptInfo: 0x1642cd8

-(val, expr) Simple expression V:NaN 0x129de4b

Extend expression

C Func: 0x130fe48 ScriptInfo: 0x1642d0c

min(expr1, expr2) Simple expression V:NaN 0x129def8

Extend expression

C Func: 0x1348124 ScriptInfo: 0x1642d40

min(expr, val) Simple expression V:NaN 0x129dfa5

Extend expression

C Func: 0x1348124 ScriptInfo: 0x1642d74

min(val, expr) Simple expression V:NaN 0x129e052

Extend expression

C Func: 0x1348124 ScriptInfo: 0x1642da8

max(expr1, expr2) Simple expression V:NaN 0x129e0ff

Extend expression

C Func: 0x1348120 ScriptInfo: 0x1642ddc

max(expr, val) Simple expression V:NaN 0x129e1ac

Extend expression

C Func: 0x1348120 ScriptInfo: 0x1642e10

max(val, expr) Simple expression V:NaN 0x129e259

Extend expression

C Func: 0x1348120 ScriptInfo: 0x1642e44

factor(expr, val) Simple expression V:NaN 0x129e306

Extend expression

C Func: 0x140ef84 ScriptInfo: 0x1642e78

interpolate(expr, val) Simple expression V:NaN 0x129e3b3

Extend expression

C Func: 0x140ef78 ScriptInfo: 0x1642eac

locationPosition(location) Location V:2.90 0x11fee36

Return position of given location.

C Func: 0x132eea4 ScriptInfo: 0x15eb360

direction() Location V:2.90 0x11feecf

location

C Func: 0x132ee6c ScriptInfo: 0x15eb38c


Return direction (angle) of given location. 

size() Location V:2.90 0x11fef68

location

C Func: 0x1301818 ScriptInfo: 0x15eb3b8


Return size of given location (width, height). 

type() Location V:2.90 0x11ff001

location

C Func: 0x12fce78 ScriptInfo: 0x15eb3e4


Return type of given location. 

importance() Location V:2.90 0x11ff09a

location

C Func: 0x132ea80 ScriptInfo: 0x15eb410


Return importance of given location. 

name() Location V:2.90 0x11ff133

location

C Func: 0x12fce28 ScriptInfo: 0x15eb43c


Return name of global vatiable containing given location. 

className(location, Return short name of location. (used for scripting)) Location V:NaN 0x11ff1cc

80971 TOH

C Func: 0x132eac8 ScriptInfo: 0x15eb468

text() Location V:2.90 0x11ff265

location

C Func: 0x130106c ScriptInfo: 0x15eb494


Return text attached to given location. 

rectangular() Location V:2.90 0x11ff2fe

location

C Func: 0x132e348 ScriptInfo: 0x15eb4c0


Check if given location has rectangular shape. 

attachedObject(location) Location V:2.90 0x11ff397

Return object attached to given location.

C Func: 0x132ece4 ScriptInfo: 0x15eb4ec

side() Location V:2.90 0x11ff430

location

C Func: 0x12ff09c ScriptInfo: 0x15eb518


Return target side of given location. 

isNull(location) Location V:5501 0x11ff4c9

Check whether the value is null.

C Func: 0x132ec90 ScriptInfo: 0x15eb544

nearestLocationWithDubbing(position) Location V:5501 0x11ff562

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

C Func: 0x132ec20 ScriptInfo: 0x15eb570

taskDescription(task) Identity V:5501 0x1209c79

Returns the descripction of the task.

C Func: 0x1349824 ScriptInfo: 0x15ecf44

priority() Identity V:2.91 0x1209d12

task

C Func: 0x133fd7c ScriptInfo: 0x15ecf70


Return the priority of the task. 

currentTasks(teamMember) Identity V:2.91 0x1209dab

List all uncompleted tasks.

C Func: 0x13497d4 ScriptInfo: 0x15ecf9c

registeredTasks(teamMember) Identity V:2.91 0x1209e44

List all registered task types.

C Func: 0x13497a4 ScriptInfo: 0x15ecfc8

isNull(task, Checks whether the value is equal to taskNull. Note: a==TaskNull does not work, because taskNull is not equal to anything, even to itself., isNull taskNull) Identity V:5160 0x1209edd

true

C Func: 0x132ec90 ScriptInfo: 0x15ecff4

createDiaryLink([subject, object, text], Create a link to the section of diary given by subject. Record is selected based on given object (diary record, task or unit).) Identity V:5500 0x1209f76

_link = createDiarySubject ["Group", player, "Player"]

C Func: 0x1349614 ScriptInfo: 0x15ed020

processDiaryLink(link) Identity V:5500 0x120a00f

Open the diary screen on the record specified by link.

C Func: 0x13495c0 ScriptInfo: 0x15ed04c

simpleTasks(person) Identity V:5501 0x120a0a8

Return all simple tasks assigned to given person.

C Func: 0x1349580 ScriptInfo: 0x15ed078

cancelSimpleTaskDestination(task) Identity V:5500 0x120a141

Cancels a simple task destination

C Func: 0x1349540 ScriptInfo: 0x15ed0a4

currentTask(person) Identity V:5501 0x120a1da

Return current task of given person.

C Func: 0x134950c ScriptInfo: 0x15ed0d0

isNull(obj, Checks whether the value is equal to objNull. Note: a==ObjNull does not work, because objNull is not equal to anything, even to itself., isNull objNull) General V:NaN 0x123bd4b

true

C Func: 0x132ec90 ScriptInfo: 0x15fbd48

isNull(grp, Checks whether the value is equal to grpNull. Note: a==GrpNull does not work, because grpNull is not equal to anything, even to itself., isNull group player) General V:NaN 0x123be14

false

C Func: 0x132ec90 ScriptInfo: 0x15fbd74

alive(obj) General V:NaN 0x123beb0

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

C Func: 0x13adeb4 ScriptInfo: 0x15fbda0


alive player 

mineActive(obj, Checks whether the given mine is active) General V:NaN 0x123bf4f

active mine

C Func: 0x13ade74 ScriptInfo: 0x15fbdcc

local(obj) General V:NaN 0x123bfee

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: 0x13add5c ScriptInfo: 0x15fbdf8


local unitName 

requiredVersion(version) General V:1.21 0x123c08d

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: 0x132b5d0 ScriptInfo: 0x15fbe24


requiredVersion "1.30" 

getPos(obj) General V:NaN 0x123c12c

Returns the object position in format Position.

C Func: 0x132eedc ScriptInfo: 0x15fbe50


getPos player 

position(object) General V:1.50 0x123c1cb

Returns the object position in format Position.

C Func: 0x13203dc ScriptInfo: 0x15fbe7c


position player 

visiblePosition(object) General V:1.50 0x123c26a

Returns the object rendered position in format Position.

C Func: 0x13adbac ScriptInfo: 0x15fbea8


visiblePosition player 

visiblePositionASL(object) General V:1.50 0x123c309

Returns the object rendered position in format PositionASL.

C Func: 0x13adb34 ScriptInfo: 0x15fbed4


visiblePositionASL player 

ASLToATL(pos, Converts a position from PositionASL to Position format., ASLToATL getPosASL player) General V:NaN 0x123c3a8

OA 93641

C Func: 0x13adab0 ScriptInfo: 0x15fbf00

ATLToASL(pos, Converts a position from Position to PositionASL format., ATLToASL getPosATL player) General V:NaN 0x123c447

OA 93641

C Func: 0x13ada38 ScriptInfo: 0x15fbf2c

getPosASL(obj) General V:2.53 0x123c4e6

Returns the object position in format PositionASL.

C Func: 0x13ad9dc ScriptInfo: 0x15fbf58


getPosASL player 

eyePos(obj, Returns the position of the object eye in format PositionASL., eyePos player) General V:NaN 0x123c585

OA 93598

C Func: 0x13ad96c ScriptInfo: 0x15fbf84

aimPos(obj, Returns the position of the object other units can aim to in format PositionASL., aimPos player) General V:NaN 0x123c624

OA 93598

C Func: 0x13ad8f4 ScriptInfo: 0x15fbfb0

getPosATL(obj) General V:2.53 0x123c6c3

Returns the object position in format PositionATL.

C Func: 0x13ad898 ScriptInfo: 0x15fbfdc


getPosATL player 

getDir(obj) General V:NaN 0x123c762

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

C Func: 0x13ad848 ScriptInfo: 0x15fc008


getDir player 

eyeDirection(unit, Returns the direction object is watching (eyes, or a vehicle primary observer)., eyeDirection player) General V:NaN 0x123c801

OA 93619

C Func: 0x13ad7c4 ScriptInfo: 0x15fc034

direction(object) General V:1.50 0x123c8a0

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

C Func: 0x132ee6c ScriptInfo: 0x15fc060


direction player 

velocity() General V:1.80 0x123c93f

vehicle

C Func: 0x13483d0 ScriptInfo: 0x15fc08c


Returns the velocity (speed vector) of the vehicle as an array with format [x, z, y]. 

velocityModelSpace(vehicle) General V:1.80 0x123c9de

Returns the velocity (speed vector) of the vehicle as an array with format [x, z, y]. Vector is in model space

C Func: 0x13ad69c ScriptInfo: 0x15fc0b8

getDammage(obj) General V:NaN 0x123ca7d

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

C Func: 0x13ad648 ScriptInfo: 0x15fc0e4


getDammage player 

damage(object) General V:1.50 0x123cb1c

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

C Func: 0x12fcad8 ScriptInfo: 0x15fc110


damage player 

speed(obj) General V:NaN 0x123cbbb

Returns the object speed (in km/h).

C Func: 0x12fcb2c ScriptInfo: 0x15fc13c


speed player 

getMarkerPos(markerName) General V:NaN 0x123cc5a

Returns the marker positon in format [x,z,y].

C Func: 0x13ad530 ScriptInfo: 0x15fc168


getMarkerPos "markerOne" 

markerPos(markerName) General V:1.50 0x123ccf9

Returns the marker positon in format [x,z,y]. Note: this function is identical to getMarkerPos.

C Func: 0x13ad4a0 ScriptInfo: 0x15fc194


markerPos "markerOne" 

getMarkerType(marker) General V:1.21 0x123cd98

Gets the type of the marker. See setMarkerType.

C Func: 0x13ad43c ScriptInfo: 0x15fc1c0


getMarkerType "MarkerOne" 

markerType(markerName) General V:1.50 0x123ce37

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

C Func: 0x132dca0 ScriptInfo: 0x15fc1ec


markerType "MarkerOne" 

getMarkerSize(marker) General V:1.21 0x123ced6

Gets the marker size. See setMarkerSize.

C Func: 0x13ad354 ScriptInfo: 0x15fc218


getMarkerSize "MarkerOne" 

markerSize(markerName) General V:1.50 0x123cf75

Gets the marker size. See setMarkerSize. Note: this function is identical to getMarkerSize.

C Func: 0x13ad2c4 ScriptInfo: 0x15fc244


markerSize "MarkerOne" 

markerDir(markerName) General V:2.92 0x123d014

Gets the marker direction. See setMarkerDir.

C Func: 0x13ad26c ScriptInfo: 0x15fc270


markerDir "MarkerOne" 

markerText(markerName) General V:2.92 0x123d0b3

Gets the marker text. See setMarkerText.

C Func: 0x13ad218 ScriptInfo: 0x15fc29c


markerText "MarkerOne" 

getMarkerColor(marker) General V:1.21 0x123d152

Gets the marker color. See setMarkerColor.

C Func: 0x13ad1b8 ScriptInfo: 0x15fc2c8


getMarkerColor "MarkerOne" 

markerColor(markerName) General V:1.50 0x123d1f1

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

C Func: 0x13ad124 ScriptInfo: 0x15fc2f4


markerColor "MarkerOne" 

getWPPos(waypoint) General V:1.21 0x123d290

Gets the waypoint position. The format of waypoint is Waypoint.

C Func: 0x13ad0b0 ScriptInfo: 0x15fc320


getWPPos [groupOne, 1] 

waypointPosition(waypoint) General V:1.50 0x123d32f

Gets the waypoint position. Waypoint uses format Waypoint. Note: this function is identical to getWaypointPosition.

C Func: 0x13acff4 ScriptInfo: 0x15fc34c


waypointPosition [groupOne, 1] 

nearestBuilding(obj, Returns the nearest building to the given object.) General V:NaN 0x123d3ce

neareastBuilding player

C Func: 0x13acf98 ScriptInfo: 0x15fc378

nearestBuilding(pos, Returns the nearest building to the given position., neareastBuilding position player) General V:NaN 0x123d46d

OA 93648

C Func: 0x13acf98 ScriptInfo: 0x15fc3a4

nearestObject(pos) General V:NaN 0x123d50c

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: 0x13ace6c ScriptInfo: 0x15fc3d0


nearestObject [player, "StreetLamp"] 

firstBackpack(box) General V:NaN 0x123d5ab

Returns object of the first stored backpack in another weaponholder.e.g. used for accessing backpack content of a backpack on ground.

C Func: 0x13acdb0 ScriptInfo: 0x15fc3fc


firstBackpack cursorTarget 

everyBackpack(box) General V:NaN 0x123d64a

Returns array of backpacks stored in given crate .e.g. used for accessing backpack content of a backpack on ground.

C Func: 0x13acd0c ScriptInfo: 0x15fc428


everyBackpack cursorTarget 

allMissionObjects(type) General V:NaN 0x123d6e9

Returns all mission objects with given type.

C Func: 0x13accb0 ScriptInfo: 0x15fc454


allMissionObjects "Air" 

canMove(vehicle) General V:NaN 0x123d788

Checks whether the given vehicle is able to move. It does not test for fuel, only the damage status is checked.

C Func: 0x13acc20 ScriptInfo: 0x15fc480


canMove vehicle player 

canFire(vehicle) General V:NaN 0x123d827

Checks whether the given vehicle is able to fire. It does not check for ammo, only for damage.

C Func: 0x13acb9c ScriptInfo: 0x15fc4ac


canFire vehicle player 

canStand(soldier) General V:NaN 0x123d8c6

Checks whether the given soldier is able to stand up.

C Func: 0x13acb48 ScriptInfo: 0x15fc4d8


canStand player 

handsHit(soldier) General V:NaN 0x123d965

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

C Func: 0x13acad8 ScriptInfo: 0x15fc504


handsHit leader player 

fleeing(unit) General V:NaN 0x123da04

Checks whether the unit is fleeing. A dead or empty unit returns false.

C Func: 0x13aca74 ScriptInfo: 0x15fc530


fleeing player 

someAmmo(unit) General V:NaN 0x123daa3

Checks whether the unit has some ammo remaining.

C Func: 0x13aca1c ScriptInfo: 0x15fc55c


someAmmo vehicle player 

fuel(vehicle) General V:NaN 0x123db42

Checks how much fuel is left in the gas tank, in the range from 0 to 1.

C Func: 0x1327af0 ScriptInfo: 0x15fc588


fuel vehicle player 

rating(unit) General V:NaN 0x123dbe1

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: 0x13ac910 ScriptInfo: 0x15fc5b4


rating player 

score(unit) General V:NaN 0x123dc80

MP: returns the unit's score.

C Func: 0x13204a8 ScriptInfo: 0x15fc5e0


score unitOne 

scoreSide(side, MP: returns side score.) General V:NaN 0x123dd1f

score west

C Func: 0x13ac8b0 ScriptInfo: 0x15fc60c

formLeader(unit) General V:NaN 0x123ddbe

Returns the formation leader for the given unit. For dead units objNull is returned. The result is often the same as groupLeader, but not always.

C Func: 0x13ac7ec ScriptInfo: 0x15fc638


formLeader player != leader player 

leader(unit) General V:NaN 0x123de5d

Returns the group leader for the given unit. For dead units, objNull is returned.

C Func: 0x13212dc ScriptInfo: 0x15fc664


leader player 

vehicle(unit) General V:NaN 0x123defc

Returns the vehicle in which the given unit is mounted. If there is none, the unit is returned.

C Func: 0x148d72c ScriptInfo: 0x15fc690


vehicle player != player 

driver(vehicle) General V:NaN 0x123df9b

Returns the driver of the vehicle. If the vehicle is not a vehicle, but a person, the person is returned instead.

C Func: 0x1327b28 ScriptInfo: 0x15fc6bc


driver vehicle player 

commander(vehicle) General V:NaN 0x123e03a

Returns the commander of the vehicle. If the vehicle is not a vehicle, but a person, the person is returned instead.

C Func: 0x1375638 ScriptInfo: 0x15fc6e8


commander vehicle player 

gunner(vehicle) General V:NaN 0x123e0d9

Returns the gunner of the vehicle. If the vehicle is not a vehicle, but a person, the person is returned.

C Func: 0x13201b0 ScriptInfo: 0x15fc714


gunner vehicle player 

leader(grp, Returns the group leader for the given group. For a dead unit, grpNull is returned., leader group player == leader player) ( V:NaN 0x123e178

General

C Func: 0x13212dc ScriptInfo: 0x15fc740

group(obj) General V:NaN 0x123e217

Returns the group to which the given unit is assigned. For dead units, grpNull is returned.

C Func: 0x1320038 ScriptInfo: 0x15fc76c


group player == group leader player 

groupID(group) General V:NaN 0x123e2b6

Returns group name.

C Func: 0x13ac418 ScriptInfo: 0x15fc798


name = groupID (group player) 

units(grp) General V:NaN 0x123e355

Returns an array with all the units in the group.

C Func: 0x1320d80 ScriptInfo: 0x15fc7c4


player in units group player 

units(unit) General V:NaN 0x123e3f4

Returns an array with all the units in the group of the given object. For a destroyed object an empty array is returned.

C Func: 0x1320d80 ScriptInfo: 0x15fc7f0


player in units player 

crew(vehicle) General V:NaN 0x123e493

Returns all units mounted in the given vehicle. If the vehicle is not a vehicle, but person, a list containing only persons is returned.

C Func: 0x137737c ScriptInfo: 0x15fc81c


crew vehicle player 

flagOwner(flag, When used on a flag, the returned value is the person that has this flag. When used on anything else, objNull is returned.) General V:NaN 0x123e532

flagowner flagOne

C Func: 0x133d610 ScriptInfo: 0x15fc848

flag(unit) General V:NaN 0x123e5d1

If the unit has a flag, this flag is returned. If not, objNull is returned.

C Func: 0x1320088 ScriptInfo: 0x15fc874


flag player 

inflamed(fireplace) General V:1.04 0x123e670

Check if fireplace is inflamed (buring).

C Func: 0x13ac144 ScriptInfo: 0x15fc8a0


inflamed fireplaceOne 

lightIsOn(lamppost) General V:1.04 0x123e70f

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: 0x13ac058 ScriptInfo: 0x15fc8cc


lightIsOn nearestObject [player, "StreetLamp"] != "OFF" 

scudState(scud) General V:1.28 0x123e7ae

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: 0x133aea4 ScriptInfo: 0x15fc8f8


scudState scudOne>=4 

list(trigger) General V:NaN 0x123e84d

Returns a list of units that would activate the given trigger. For a trigger of type "Not present" the list is the same as the list that would be returned for type "Present".

C Func: 0x1320b98 ScriptInfo: 0x15fc924


list triggerOne 

side(unit) General V:NaN 0x123e8ec

Returns the side of the unit.

C Func: 0x12ff09c ScriptInfo: 0x15fc950


side player == west 

name(object) General V:NaN 0x123e98b

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: 0x12fce28 ScriptInfo: 0x15fc97c


name vehicle player 

nameSound(object) General V:NaN 0x123ea2a

Returns the nameSound of the variable assigned to the object in the mission editor.

C Func: 0x137d6f0 ScriptInfo: 0x15fc9a8


nameSound player 

face(object) General V:NaN 0x123eac9

Returns the face of the variable assigned to the object in the mission editor.

C Func: 0x1322328 ScriptInfo: 0x15fc9d4


face player 

speaker(object) General V:NaN 0x123eb68

Returns the speaker of the variable assigned to the object in the mission editor.

C Func: 0x1322318 ScriptInfo: 0x15fca00


speaker player 

pitch(object) General V:NaN 0x123ec07

Returns the pitch of the variable assigned to the object in the mission editor.

C Func: 0x1322310 ScriptInfo: 0x15fca2c


pitch player 

behaviour(unit) General V:NaN 0x123eca6

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

C Func: 0x12fd9d0 ScriptInfo: 0x15fca58


behaviour player 

combatMode(grp) General V:NaN 0x123ed45

Returns the combat mode of the given unit ("BLUE","GREEN","YELLOW" or "RED").

C Func: 0x132ddc0 ScriptInfo: 0x15fca84


combatMode group player 

formation(grp) General V:NaN 0x123ede4

Returns the formation of the group ("COLUMN", "STAG COLUMN", "WEDGE", "ECH LEFT", "ECH RIGHT", "VEE" or "LINE").

C Func: 0x13283c0 ScriptInfo: 0x15fcab0


formation group player 

speedMode(grp) General V:NaN 0x123ee83

Returns the speed mode of the group ("LIMITED", "NORMAL" or "FULL").

C Func: 0x13ab9f8 ScriptInfo: 0x15fcadc


speedMode group player 

titleCut(effect) General V:NaN 0x123ef22

Obsolete.

C Func: 0x13ab9ec ScriptInfo: 0x15fcb08

cutText(effect) General V:NaN 0x123efc1

Text background - the argument uses format ["text","type",speed, showInMap] 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: 0x13ab8c0 ScriptInfo: 0x15fcb34


cutText ["", "BLACK OUT"] 

cutRsc(effect) General V:NaN 0x123f060

Resource background - the argument uses format ["name","type",speed, showInMap] 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: 0x13ab7c8 ScriptInfo: 0x15fcb60


cutRsc ["binocular", "PLAIN"] 

cutObj(effect) General V:NaN 0x123f0ff

Object background - the argument uses format ["name","type",speed, showInMap] 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: 0x13ab6d4 ScriptInfo: 0x15fcb8c


cutObj ["TVSet", "plain"] 

titleText(effect) General V:NaN 0x123f19e

Text title - the argument uses format ["text","type",speed, showInMap] or ["text","type"]. If speed is not given, it's assumed to be one.

C Func: 0x13ab610 ScriptInfo: 0x15fcbb8


titleText ["Show this text", "PLAIN"] 

titleRsc(effect) General V:NaN 0x123f23d

Resource title - the argument uses format ["name","type",speed, showInMap] 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: 0x13ab524 ScriptInfo: 0x15fcbe4


titleRsc ["BIS", "PLAIN"] 

titleObj(effect) General V:NaN 0x123f2dc

Object title - the argument uses format ["text","type",speed, showInMap] 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: 0x13ab430 ScriptInfo: 0x15fcc10


titleObj ["BISLogo","plain"] 

titleFadeOut(duration, Terminate the title effect and set duration of the fade out phase to the given time.) General V:5126 0x123f37b

titleFadeIn 1.0

C Func: 0x13ab3b8 ScriptInfo: 0x15fcc3c

preloadTitleRsc(effect, 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.) General V:NaN 0x123f41a

titleRsc ["BIS", "PLAIN"]

C Func: 0x13ab2ec ScriptInfo: 0x15fcc68

preloadTitleObj(effect, 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.) General V:NaN 0x123f4b9

titleObj ["BISLogo","plain"]

C Func: 0x13ab224 ScriptInfo: 0x15fcc94

playSound(name) General V:NaN 0x123f558

Plays a sound defined in the description.ext file.

C Func: 0x13ab1cc ScriptInfo: 0x15fccc0


playSound "soundname" 

playSound(name, enable / disable sound volume accomodation) General V:NaN 0x123f5f7

Plays a sound defined in the description.ext file. Accomodation set to false disable sound volume changes.

C Func: 0x13ab1cc ScriptInfo: 0x15fccec


playSound ["soundname", false] 

playMusic(name) General V:NaN 0x123f696

Plays music defined in the description.ext file.

C Func: 0x13ab0b4 ScriptInfo: 0x15fcd18


playMusic "musicname" 

playMusic(nameAndPos) General V:NaN 0x123f735

Plays music defined in the description.ext file. The format of nameAndPos is [name,position]. Position is in seconds.

C Func: 0x13ab0b4 ScriptInfo: 0x15fcd44


playMusic ["Track13", 30] 

locked(unit) General V:NaN 0x123f7d4

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: 0x13201a8 ScriptInfo: 0x15fcd70


locked jeepOne 

stopped(unit) General V:NaN 0x123f873

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

C Func: 0x1341448 ScriptInfo: 0x15fcd9c


stopped jeepOne 

captive(unit) General V:NaN 0x123f912

Checks whether the unit is a captive. If the unit is a vehicle, its commander is checked instead.

C Func: 0x1328480 ScriptInfo: 0x15fcdc8


captive player 

captiveNum(unit, Checks whether the unit is a captive. If the unit is a vehicle, its commander is checked instead.) General V:NaN 0x123f9b1

captive player

C Func: 0x13aae74 ScriptInfo: 0x15fcdf4

unassignVehicle(unit) General V:NaN 0x123fa50

The person is unassigned from the vehicle. If he is currently inside, the group leader will issue an order to disembark.

C Func: 0x13aadd0 ScriptInfo: 0x15fce20


unassignVehicle player 

removeAllWeapons(unit) General V:NaN 0x123faef

Removes all weapons from the unit.

C Func: 0x13aad80 ScriptInfo: 0x15fce4c


removeAllWeapons player 

removeAllActions(unit) General V:NaN 0x123fb8e

Removes the action with the given id.

C Func: 0x13aad2c ScriptInfo: 0x15fce78


removeAllActions player 

removeAllContainers(unit) General V:NaN 0x123fc2d

Removes all containers from the unit.

C Func: 0x13aacd4 ScriptInfo: 0x15fcea4


removeAllContainers player 

clearBackpackCargo(box) General V:NaN 0x123fccc

Removes all backpacks from ammo box (or any general weapon holder container).

C Func: 0x13aac54 ScriptInfo: 0x15fced0


clearBackpackCargo jeepOne 

clearWeaponCargo(unit) General V:NaN 0x123fd6b

Removes all weapons from the vehicle cargo space.

C Func: 0x13aabf0 ScriptInfo: 0x15fcefc


clearWeaponCargo jeepOne 

clearMagazineCargo(unit) General V:NaN 0x123fe0a

Removes all magazines from the vehicle cargo space.

C Func: 0x13aab8c ScriptInfo: 0x15fcf28


clearMagazineCargo jeepOne 

clearItemCargo(box) General V:NaN 0x123fea9

Removes all items from ammo box (or any general weapon holder container).

C Func: 0x13aab14 ScriptInfo: 0x15fcf54


clearItemCargo jeepOne 

clearWeaponCargoGlobal(unit) General V:NaN 0x123ff48

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

C Func: 0x13aaa94 ScriptInfo: 0x15fcf80


clearWeaponCargoGlobal jeepOne 

clearMagazineCargoGlobal(unit) General V:NaN 0x123ffe7

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

C Func: 0x13aaa08 ScriptInfo: 0x15fcfac


clearMagazineCargoGlobal jeepOne 

clearBackpackCargoGlobal(unit, Removes all magazines from the vehicle cargo space. MP synchronized.) General V:NaN 0x1240086

clearMagazineCargoGlobal jeepOne

C Func: 0x13aa9ec ScriptInfo: 0x15fcfd8

clearItemCargoGlobal(box) General V:NaN 0x1240125

Removes all items from ammo box (or any general weapon holder container).

C Func: 0x13aa9b4 ScriptInfo: 0x15fd004


clearItemCargoGlobal jeepOne 

clearAllItemsFromBackpack(unit) General V:NaN 0x12401c4

Removes all items from the backpack.

C Func: 0x13aa970 ScriptInfo: 0x15fd030

getWeaponCargo(box) General V:NaN 0x1240263

Returns all weapons names and count from ammo box (or any general weapon holder container).

C Func: 0x13aa8e4 ScriptInfo: 0x15fd05c


getWeaponCargo jeepOne 

getMagazineCargo(box) General V:NaN 0x1240302

Returns all magazines names and count from ammo box (or any general weapon holder container).

C Func: 0x13aa854 ScriptInfo: 0x15fd088


getMagazineCargo jeepOne 

getItemCargo(box) General V:NaN 0x12403a1

Returns all items names and count from ammo box (or any general weapon holder container).

C Func: 0x13aa7cc ScriptInfo: 0x15fd0b4


getItemCargo jeepOne 

getBackpackCargo(box) General V:NaN 0x1240440

Returns all backpacks names and count from ammo box (or any general weapon holder container).

C Func: 0x13aa738 ScriptInfo: 0x15fd0e0


getBackpackCargo jeepOne 

deleteVehicle(object) General V:1.34 0x12404df

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: 0x13aa674 ScriptInfo: 0x15fd10c


deleteVehicle tank 

deleteSite(site) General V:1.34 0x124057e

Removes the site.

C Func: 0x13aa644 ScriptInfo: 0x15fd138


deleteSite tank 

removeAllAssignedItems(unit) General V:5501 0x124061d

Removes all linked items from gear (map, compass, headgear, goggles etc.).

C Func: 0x13aa5e0 ScriptInfo: 0x15fd164

removeBackpack(unit) General V:5501 0x12406bc

Remove backpack from unit.

C Func: 0x13aa59c ScriptInfo: 0x15fd190


removeBackpack player 

removeUniform(unit, Remove uniform from unit.) General V:5501 0x124075b

removeBackpack player

C Func: 0x13aa570 ScriptInfo: 0x15fd1bc

removeVest(unit, Remove vest from unit.) General V:5501 0x12407fa

removeBackpack player

C Func: 0x13aa54c ScriptInfo: 0x15fd1e8

removeHeadgear(unit, Remove headgear from unit.) General V:5501 0x1240899

removeBackpack player

C Func: 0x13aa520 ScriptInfo: 0x15fd214

removeGoggles(unit, Remove goggles from unit.) General V:5501 0x1240938

removeBackpack player

C Func: 0x13aa4f4 ScriptInfo: 0x15fd240

showMap(show) General V:NaN 0x12409d7

Enables the map (the default is true).

C Func: 0x132e3f4 ScriptInfo: 0x15fd26c


showMap true 

showWatch(show) General V:NaN 0x1240a76

Enables the watch (the default is true).

C Func: 0x132e3e8 ScriptInfo: 0x15fd298

showCompass(show) General V:NaN 0x1240b15

Enables the compass (the default is true).

C Func: 0x132e3dc ScriptInfo: 0x15fd2c4

setCompassOscillation([angle, frequencyMin, frequencyMax]) General V:NaN 0x1240bb4

Set Compass Oscilation.

C Func: 0x13aa410 ScriptInfo: 0x15fd2f0

showRadio(show) General V:NaN 0x1240c53

Enables the radio (the default is false).

C Func: 0x13aa3d8 ScriptInfo: 0x15fd31c

showPad(show) General V:NaN 0x1240cf2

Enables the notepad (the default is true).

C Func: 0x13aa3a4 ScriptInfo: 0x15fd348

showWarrant(show) General V:NaN 0x1240d91

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

C Func: 0x13aa360 ScriptInfo: 0x15fd374

showGps(show) General V:NaN 0x1240e30

Enables the GPS receiver (the default is false).

C Func: 0x13aa324 ScriptInfo: 0x15fd3a0

enableRadio(enable) General V:NaN 0x1240ecf

Enables radio transmissions to be heard and seen on screen.

C Func: 0x137d450 ScriptInfo: 0x15fd3cc

enableSentences(enable) General V:NaN 0x1240f6e

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

C Func: 0x13922f4 ScriptInfo: 0x15fd3f8

showCinemaBorder(show) General V:NaN 0x124100d

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

C Func: 0x13aa1fc ScriptInfo: 0x15fd424

disableUserInput(disable) General V:NaN 0x12410ac

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

C Func: 0x13aa17c ScriptInfo: 0x15fd450

publicVariable(varName) General V:1.34 0x124114b

Broadcasts the variable value to all computers. 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: 0x13aa064 ScriptInfo: 0x15fd47c


publicVariable "CTFscoreOne" 

hint(text) General V:NaN 0x12411ea

Shows a text hint. The text can contain several lines. \n is used to indicate the end of a line.

C Func: 0x1322794 ScriptInfo: 0x15fd4a8


hint "Press W to move forward" 

hintCadet(text) General V:NaN 0x1241289

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: 0x13a9f30 ScriptInfo: 0x15fd4d4


hintCadet "Press W to move forward" 

hintC(text) General V:NaN 0x1241328

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: 0x13a9e88 ScriptInfo: 0x15fd500


hintC "Press W to move forward" 

taskHint(text) General V:NaN 0x12413c7

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: 0x13a9de0 ScriptInfo: 0x15fd52c


taskHint "Capture town." 

format(format, 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., format ["%1 - %2 - %1", 1, "text"]) General V:NaN 0x1241466

"1 - text - 1"

C Func: 0x1391844 ScriptInfo: 0x15fd558

localize(stringName) General V:NaN 0x1241505

Replaces the string with the given name with the corresponding localized text from the stringtable.csv file.

C Func: 0x13a9c1c ScriptInfo: 0x15fd584


localize "STR_DN_FROG" 

skipTime(duration) General V:NaN 0x12415a4

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: 0x13a9b74 ScriptInfo: 0x15fd5b0


skipTime 2.5 

setViewDistance(distance, Sets the rendering distance. Default is 900 meters. The accepted range is from 500 to 5000 meters.) General V:NaN 0x1241643

setviewdistance 2000

C Func: 0x13a9ae4 ScriptInfo: 0x15fd5dc

setTerrainGrid(grid) General V:1.75 0x12416e2

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: 0x13a99d8 ScriptInfo: 0x15fd608


setTerrainGrid 12.5 

setObjectViewDistance(distance, Sets the rendering distance of objects.) General V:NaN 0x1241781

setobjectviewdistance 2000

C Func: 0x13a997c ScriptInfo: 0x15fd634

setObjectViewDistance([vehiclesZ, staticZ, treesZ], Sets the rendering distance of objects.) General V:NaN 0x1241820

setobjectviewdistance 2000

C Func: 0x13a997c ScriptInfo: 0x15fd660

goto(label) General V:NaN 0x12418bf

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: 0x13a98c0 ScriptInfo: 0x15fd68c


goto "Loop" 

textLog(anything) General V:NaN 0x124195e

Dumps the argument value into the debugging output.

C Func: 0x13a9868 ScriptInfo: 0x15fd6b8


textLog player 

debugLog(anything) General V:NaN 0x12419fd

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

C Func: 0x13a980c ScriptInfo: 0x15fd6e4


debugLog player 

camDestroy(camera) General V:NaN 0x1241a9c

Destroys the camera.

C Func: 0x13a97e8 ScriptInfo: 0x15fd710

camCommitted(camera) General V:NaN 0x1241b3b

Checks whether the camera has finished committing.

C Func: 0x13a978c ScriptInfo: 0x15fd73c


camCommitted _camera 

camPreloaded(camera) General V:2.92 0x1241bda

Checks whether the camera has finished preloading.

C Func: 0x13a9730 ScriptInfo: 0x15fd768


camPreloaded _camera 

camTarget(camera) General V:5501 0x1241c79

Returns camera's target.

C Func: 0x13a96f4 ScriptInfo: 0x15fd794


camTarget _camera 

unitReady(unit) General V:NaN 0x1241d18

Checks whether the unit is ready. A unit is busy when it's given an order like "move", until the command is finished.

C Func: 0x13a9658 ScriptInfo: 0x15fd7c0


unitReady player 

saveVar(varName) General V:NaN 0x1241db7

Saves the variable value into the global campaign space. The variable is then available to all following missions in the campaign.

C Func: 0x13a95b4 ScriptInfo: 0x15fd7ec


saveVar "varOne" 

setAccTime(accFactor) General V:NaN 0x1241e56

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

C Func: 0x13a9530 ScriptInfo: 0x15fd818


setAccTime 0.1 

forceMap(show) General V:1.27 0x1241ef5

Forces the map to display.

C Func: 0x13a94f8 ScriptInfo: 0x15fd844


forceMap true 

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

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

C Func: 0x13a949c ScriptInfo: 0x15fd870


openMap [true,true] 

openMap(show) General V:5501 0x1242033

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

C Func: 0x13a949c ScriptInfo: 0x15fd89c


openMap true 

mapAnimAdd(frame) General V:1.27 0x12420d2

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

C Func: 0x13a93c0 ScriptInfo: 0x15fd8c8


mapAnimAdd [1, 0.1, getMarkerPos "anim1"] 

estimatedTimeLeft(timeLeft) General V:1.34 0x1242171

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: 0x13a9260 ScriptInfo: 0x15fd8f4


estimatedTimeLeft Param1 

loadFile(filename, Returns the content of the given file., loadFile "myFunction.sqf") General V:1.82 0x1242210

"if a>b then {a} else {b}"

C Func: 0x13a91ec ScriptInfo: 0x15fd920

preprocessFile(filename, Returns the preprocessed content of the given file. The preprocessor is C-like, it supports comments using // or /* and */ and macros defined with #define., preprocessFile "myFunction.sqf") General V:1.82 0x12422af

"if a>b then {a} else {b}"

C Func: 0x13a9120 ScriptInfo: 0x15fd94c

playersNumber(side) General V:1.80 0x124234e

Returns the number of players playing on the given side.

C Func: 0x13a90d4 ScriptInfo: 0x15fd978

playableSlotsNumber(side) General V:NaN 0x12423ed

Returns the number of available slots in mission per side (both empty and taken). In singleplayer mission, it returns number of playable units per side.

C Func: 0x13a9020 ScriptInfo: 0x15fd9a4

isEngineOn(vehicle) General V:1.90 0x124248c

Checks whether the engine is on.

C Func: 0x13a8fc8 ScriptInfo: 0x15fd9d0


on = isEngineOn vehicle player 

commandStop(unit) General V:NaN 0x124252b

Orders the unit to stop (via the radio). Note: the stop command is never finished; the unit will never be ready.

C Func: 0x13a8f30 ScriptInfo: 0x15fd9fc


commandStop unitOne 

doStop(unit) General V:NaN 0x12425ca

Orders the unit to stop (silently). Note: the stop command is never finished; the unit will never be ready.

C Func: 0x13a8ea8 ScriptInfo: 0x15fda28


doStop unitOne 

commandGetOut(unit) General V:2.28 0x1242669

Orders the unit to get out from the vehicle (via the radio).

C Func: 0x13a8e38 ScriptInfo: 0x15fda54


commandGetOut unitOne 

doGetOut(unit) General V:2.28 0x1242708

Orders a unit to get out from the vehicle (silently).

C Func: 0x13a8de0 ScriptInfo: 0x15fda80


doGetOut unitOne 

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

Sets the actual mission date and time.

C Func: 0x13a8d8c ScriptInfo: 0x15fdaac

createCenter(side) General V:1.86 0x1242846

Creates a new AI center for the given side.

C Func: 0x13a8d34 ScriptInfo: 0x15fdad8


center = createCenter East 

deleteCenter(side) General V:1.86 0x12428e5

Destroys the AI center of the given side.

C Func: 0x13a8ce4 ScriptInfo: 0x15fdb04


deleteCenter East 

createGroup(side) General V:1.86 0x1242984

Creates a new AI group for the given center (side).

C Func: 0x13a8c88 ScriptInfo: 0x15fdb30


group = createGroup East 

deleteGroup(group) General V:NaN 0x1242a23

Destroys the given AI group.

C Func: 0x13a8c48 ScriptInfo: 0x15fdb5c


deleteGroup group 

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

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: 0x13a8b60 ScriptInfo: 0x15fdb88


marker = createMarker [Marker1, position player] 

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

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: 0x13a8a7c ScriptInfo: 0x15fdbb4


marker = createMarkerLocal [Marker1, position player] 

deleteMarker(name) General V:NaN 0x1242c00

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

C Func: 0x13a89f4 ScriptInfo: 0x15fdbe0


deleteMarker "Marker1" 

deleteMarkerLocal(name) General V:2.92 0x1242c9f

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

C Func: 0x13a8958 ScriptInfo: 0x15fdc0c


deleteMarkerLocal "Marker1" 

createTrigger([type, position]) General V:1.86 0x1242d3e

Creates a new trigger on the given position. An object of the given type is created; this type must be a class name in CfgNonAIVehicles or CfgVehicles with simulation=detector.

C Func: 0x13a8844 ScriptInfo: 0x15fdc38


trigger = createTrigger["EmptyDetector", position player] 

createGuardedPoint([side, position, idStatic, vehicle]) General V:1.86 0x1242ddd

Adds a point guarded by the given side. If idStatic is not negative, the position of a static object with the given id is guarded. If the given vehicle is valid, the starting position of the vehicle is guarded, otherwise the given position is guarded.

C Func: 0x13a86cc ScriptInfo: 0x15fdc64


point = createGuardedPoint [East, [0, 0], -1, vehicle player] 

deleteWaypoint(waypoint) General V:1.86 0x1242e7c

Removes the waypoint.

C Func: 0x13a868c ScriptInfo: 0x15fdc90


deleteWaypoint [grp, 2] 

typeOf(object, Returns the name of the type of the given object., typeOf player) General V:1.91 0x1242f1b

"SoldierWB"

C Func: 0x13a862c ScriptInfo: 0x15fdcbc

keyName(dikCode, Returns the name of a button (on the keyboard, mouse or joystick) with the given code., name = keyName 28) General V:2.01 0x1242fba

"Enter"

C Func: 0x13224e4 ScriptInfo: 0x15fdce8

keyImage(dikCode, 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., name = keyImage 28) General V:2.01 0x1243059

"Enter"

C Func: 0x13a84f0 ScriptInfo: 0x15fdd14

actionKeys(action) General V:2.01 0x12430f8

Returns a list of dikCodes of buttons assigned to the given user action.

C Func: 0x13a8470 ScriptInfo: 0x15fdd40


array = actionKeys "ReloadMagazine" 

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

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: 0x13a8370 ScriptInfo: 0x15fdd6c


list = actionKeysNames "ReloadMagazine" 

actionKeysNamesArray(action or [action, maxKeys], 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.) General V:2.01 0x1243236

list = actionKeysNames "ReloadMagazine"

C Func: 0x13a8358 ScriptInfo: 0x15fdd98

actionName(action) General V:2.01 0x12432d5

Returns localized name of action.

C Func: 0x131ace8 ScriptInfo: 0x15fddc4


name = actionName "ReloadMagazine" 

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

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: 0x13a8218 ScriptInfo: 0x15fddf0


text = actionKeysImages "ReloadMagazine" 

image(filename) General V:2.01 0x1243413

Creates a structured text containing the given image.

C Func: 0x131a9fc ScriptInfo: 0x15fde1c


txt1 = image "data\isniper.paa" 

text(text) General V:2.01 0x12434b2

Creates a structured text containing the given plain text.

C Func: 0x130106c ScriptInfo: 0x15fde48


txt2 = text "Hello world." 

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

Creates a structured text by joining the given structured or plain texts.

C Func: 0x13a80a0 ScriptInfo: 0x15fde74


txt = composeText ["First line", image "data\isniper.paa", lineBreak, "Second line"] 

parseText(text) General V:2.01 0x12435f0

Creates a structured text by parsing the given XML description.

C Func: 0x13a7ffc ScriptInfo: 0x15fdea0


txt = parseText "First line<img image=data\isniper.paa/><br/>Second line" 

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

Creates a structured text by replacing %1, %2, etc. in format by plain or structured texts given as arguments.

C Func: 0x13a7f28 ScriptInfo: 0x15fdecc


txt = formatText ["Image: %1", image "data\isniper.paa"] 

unassignTeam(vehicle) General V:2.05 0x124372e

Unassigns the vehicle (its commander unit) from his team. This is equal to vehicle assignTeam "MAIN".

C Func: 0x13a7e8c ScriptInfo: 0x15fdef8


unassignTeam soldier2 

assignedTeam(vehicle, Checks which team does the vehicle (its commander unit) belong to., assignedTeam soldier2) General V:2.05 0x12437cd

MAIN

C Func: 0x13a7e14 ScriptInfo: 0x15fdf24

dissolveTeam(team) General V:2.05 0x124386c

Dissolves the given team. All members become members of the main team. Possible team values are: "RED", "GREEN", "BLUE" or "YELLOW".

C Func: 0x13a7d64 ScriptInfo: 0x15fdf50


dissolveTeam "RED" 

activateKey(keyName) General V:2.06 0x124390b

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: 0x13a7c80 ScriptInfo: 0x15fdf7c


activateKey "M04" 

deActivateKey(keyName) General V:93436 0x12439aa

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: 0x13a7b94 ScriptInfo: 0x15fdfa8


deActivateKey "M04" 

isKeyActive(keyName) General V:2.06 0x1243a49

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

C Func: 0x13a7b28 ScriptInfo: 0x15fdfd4


ok = isKeyActive "M04" 

hideBody(person) General V:2.10 0x1243ae8

Hides the body of the given person.

C Func: 0x136a050 ScriptInfo: 0x15fe000


hideBody player 

isMarkedForCollection(object) General V:2.13 0x1243b87

Checks whether the object is marked for weapons collection.

C Func: 0x13a7a68 ScriptInfo: 0x15fe02c


marked = isMarkedForCollection truck 

serverCommand(server command) General V:NaN 0x1243c26

Process the specified server command. The Server command string is identical to that used in chat line in MP.

C Func: 0x13a79ac ScriptInfo: 0x15fe058


serverCommand "#kick friendlykiller" 

serverCommandAvailable(server command) General V:NaN 0x1243cc5

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

C Func: 0x13a7908 ScriptInfo: 0x15fe084


serverCommandAvailable "#kick" 

setPlayerRespawnTime(time interval) General V:1.57 0x1243d64

Set the time interval to wait on player respawn. It is set to mission default on mission start again.

C Func: 0x13a786c ScriptInfo: 0x15fe0b0

forceRespawn(targetUnit) General V:NaN 0x1243e03

Force respawns given unit (stays old "killed" body). Will not count score

C Func: 0x13a7804 ScriptInfo: 0x15fe0dc

setShadowDistance(newDistance, Sets the shadows rendering distance., setShadowDistance 1000) General V:NaN 0x1243ea2

TOH 80934

C Func: 0x13a77a4 ScriptInfo: 0x15fe108

setDetailMapBlendPars([fullDetail, noDetail], Sets the detail texture map blend pars., setDetailMapBlendPars [20, 50]) General V:NaN 0x1243f41

TOH 81984

C Func: 0x13a7720 ScriptInfo: 0x15fe134

preloadSound(sound) General V:2.50 0x1243fe0

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

C Func: 0x13a76c0 ScriptInfo: 0x15fe160

preloadCamera(position) General V:2.50 0x124407f

Preload all textures and models around given position

C Func: 0x13a7678 ScriptInfo: 0x15fe18c

scriptDone(script) General V:2.50 0x124411e

Check if script is already finished

C Func: 0x13a7648 ScriptInfo: 0x15fe1b8

terminate(script) General V:2.50 0x12441bd

Terminate (abort) the script

C Func: 0x135e4f8 ScriptInfo: 0x15fe1e4

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

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

C Func: 0x13a7588 ScriptInfo: 0x15fe210


activateAddons ["BISOFP"] 

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

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: 0x13a73e0 ScriptInfo: 0x15fe23c


mine = createMine ["MineMine", position player, [], 0] 

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

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: 0x13a7238 ScriptInfo: 0x15fe268


soundSource = createSoundSource ["LittleDog", position player, [], 0] 

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

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: 0x13a7044 ScriptInfo: 0x15fe294


veh = createVehicle ["Cobra", position player, [], 0, "FLY"] 

selectPlayer(unit) General V:2.33 0x12444d8

Switch player to given unit.

C Func: 0x13a7004 ScriptInfo: 0x15fe2c0


selectPlayer aP 

setPlayable(unit) General V:2.92 0x1244577

Create MP role for the unit.

C Func: 0x13a6fc8 ScriptInfo: 0x15fe2ec


setPlayable aP 

cameraInterest(entity) General V:2.57 0x1244616

Return camera interest for given entity.

C Func: 0x137ca6c ScriptInfo: 0x15fe318

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

Returns whether water is on given position.

C Func: 0x13a6f48 ScriptInfo: 0x15fe344

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

Returns what surface is on given position.

C Func: 0x13a6f10 ScriptInfo: 0x15fe370

surfaceNormal([x, y]) General V:86233 0x12447f3

Returns surface normal on given position.

C Func: 0x13a6ecc ScriptInfo: 0x15fe39c

lightDetachObject(light) General V:2.58 0x1244892

Detach light from object.

C Func: 0x13a6e9c ScriptInfo: 0x15fe3c8

preprocessFileLineNumbers(filename, Returns the preprocessed content of the given file. The preprocessor is C-like, it supports comments using // or /* and */ and macros defined with #define., preprocessFileLineNumbers "myFunction.sqf") General V:2.58 0x1244931

"if a>b then {a} else {b}"

C Func: 0x13a6e54 ScriptInfo: 0x15fe3f4

sleep(delay) General V:2.60 0x12449d0

Suspend execution of script for given time.

C Func: 0x1397330 ScriptInfo: 0x15fe420


sleep 0.5 

uisleep(delay) General V:5501 0x1244a6f

Suspend execution of script for given uitime.

C Func: 0x1397338 ScriptInfo: 0x15fe44c


uisleep 0.5 

vectorUp(obj) General V:2.61 0x1244b0e

Return object's up vector in world coordinates as [x, z, y].

C Func: 0x13a6d84 ScriptInfo: 0x15fe478

vectorDir(obj) General V:2.61 0x1244bad

Return object's direction vector in world coordinates as [x, z, y].

C Func: 0x13a6d30 ScriptInfo: 0x15fe4a4

moveToCompleted(person) General V:2.62 0x1244c4c

Check if latest low level moveTo command is finished.

C Func: 0x13a6ce8 ScriptInfo: 0x15fe4d0

moveToFailed(person) General V:2.92 0x1244ceb

Check if latest low level moveTo command failed.

C Func: 0x13a6ca4 ScriptInfo: 0x15fe4fc

camUseNVG(set) General V:2.73 0x1244d8a

Set / clear using of night vision during cutscenes.

C Func: 0x13a6c64 ScriptInfo: 0x15fe528

setAperture(set) General V:2.73 0x1244e29

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

C Func: 0x13a6c1c ScriptInfo: 0x15fe554

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

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: 0x13a6a4c ScriptInfo: 0x15fe580


agent = createAgent ["SoldierWB", position player, [], 0, "FORM"] 

deleteCollection(object) General V:2.90 0x1244f67

same as hideObject.

C Func: 0x13a6a24 ScriptInfo: 0x15fe5ac

hideObject(object) General V:2.90 0x1245006

Hide object (cannot hide static objects).

C Func: 0x13a69ec ScriptInfo: 0x15fe5d8

verifySignature(filename) General V:2.91 0x12450a5

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: 0x13a694c ScriptInfo: 0x15fe604

vehicleVarName(object) General V:2.91 0x1245144

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

C Func: 0x13a68ec ScriptInfo: 0x15fe630

inGameUISetEventHandler([handler name, function]) General V:2.91 0x12451e3

Sets given event handler of in-game UI.

C Func: 0x13a6890 ScriptInfo: 0x15fe65c

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

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

C Func: 0x13a6820 ScriptInfo: 0x15fe688


setMousePosition [0.5, 0.5] 

isPlayer(person) General V:2.92 0x1245321

Check if given person is the player.

C Func: 0x13a67ec ScriptInfo: 0x15fe6b4

precision() General V:2.92 0x12453c0

entity

C Func: 0x137d5ec ScriptInfo: 0x15fe6e0


Return the precision of the given entity. 

rank() General V:2.92 0x124545f

unit

C Func: 0x132147c ScriptInfo: 0x15fe70c


Return the rank of the given unit. 

rankId(unit) General V:5500 0x12454fe

Return the rank of the given unit for comparison.

C Func: 0x13a6760 ScriptInfo: 0x15fe738

nearestObjects(pos) General V:2.92 0x124559d

Returns a list of nearest objects of the given types to the given position or object, within the specified distance. Pos may be using format [x,y,z, ["type",...], limit] or [object, ["type",...], limit].

C Func: 0x13a6650 ScriptInfo: 0x15fe764


nearestObjects [player, ["Car","Tank"], 200] 

boundingBox(object) General V:2.92 0x124563c

Returns a bounding box of given object in model coordinates space with size adjusted according to animation and destruction. The result is in format [[minX, minZ, minY], [maxX, maxZ, maxY]].

C Func: 0x13a6584 ScriptInfo: 0x15fe790

boundingCenter(object) General V:5501 0x12456db

Returns the position of original (loaded) center of object in model coordinates. The result is in format [x, z, y]

C Func: 0x13a64fc ScriptInfo: 0x15fe7bc

addSwitchableUnit(person) General V:2.92 0x124577a

Add a unit into the list of units available for team switch.

C Func: 0x13a64a8 ScriptInfo: 0x15fe7e8

removeSwitchableUnit(person) General V:2.92 0x1245819

Remove a unit from the list of units available for team switch.

C Func: 0x13a6450 ScriptInfo: 0x15fe814

enableTeamSwitch(enable) General V:2.92 0x12458b8

Enable / disable team switch.

C Func: 0x132c6f8 ScriptInfo: 0x15fe840

expectedDestination(person) General V:2.92 0x1245957

Return expected destination of unit as a [position, planningMode, forceReplan].

C Func: 0x13a63c8 ScriptInfo: 0x15fe86c

formationPosition(person) General V:2.92 0x12459f6

Return position of unit in the formation.

C Func: 0x13a6388 ScriptInfo: 0x15fe898

animationState(man) General V:2.92 0x1245a95

Return the name of the current primary animation.

C Func: 0x13a6340 ScriptInfo: 0x15fe8c4

isFormationLeader(person) General V:2.92 0x1245b34

Returns true if the specified person is subgroup leader.

C Func: 0x13a62f0 ScriptInfo: 0x15fe8f0

formationMembers(person) General V:2.92 0x1245bd3

Return list of units (drivers) in the formation.

C Func: 0x13a62a8 ScriptInfo: 0x15fe91c

formationLeader(person) General V:2.92 0x1245c72

Return leader of the formation.

C Func: 0x13690b8 ScriptInfo: 0x15fe948

formationTask(person) General V:2.92 0x1245d11

Return the current task of the unit in the formation.

C Func: 0x13a6240 ScriptInfo: 0x15fe974

unitPos(person) General V:2.92 0x1245db0

Return the unit position rules.

C Func: 0x13a6218 ScriptInfo: 0x15fe9a0

checkAIFeature(feature) General V:60220 0x1245e4f

Check if given AI feature is currently enabled.

C Func: 0x13a61c8 ScriptInfo: 0x15fe9cc

formationDirection(person) General V:2.92 0x1245eee

Return the direction unit watching in formation.

C Func: 0x13a6180 ScriptInfo: 0x15fe9f8

effectiveCommander(vehicle) General V:2.92 0x1245f8d

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

C Func: 0x13a6124 ScriptInfo: 0x15fea24

reloadEnabled(vehicle) General V:2.92 0x124602c

Check whether magazine is reloaded whenever emptied.

C Func: 0x13a60dc ScriptInfo: 0x15fea50

needReload(vehicle) General V:2.92 0x12460cb

Return how much vehicle wants to reload its weapons.

C Func: 0x13a6098 ScriptInfo: 0x15fea7c

reload(vehicle) General V:2.92 0x124616a

Reload all weapons.

C Func: 0x13202dc ScriptInfo: 0x15feaa8

isHidden(person) General V:2.92 0x1246209

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

C Func: 0x13a6030 ScriptInfo: 0x15fead4

currentCommand(vehicle) General V:2.92 0x12462a8

Return the current command type (empty string when no command).

C Func: 0x13a5fe0 ScriptInfo: 0x15feb00

assignedTarget(vehicle) General V:2.92 0x1246347

Return the target assigned to the vehicle.

C Func: 0x13a5fa4 ScriptInfo: 0x15feb2c

attackEnabled(group) General V:2.92 0x12463e6

Return whether leader can issue attack commands.

C Func: 0x13a5f60 ScriptInfo: 0x15feb58

difficultyEnabled(flag) General V:5127 0x1246485

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

C Func: 0x13a5ec4 ScriptInfo: 0x15feb84

waypoints() General V:5129 0x1246524

group

C Func: 0x13a5e88 ScriptInfo: 0x15febb0


Return the list of waypoints for given group. 

assignedVehicle(person) General V:5130 0x12465c3

Return the vehicle person is assigned to.

C Func: 0x133d594 ScriptInfo: 0x15febdc

assignedVehicleRole(person) General V:5130 0x1246662

Return the position in vehicle person is assigned to.

C Func: 0x13a5e08 ScriptInfo: 0x15fec08

sizeOf(typeName) General V:5160 0x1246701

Return the size of the entity of given type.

C Func: 0x13a5dd0 ScriptInfo: 0x15fec34

selectBestPlaces([_position, _radius, _expression, _precision, _sourcesCount]) General V:5500 0x12467a0

Find the places with the max. value of _expression in the given area.

C Func: 0x13a5d34 ScriptInfo: 0x15fec60

execFSM(filename) General V:5500 0x124683f

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: 0x13a5c50 ScriptInfo: 0x15fec8c


execFSM "test.fsm" 

completedFSM(FSM handle) General V:5500 0x12468de

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

C Func: 0x13a5bc8 ScriptInfo: 0x15fecb8

waypointType(waypoint) General V:5500 0x124697d

Gets the waypoint type.

C Func: 0x13a5b84 ScriptInfo: 0x15fece4


waypointType [groupOne, 1] 

waypointName(waypoint) General V:98979 0x1246a1c

Gets the waypoint name.

C Func: 0x13a5b38 ScriptInfo: 0x15fed10


waypointName [groupOne, 1] 

waypointDescription(waypoint) General V:5500 0x1246abb

Gets the waypoint description.

C Func: 0x13a5ae0 ScriptInfo: 0x15fed3c


waypointDescription [groupOne, 1] 

waypointCombatMode(waypoint) General V:5500 0x1246b5a

Gets the waypoint combat mode.

C Func: 0x13a5a88 ScriptInfo: 0x15fed68


waypointCombatMode [groupOne, 1] 

waypointFormation(waypoint) General V:5500 0x1246bf9

Gets the waypoint formation.

C Func: 0x13a5a34 ScriptInfo: 0x15fed94


waypointFormation [groupOne, 1] 

waypointSpeed(waypoint) General V:5500 0x1246c98

Gets the waypoint speed.

C Func: 0x13a59ec ScriptInfo: 0x15fedc0


waypointSpeed [groupOne, 1] 

waypointBehaviour(waypoint) General V:5500 0x1246d37

Gets the waypoint behavior.

C Func: 0x13a599c ScriptInfo: 0x15fedec


waypointBehaviour [groupOne, 1] 

waypointStatements(waypoint) General V:5500 0x1246dd6

Gets the waypoint statements.

C Func: 0x13a5944 ScriptInfo: 0x15fee18


waypointStatements [groupOne, 1] 

waypointScript(waypoint) General V:5500 0x1246e75

Gets the waypoint script.

C Func: 0x13a58f8 ScriptInfo: 0x15fee44


waypointScript [groupOne, 1] 

waypointTimeout(waypoint) General V:5500 0x1246f14

Gets the waypoint timeout values.

C Func: 0x13a58a4 ScriptInfo: 0x15fee70


waypointTimeout [groupOne, 1] 

waypointShow(waypoint) General V:5500 0x1246fb3

Gets the waypoint show/hide status.

C Func: 0x13a5854 ScriptInfo: 0x15fee9c


waypointShow [groupOne, 1] 

waypointAttachedVehicle(waypoint) General V:5500 0x1247052

Gets the vehicle attached to the waypoint.

C Func: 0x13a57e8 ScriptInfo: 0x15feec8


waypointAttachedVehicle [groupOne, 1] 

waypointAttachedObject(waypoint) General V:5500 0x12470f1

Gets the object attached to the waypoint.

C Func: 0x13a577c ScriptInfo: 0x15feef4


waypointAttachedObject [groupOne, 1] 

waypointHousePosition(waypoint) General V:5500 0x1247190

Gets the house position assigned to the waypoint.

C Func: 0x13a570c ScriptInfo: 0x15fef20


waypointHousePosition [groupOne, 1] 

waypointCompletionRadius(waypoint) General V:5500 0x124722f

Gets the radius around the waypoint where is the waypoint completed.

C Func: 0x13a5674 ScriptInfo: 0x15fef4c


_radius = waypointCompletionRadius [groupOne, 1] 

waypointVisible(waypoint) General V:5500 0x12472ce

Gets waypoint visibility.

C Func: 0x13a5620 ScriptInfo: 0x15fef78


visible = waypointVisible [groupOne, 1] 

roadsConnectedTo(road segment) General V:5500 0x124736d

Find the road segments connected to the given road segment.

C Func: 0x13a55c0 ScriptInfo: 0x15fefa4

currentWeapon(vehicle) General V:5500 0x124740c

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

C Func: 0x137a38c ScriptInfo: 0x15fefd0

currentMagazine(vehicle) General V:5500 0x12474ab

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

C Func: 0x13a54f0 ScriptInfo: 0x15feffc

currentMagazineDetail(vehicle) General V:5500 0x124754a

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

C Func: 0x13a54d8 ScriptInfo: 0x15ff028

primaryWeaponMagazine(vehicle) General V:5500 0x12475e9

Return the names of the types of currently loaded magazines in given weapon.

C Func: 0x13a546c ScriptInfo: 0x15ff054

secondaryWeaponMagazine(vehicle) General V:5500 0x1247688

Return the names of the types of currently loaded magazines in given weapon.

C Func: 0x13a5454 ScriptInfo: 0x15ff080

handgunMagazine(vehicle) General V:5500 0x1247727

Return the names of the types of currently loaded magazines in given weapon.

C Func: 0x13a5444 ScriptInfo: 0x15ff0ac

copyToClipboard(text) General V:5500 0x12477c6

Copy the text to the clipboard.

C Func: 0x13a5414 ScriptInfo: 0x15ff0d8

setArmoryPoints(points) General V:5500 0x1247865

Store the given amount of armory points.

C Func: 0x13a53d8 ScriptInfo: 0x15ff104

playScriptedMission([world, expression, config, (ignoreChildWindow)]) General V:5500 0x1247904

Load the given world, launch an empty mission and execute the given expression. Config (optional) can reference to the config entry replacing description.ext for this mission.

C Func: 0x13a52e0 ScriptInfo: 0x15ff130

simulationEnabled(entity) General V:5500 0x12479a3

Check if the entity has enabled simulation.

C Func: 0x13a52a0 ScriptInfo: 0x15ff15c

inputAction(name) General V:5500 0x1247a42

Return the state of input devices mapped to given input action (see CfgDefaultKeysMapping for action names).

C Func: 0x13a5224 ScriptInfo: 0x15ff188

currentWaypoint(group) General V:5500 0x1247ae1

Return the index of the current waypoint.

C Func: 0x13a51e8 ScriptInfo: 0x15ff1b4

showCommandingMenu(class name) General V:5500 0x1247b80

Create the commanding menu described by the given config class. When class name is empty, current commanding menu is hidden.

C Func: 0x13a5144 ScriptInfo: 0x15ff1e0

onTeamSwitch(command) General V:5500 0x1247c1f

Defines an action performed when the team switch is finished. Command receives:

_from object previous unit
_to object current units

C Func: 0x13a5078 ScriptInfo: 0x15ff20c

triggerActivated(trigger) General V:5501 0x1247cbe

Returns true if the trigger has been activated.

C Func: 0x13a5034 ScriptInfo: 0x15ff238

endMission(end type) General V:5501 0x1247d5d

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

C Func: 0x1392348 ScriptInfo: 0x15ff264

failMission(end type) General V:5501 0x1247dfc

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: 0x13a4efc ScriptInfo: 0x15ff290

moveOut(soldier) General V:5501 0x1247e9b

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

C Func: 0x137c9f8 ScriptInfo: 0x15ff2bc

markerShape(name) General V:5501 0x1247f3a

Gets the marker shape. See setMarkerShape.

C Func: 0x13a4e60 ScriptInfo: 0x15ff2e8


markerShape "MarkerOne" 

markerBrush(name) General V:5501 0x1247fd9

Gets the marker brush. See setMarkerBrush.

C Func: 0x13a4e08 ScriptInfo: 0x15ff314


markerBrush "MarkerOne" 

triggerActivation(trigger) General V:5501 0x1248078

Returns trigger activation in the form [by, type, repeating]

C Func: 0x13a4db4 ScriptInfo: 0x15ff340

triggerArea(trigger) General V:5501 0x1248117

Returns trigger area in the form [a, b, angle, rectangle]

C Func: 0x13a4d6c ScriptInfo: 0x15ff36c

triggerStatements(trigger) General V:5501 0x12481b6

Returns trigger statements in the form [cond, activ, desactiv]

C Func: 0x13a4d18 ScriptInfo: 0x15ff398

triggerText(trigger) General V:5501 0x1248255

Returns trigger text.

C Func: 0x13a4cf4 ScriptInfo: 0x15ff3c4

triggerTimeout(trigger) General V:5501 0x12482f4

Returns trigger timeout in the form [min, mid, max, interruptable]

C Func: 0x13a4c9c ScriptInfo: 0x15ff3f0

triggerType(trigger) General V:5501 0x1248393

Returns trigger type.

C Func: 0x13a4c78 ScriptInfo: 0x15ff41c

triggerAttachedVehicle(trigger) General V:5101 0x1248432

Returns vehicle attached to the trigger (for example using triggerAttachVehicle)

C Func: 0x13a4c00 ScriptInfo: 0x15ff448

detach(obj) General V:5501 0x12484d1

Detaches an object.

C Func: 0x13a4bd4 ScriptInfo: 0x15ff474


detach player 

lifeState(unit) General V:5501 0x1248570

Returns the life state of the given unit.

C Func: 0x1320004 ScriptInfo: 0x15ff4a0

incapacitatedState(unit) General V:5501 0x124860f

Returns the incapacitated state of the given unit.

C Func: 0x13a4b60 ScriptInfo: 0x15ff4cc

stance() General V:5501 0x12486ae

unit

C Func: 0x134c6b0 ScriptInfo: 0x15ff4f8


Returns the stance of the given unit. 

getFatigue(unit) General V:5501 0x124874d

Returns fatigue of given unit.

C Func: 0x13a4b0c ScriptInfo: 0x15ff524

assignedDriver(vehicle) General V:5501 0x12487ec

Returns the soldier assigned to the given vehicle as a driver.

C Func: 0x13a4abc ScriptInfo: 0x15ff550

assignedGunner(vehicle) General V:5501 0x124888b

Returns the soldier assigned to the given vehicle as a gunner.

C Func: 0x13a4a6c ScriptInfo: 0x15ff57c

assignedCommander(vehicle) General V:5501 0x124892a

Returns the soldier assigned to the given vehicle as a commander.

C Func: 0x13a4a10 ScriptInfo: 0x15ff5a8

assignedCargo(vehicle) General V:5501 0x12489c9

Returns the list of soldiers assigned to the given vehicle as a cargo.

C Func: 0x13a49b4 ScriptInfo: 0x15ff5d4

markerAlpha(markerName) General V:5501 0x1248a68

Gets the marker alpha. See setMarkerAlpha.

C Func: 0x13a495c ScriptInfo: 0x15ff600


markerAlpha "MarkerOne" 

faction() General V:5501 0x1248b07

unit

C Func: 0x132e14c ScriptInfo: 0x15ff62c


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

owner(object) General V:5501 0x1248ba6

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

C Func: 0x132017c ScriptInfo: 0x15ff658

ctrlMapMouseOver(control) General V:5501 0x1248c45

Returns description of map sign mouse cursor is over.

C Func: 0x13a4868 ScriptInfo: 0x15ff684

worldToScreen(position) General V:5501 0x1248ce4

Converts position in world space into screen (UI) space.

C Func: 0x13a481c ScriptInfo: 0x15ff6b0

screenToWorld(position) General V:5501 0x1248d83

Returns the position on landscape (in world coordinates) corresponding to the given point on screen (in UI coordinates).

C Func: 0x13a478c ScriptInfo: 0x15ff6dc

hcSelected(unit) General V:5501 0x1248e22

Returns selected groups in high command.

C Func: 0x13a473c ScriptInfo: 0x15ff708


array = hcSelected unit 

hcAllGroups(unit) General V:5501 0x1248ec1

Returns selected groups in high command.

C Func: 0x13a4714 ScriptInfo: 0x15ff734


array = hcAllGroups unit 

hcRemoveAllGroups(unit) General V:5501 0x1248f60

Remove all groups from unit's high command bar.

C Func: 0x13a46b8 ScriptInfo: 0x15ff760


hcRemoveAllGroups unit 

hcLeader(group) General V:5501 0x1248fff

Returns group's HC commander.

C Func: 0x13a467c ScriptInfo: 0x15ff78c


hcLeader group 

hcShowBar(bool) General V:5501 0x124909e

Shows or hides HC bar. There must be some groups under hc command to show hc bar.

C Func: 0x13a460c ScriptInfo: 0x15ff7b8


hcShowBar true 

onHCGroupSelectionChanged(command) General V:5501 0x124913d

Defines an action performed when HC group has been selected. Command receives
_group group selected group
_isSelected bool new selection state

C Func: 0x13a4544 ScriptInfo: 0x15ff7e4

onCommandModeChanged(command) General V:5501 0x12491d5

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

C Func: 0x13a44c0 ScriptInfo: 0x15ff810

cameraEffectEnableHUD(enable) General V:5501 0x124926e

Enable / disable showing of in-game UI during currently active camera effect.

C Func: 0x13a4454 ScriptInfo: 0x15ff83c

side(group, Returns the side of the group., side group player == west, 5501) ( V:NaN 0x124930d

General

C Func: 0x12ff09c ScriptInfo: 0x15ff868

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

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

C Func: 0x13a43a8 ScriptInfo: 0x15ff894

lockedDriver(vehicle) General V:5501 0x124944b

Check whether driver position of the vehicle turret is locked.

C Func: 0x13a4358 ScriptInfo: 0x15ff8c0

isOnRoad(position or object) General V:5501 0x12494ea

Check whether given position is on road.

C Func: 0x13a430c ScriptInfo: 0x15ff8ec

onGroupIconClick(command) General V:5501 0x1249589

Defines an action performed when player clicked on group marker (3D or in a map)

C Func: 0x13a42a4 ScriptInfo: 0x15ff918

onGroupIconOverEnter(command) General V:5501 0x1249628

Defines an action performed when player clicked on group marker (3D or in a map)

C Func: 0x13a428c ScriptInfo: 0x15ff944

onGroupIconOverLeave(command) General V:5501 0x12496c7

Defines an action performed when player clicked on group marker (3D or in a map)

C Func: 0x13a4274 ScriptInfo: 0x15ff970

setGroupIconsVisible(array, Sets if group icons are visible.) General V:5501 0x1249766

showGroupIcons [true,true]

C Func: 0x13a421c ScriptInfo: 0x15ff99c

setGroupIconsSelectable(bool, Sets if group icons raises onclick and onover events.) General V:5501 0x1249805

selectableGroupIcons true

C Func: 0x13a41b0 ScriptInfo: 0x15ff9c8

getGroupIconParams(group) General V:5501 0x12498a4

Returns group icons params. [color, text,scale, visible]

C Func: 0x13a4144 ScriptInfo: 0x15ff9f4


getGroupIconParams group 

clearGroupIcons(group) General V:5501 0x1249943

Removes all icon from group.

C Func: 0x13a40fc ScriptInfo: 0x15ffa20


clearGroupIcons group 

getGroupIcons(group) General V:5501 0x12499e2

Returns all group icons.[[id,icon,[offsetx,offsety],[..],..]

C Func: 0x13a4098 ScriptInfo: 0x15ffa4c


getGroupIcons group 

diag_log(anything) General V:5501 0x1249a81

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

C Func: 0x13a4044 ScriptInfo: 0x15ffa78


diag_log player 

unlockAchievement(name) General V:5501 0x1249b20

Unlock the given achievement.

C Func: 0x13a4010 ScriptInfo: 0x15ffaa4

dateToNumber(date, Convert date to float number.) General V:5501 0x1249bbf

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

C Func: 0x13a3fac ScriptInfo: 0x15ffad0

numberToDate([year,time], Convert float number to date.) General V:5501 0x1249c5e

date = NumberToDate [2008,0.5324]

C Func: 0x13a3f4c ScriptInfo: 0x15ffafc

createGearDialog([unit,resource], Opens gear dialog for given unit.) General V:5501 0x1249cfd

CreateGearDialog [palyer,"RscDisplayGear"]

C Func: 0x13a3ed8 ScriptInfo: 0x15ffb28

synchronizedObjects(unit/trigger) General V:5501 0x1249d9c

Return the list of objects synchronized with the given unit/trigger.

C Func: 0x13a3e68 ScriptInfo: 0x15ffb54

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

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: 0x13a3d90 ScriptInfo: 0x15ffb80

progressLoadingScreen(progress) General V:5501 0x1249eda

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

C Func: 0x13a3d14 ScriptInfo: 0x15ffbac

onPreloadStarted(command) General V:5501 0x1249f79

Defines an action performed just before the preload screen started.

C Func: 0x13a3cb8 ScriptInfo: 0x15ffbd8

onPreloadFinished(command) General V:5501 0x124a018

Defines an action performed after the preload screen finished.

C Func: 0x13a3c64 ScriptInfo: 0x15ffc04

groupSelectedUnits(unit) General V:5501 0x124a0b7

Returns selected groups in sgroup.

C Func: 0x13a3c0c ScriptInfo: 0x15ffc30


array = groupSelectedUnits unit 

AISFinishHeal([unit,unit,bool]) General V:5501 0x124a156

AIS end state.

C Func: 0x13a3bb4 ScriptInfo: 0x15ffc5c


AISFinishHeal [wounded,medic,true] 

hintSilent(text) General V:5501 0x124a1f5

Same as hint, but without a sound.

C Func: 0x13a3b7c ScriptInfo: 0x15ffc88

loadUniform(unit) General V:5501 0x124a294

Returns current sum of mass from items stored in a uniform.

C Func: 0x13a3b20 ScriptInfo: 0x15ffcb4


loadUniform player 

loadVest(unit) General V:5501 0x124a333

Returns current sum of mass from items stored in a vest.

C Func: 0x13a3ac8 ScriptInfo: 0x15ffce0


loadVest player 

loadBackpack(unit) General V:5501 0x124a3d2

Returns current sum of mass from items stored in a backpack.

C Func: 0x13a3a64 ScriptInfo: 0x15ffd0c


loadBackpack player 

load(unit) General V:5501 0x124a471

Returns current sum of mass from items stored in all unit's containers.

C Func: 0x13a3a04 ScriptInfo: 0x15ffd38


load player 

loadAbs(unit) General V:5501 0x124a510

Returns current sum of mass from items stored in a all unit's containers, linked items and weapons.

C Func: 0x13a3988 ScriptInfo: 0x15ffd64


loadAbs player 

removeAllItemsWithMagazines(unit) General V:5501 0x124a5af

Removes all items from the uniform, vest and backpack.

C Func: 0x13a3934 ScriptInfo: 0x15ffd90

removeAllItems(unit) General V:5501 0x124a64e

Removes all items from the uniform, vest and backpack.

C Func: 0x13a3924 ScriptInfo: 0x15ffdbc

removeAllPrimaryWeaponItems(unit) General V:5501 0x124a6ed

Removes all items from weapon except magazine.

C Func: 0x13a38d8 ScriptInfo: 0x15ffde8

removeAllHandgunItems(unit) General V:5501 0x124a78c

Removes all items from weapon except magazine.

C Func: 0x13a38c0 ScriptInfo: 0x15ffe14

itemsWithMagazines(unit) General V:5501 0x124a82b

Get array with all inventory items.

C Func: 0x13a3888 ScriptInfo: 0x15ffe40

items() General V:5501 0x124a8ca

unit

C Func: 0x12feb0c ScriptInfo: 0x15ffe6c


Returns only items that are not magazines/explosives/grenades. Includes also items that are linked on unit (i.e. includes assignedItems array) 

uniformItems(unit) General V:5501 0x124a969

Get array with all items from uniform.

C Func: 0x13a37c0 ScriptInfo: 0x15ffe98

uniformMagazines(unit) General V:5501 0x124aa08

Get array with all magazines from vest.

C Func: 0x13a3784 ScriptInfo: 0x15ffec4

vestMagazines(unit) General V:5501 0x124aaa7

Get array with all magazines from vest.

C Func: 0x13a3774 ScriptInfo: 0x15ffef0

backpackMagazines(unit) General V:5501 0x124ab46

Get array with all magazines from vest.

C Func: 0x13a3760 ScriptInfo: 0x15fff1c

SoldierMagazines(unit) General V:5501 0x124abe5

Get array with all magazines from vest.

C Func: 0x13a374c ScriptInfo: 0x15fff48

vestItems(unit) General V:5501 0x124ac84

Get array with all items from vest.

C Func: 0x13a371c ScriptInfo: 0x15fff74

getChosenCont(unit) General V:5501 0x124ad23

container class name

C Func: 0x13a36dc ScriptInfo: 0x15fffa0


getChosenCont player 

backpackItems(unit) General V:5501 0x124adc2

Get array with all items from backpack.

C Func: 0x13a36a4 ScriptInfo: 0x15fffcc

backpackCargo(box) General V:5501 0x124ae61

Get array with backpacks from ammo box (or any general weapon holder container).

C Func: 0x13a3640 ScriptInfo: 0x15ffff8

weaponCargo(box) General V:5501 0x124af00

Get array with weapons from ammo box (or any general weapon holder container).

C Func: 0x13a35e4 ScriptInfo: 0x1600024

magazineCargo(box ) General V:5501 0x124af9f

Get array with magazines from ammo box (or any general weapon holder container).

C Func: 0x13a3578 ScriptInfo: 0x1600050

itemCargo(box) General V:5501 0x124b03e

Get array with items from ammo box (or any general weapon holder container).

C Func: 0x13a3518 ScriptInfo: 0x160007c

backpack() General V:5501 0x124b0dd

unit

C Func: 0x13202f0 ScriptInfo: 0x16000a8


Returns a class of a backpack. 

uniform() General V:5501 0x124b17c

unit

C Func: 0x13a34c8 ScriptInfo: 0x16000d4


Returns name of currently used uniform. 

vest() General V:5501 0x124b21b

unit

C Func: 0x13a3498 ScriptInfo: 0x1600100


Returns name of currently used vest. 

backpackContainer(unit) General V:5501 0x124b2ba

Returns container of a backpack.

C Func: 0x13a3460 ScriptInfo: 0x160012c

uniformContainer(unit) General V:5501 0x124b359

Returns container of currently used uniform.

C Func: 0x13a341c ScriptInfo: 0x1600158

vestContainer(unit) General V:5501 0x124b3f8

Returns container of currently used vest.

C Func: 0x13a33e0 ScriptInfo: 0x1600184

headgear() General V:5501 0x124b497

unit

C Func: 0x13a33a8 ScriptInfo: 0x16001b0


Returns name of currently used headgear. 

goggles() General V:5501 0x124b536

unit

C Func: 0x13a3378 ScriptInfo: 0x16001dc


Returns name of currently used goggles. 

assignedItems(unit) General V:5501 0x124b5d5

Get array with all assigned items.

C Func: 0x13a3344 ScriptInfo: 0x1600208

primaryWeaponItems(unit) General V:5501 0x124b674

Get array with all items assigned to a weapon.

C Func: 0x13a3300 ScriptInfo: 0x1600234

secondaryWeaponItems(unit) General V:5501 0x124b713

Get array with all items assigned to a weapon.

C Func: 0x13a32e8 ScriptInfo: 0x1600260

handgunItems(unit) General V:5501 0x124b7b2

Get array with all items assigned to a weapon.

C Func: 0x13a32d8 ScriptInfo: 0x160028c

canUnloadInCombat(vehicle) General V:5501 0x124b851

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

C Func: 0x13a3284 ScriptInfo: 0x16002b8

showSubtitles(enable) General V:5501 0x124b8f0

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

C Func: 0x1392304 ScriptInfo: 0x16002e4

landResult(helicopter) General V:5501 0x124b98f

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: 0x13a312c ScriptInfo: 0x1600310

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

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

C Func: 0x13a308c ScriptInfo: 0x160033c

showHUD(enable) General V:5501 0x124bacd

Enable / disable showing of HUD.

C Func: 0x132e3fc ScriptInfo: 0x1600368

getPlayerUID(unit) General V:5501 0x124bb6c

Get unique player id.

C Func: 0x13a3040 ScriptInfo: 0x1600394

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

Send message to given adress using UDP protocol.

C Func: 0x13a2fe8 ScriptInfo: 0x16003c0

mapGridPosition(object) General V:5501 0x124bcaa

Returns the position as map coords.

C Func: 0x13a2f9c ScriptInfo: 0x16003ec


mapGridPosition player 

WFSideText(object) General V:5501 0x124bd49

Returns the unlocalized text value of a object's side as: East, West, Resistance, Civilian, or Unknown.

C Func: 0x13a2f10 ScriptInfo: 0x1600418


WFSideText player 

WFSideText(group) General V:5501 0x124bde8

Returns the unlocalized text value of a group's side as: East, West, Resistance, Civilian, or Unknown.

C Func: 0x13a2f10 ScriptInfo: 0x1600444


WFSideText group player 

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

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

C Func: 0x13a2dfc ScriptInfo: 0x1600470

laserTarget(vehicle) General V:5501 0x124bf26

Returns target created by gunner in given vehicle.

C Func: 0x136a044 ScriptInfo: 0x160049c

unitBackpack(unit) General V:5501 0x124bfc5

Returns unit's backpack.

C Func: 0x13a2d9c ScriptInfo: 0x16004c8

isForcedWalk(player) General V:5501 0x124c064

Returns true if player is forced to walk

C Func: 0x13a2d60 ScriptInfo: 0x16004f4

isAutoHoverOn(vehicle) General V:5501 0x124c103

Returns true if vehicle has enabled auto hover

C Func: 0x13a2d20 ScriptInfo: 0x1600520

currentZeroing(gunner) General V:5501 0x124c1a2

Returns zeroing of unit's weapon.

C Func: 0x13a2cec ScriptInfo: 0x160054c

currentVisionMode(gunner) General V:5501 0x124c241

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

C Func: 0x13a2c8c ScriptInfo: 0x1600578

currentMuzzle(gunner) General V:5501 0x124c2e0

Returns current muzzle of unit's weapon.

C Func: 0x13a2c50 ScriptInfo: 0x16005a4

currentWeaponMode(gunner) General V:5501 0x124c37f

Returns current weapon mode of unit's weapon.

C Func: 0x13a2c0c ScriptInfo: 0x16005d0

isManualFire(vehicle) General V:5501 0x124c41e

Returns true if manul fire is on.

C Func: 0x13a2bd8 ScriptInfo: 0x16005fc

isWalking(soldier) General V:5501 0x124c4bd

Returns true walk is toggled.

C Func: 0x13a2bac ScriptInfo: 0x1600628

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

Adds camera shake source.

C Func: 0x13a2b68 ScriptInfo: 0x1600654

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

Sets camera shake params.

C Func: 0x13a2b08 ScriptInfo: 0x1600680

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

Sets camera shake default params.

C Func: 0x13a2a60 ScriptInfo: 0x16006ac

enableCamShake(true/false) General V:5501 0x124c739

Enables/disables camera shakes.

C Func: 0x13a2a24 ScriptInfo: 0x16006d8

enableEngineArtillery(true/false) General V:5501 0x124c7d8

Enables/disables engine's artillery.

C Func: 0x13a29e4 ScriptInfo: 0x1600704

enableSatNormalOnDetail(true/false) General V:5501 0x124c877

Enables/disables satellite normal map od detail maps.

C Func: 0x13a2994 ScriptInfo: 0x1600730

setAIS([flag]) General V:5501 0x124c916

Set Alternative Injury simulation flag.

C Func: 0x13a294c ScriptInfo: 0x160075c


setAIS [true] 

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

Returns terrain height above sea level.

C Func: 0x13a28e0 ScriptInfo: 0x1600788


 z = getTerrainHeightASL  [x,y] 

setSystemOfUnits(value) General V:1.18 0x124ca54

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

C Func: 0x13a2888 ScriptInfo: 0x16007b4

unitRecoilCoefficient(soldier) General V:90707 0x124caf3

Returns unit's custom recoil coefficient.

C Func: 0x13a2814 ScriptInfo: 0x16007e0


 coef = unitRecoilCoefficient player 

isTouchingGround(object) General V:5501 0x124cb92

Returns true if object is touching the ground.

C Func: 0x13a27b4 ScriptInfo: 0x160080c


isTouchingGround vehicle 

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

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: 0x13a2654 ScriptInfo: 0x1600838


playMission["XOutrage","x05Negotiator.Noe"] 

enableEnvironment(enabled) General V:2.92 0x124ccd0

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

C Func: 0x13a25e8 ScriptInfo: 0x1600864


enableEnvironment false 

airportSide(airportId, Checks a side of the airport., airportSide 0) General V:2.92 0x124cd6f

west

C Func: 0x13a25ac ScriptInfo: 0x1600890

morale(unit, Checks a current morale level of the unit (-1..+1)., morale leader player) General V:5500 0x124ce0e

0.5

C Func: 0x136a350 ScriptInfo: 0x16008bc

terrainIntersectASL([ positionASL begin, positionASL end ], Checks for intersection of terrain between two positions. Returns true if intersects with terrain, _doesIntersect = terrainIntersectASL [ getposAsl player, getposAsl enemy1 ];) General V:NaN 0x124cead

OA 93671

C Func: 0x13a2458 ScriptInfo: 0x16008e8

lineIntersects(array, Returns true, if line intersect with any object., lineIntersects [begPos, endPos, withObj, ignoreObj]) General V:NaN 0x124cf4c

TOH 81021

C Func: 0x13a23d4 ScriptInfo: 0x1600914

lineIntersectsWith(array, Returns list of objects intersected by given line., lineIntersectsWith [begPos, endPos, withObj, ignoreObj, sortByDist]) General V:NaN 0x124cfeb

TOH 81021

C Func: 0x13a2344 ScriptInfo: 0x1600940

isCopilotEnabled(vehicle, Returns true if copilots actions are enabled., enabled = isCopilotEnabled (vehicle player)) General V:NaN 0x124d08a

TOH 81021

C Func: 0x13a22d4 ScriptInfo: 0x160096c

setHUDMovementLevels([min speed, max speed, min alt, max alt, min dir, max dir, position[x,y,z] or target], 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, SetHUDMovementLevels [20,30,-1,-1,0.23,2.1]) General V:NaN 0x124d129

TOH 81021

C Func: 0x13a219c ScriptInfo: 0x1600998

resetSubgroupDirection(subgroup member, Reset direction of subgroup., resetSubgroupDirection unit) General V:NaN 0x124d1c8

TOH 83721

C Func: 0x13a212c ScriptInfo: 0x16009c4

addMissionEventHandler([type, command], Adds mission event handler. Every event will create an array named _this, which contains specific information about the particular event. The index of the currently added handler is returned., _id = addMissionEventHandler ["ended",{_this exec "missionEnded.sqs"}]) General V:NaN 0x124d267

TOH 85057

C Func: 0x13a1fec ScriptInfo: 0x16009f0

removeMissionEventHandler([type, id], Removes event handler added by addMissionEventHandler. Id is returned by addMissionEventHandler. When any handler is removed, all handler indices higher that the deleted one should be decremented., removeMissionEventHandler ["ended",0]) General V:NaN 0x124d306

TOH 85057

C Func: 0x13a1ed0 ScriptInfo: 0x1600a1c

removeAllMissionEventHandlers(type, Removes all event handlers of the given type which were added by addMissionEventHandler., removeAllMissionEventHandlers "ended") General V:NaN 0x124d3a5

TOH 85057

C Func: 0x13a1e24 ScriptInfo: 0x1600a48

terrainIntersect([ position begin, position end ], Checks for intersection of terrain between two positions. Returns true if intersects with terrain, _doesIntersect = terrainIntersect [ position player, position enemy1 ];) General V:NaN 0x124d444

A3 89671

C Func: 0x13a1d98 ScriptInfo: 0x1600a74

buldozer_LoadNewRoads(path) General V:NaN 0x124d4e3

A3 94671

C Func: 0x13a1d74 ScriptInfo: 0x1600aa0

entities(type, Returns a list of entities with given type. , entities "Car") General V:NaN 0x124d582

OA 94061

C Func: 0x13a1d1c ScriptInfo: 0x1600acc

publicVariableServer(varName, 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., publicVariableServer "CTFscoreOne") General V:NaN 0x124d621

OA 94178

C Func: 0x13a1bf0 ScriptInfo: 0x1600af8

systemChat(chatText, 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., systemChat "Dam of Peace") General V:NaN 0x124d6c0

OA 97330

C Func: 0x13a1ad4 ScriptInfo: 0x1600b24

showChat(true/false) General V:NaN 0x124d75f

Shows/hides the whole chat window.

C Func: 0x13a1a94 ScriptInfo: 0x1600b50


showChat false 

configName(config, Returns name of config entry., _name = configName (configFile >> "CfgVehicles")) General V:2.35 0x124d7fe

"CfgVehicles"

C Func: 0x13a1a24 ScriptInfo: 0x1600b7c

inheritsFrom(config) General V:2.92 0x124d89d

Returns base entry of config entry.

C Func: 0x13a19b4 ScriptInfo: 0x1600ba8


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

count(config) General V:2.35 0x124d93c

Returns count of subentries.

C Func: 0x12feb14 ScriptInfo: 0x1600bd4


_count = count (configFile >> "CfgVehicles") 

isClass(config, Check if config entry represents config class., _ok = isClass (configFile >> "CfgVehicles")) General V:2.35 0x124d9db

true

C Func: 0x13a1900 ScriptInfo: 0x1600c00

isArray(config, Check if config entry represents array., _ok = isArray (configFile >> "CfgVehicles")) General V:2.35 0x124da7a

false

C Func: 0x13a18a4 ScriptInfo: 0x1600c2c

isNumber(config, Check if config entry represents number., _ok = isNumber (configFile >> "CfgVehicles")) General V:2.35 0x124db19

false

C Func: 0x13a183c ScriptInfo: 0x1600c58

isText(config, Check if config entry represents text., _ok = isText (configFile >> "CfgVehicles")) General V:2.35 0x124dbb8

false

C Func: 0x13a17e0 ScriptInfo: 0x1600c84

getArray(config) General V:2.35 0x124dc57

Extract array from config entry.

C Func: 0x13a1764 ScriptInfo: 0x1600cb0


_array = getArray (configFile >> "CfgVehicles" >> "Thing" >> "threat") 

getNumber(config) General V:2.35 0x124dcf6

Extract number from config entry.

C Func: 0x13a16e4 ScriptInfo: 0x1600cdc


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

getText(config) General V:2.35 0x124dd95

Extract text from config entry.

C Func: 0x13a1674 ScriptInfo: 0x1600d08


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

ctrlEnabled(control) General V:2.50 0x124de34

Returns whether given control is enabled.

C Func: 0x13a1620 ScriptInfo: 0x1600d34


_ok = ctrlEnabled _control 

ctrlShown(control) General V:2.50 0x124ded3

Returns whether given control is shown.

C Func: 0x13a15d0 ScriptInfo: 0x1600d60


_ok = ctrlShown _control 

ctrlText(control) General V:2.50 0x124df72

Returns the text shown in given control.

C Func: 0x13a157c ScriptInfo: 0x1600d8c


_text = ctrlText _control 

ctrlTextHeight(structuredText control, Returns the text height., h = ctrlTextHeight _control) General V:NaN 0x124e011

TOH 84677

C Func: 0x13a1510 ScriptInfo: 0x1600db8

ctrlPosition(control) General V:2.50 0x124e0b0

Returns the current position and size of control as [x, y, w, h] array.

C Func: 0x13a1498 ScriptInfo: 0x1600de4


_pos = ctrlPosition _control 

ctrlScale(control) General V:5501 0x124e14f

Returns the current scale of control.

C Func: 0x13a1448 ScriptInfo: 0x1600e10


_scale = ctrlScale _control 

ctrlAutoScrollSpeed(control) General V:5501 0x124e1ee

Returns number of seconds to auto-scroll one line. -1 if auto-scroll is disabled. -2 if scrollbar not present.

C Func: 0x13a139c ScriptInfo: 0x1600e3c


_speed = ctrlAutoScrollSpeed _control 

ctrlAutoScrollDelay(control) General V:5501 0x124e28d

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

C Func: 0x13a130c ScriptInfo: 0x1600e68


_delay = ctrlAutoScrollDelay _control 

ctrlAutoScrollRewind(control) General V:5501 0x124e32c

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

C Func: 0x13a1284 ScriptInfo: 0x1600e94


_rewind = ctrlAutoScrollRewind _control 

ctrlFade(control) General V:2.50 0x124e3cb

Returns the current fade factor of control.

C Func: 0x13a1230 ScriptInfo: 0x1600ec0


_scale = ctrlFade _control 

ctrlChecked(control) General V:2.50 0x124e46a

Returns the current state of checkbox.

C Func: 0x13a11dc ScriptInfo: 0x1600eec


_checked = ctrlChecked _control 

ctrlCommitted(control) General V:2.50 0x124e509

Check if the control animation is finished.

C Func: 0x13a1180 ScriptInfo: 0x1600f18


_done = ctrlCommitted _control 

ctrlType(control) General V:2.56 0x124e5a8

Returns value representing type of control.

C Func: 0x13a1124 ScriptInfo: 0x1600f44


_type = ctrlType _control 

ctrlParent(control) General V:2.50 0x124e647

Returns container of given control.

C Func: 0x13a10d4 ScriptInfo: 0x1600f70


_display = ctrlParent _control 

ctrlHTMLLoaded(control, Returns true when HTML content was successfully loaded., _htmlLoaded ctrlHTMLLoaded _control) General V:NaN 0x124e6e6

TOH 86547

C Func: 0x13a105c ScriptInfo: 0x1600f9c

findDisplay(idd) General V:2.54 0x124e785

Find display by its IDD.

C Func: 0x13a100c ScriptInfo: 0x1600fc8


_display = findDisplay 1 

positionCameraToWorld(position) General V:2.52 0x124e824

Transform position from camera coordinate space to world coordinate space.

C Func: 0x13a0f6c ScriptInfo: 0x1600ff4


_worldPos = positionCameraToWorld _cameraPos 

execVM(filename) General V:2.58 0x124e8c3

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: 0x13a0ea8 ScriptInfo: 0x1601020


execVM "test.sqf" 

lbSort(control) General V:5148 0x124e962

Sorts the given listbox or combobox by item text.

C Func: 0x13a0e54 ScriptInfo: 0x160104c


lbSort _control 

lbSortByValue(control) General V:5148 0x124ea01

Sorts the given listbox or combobox by item value.

C Func: 0x13a0df8 ScriptInfo: 0x1601078


lbSortByValue _control 

lbSize(control) General V:2.91 0x124eaa0

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

C Func: 0x13a0d98 ScriptInfo: 0x16010a4


_n = lbSize _control 

lbCurSel(control) General V:2.91 0x124eb3f

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

C Func: 0x13a0d24 ScriptInfo: 0x16010d0


_index = lbCurSel _control 

lbClear(control) General V:2.91 0x124ebde

Clears all items in the given listbox or combobox.

C Func: 0x13a0cd4 ScriptInfo: 0x16010fc


lbClear _control 

lbSelection(control) General V:2.92 0x124ec7d

Returns the array of selected rows indices in the given listbox.

C Func: 0x13a0c64 ScriptInfo: 0x1601128


_indices = lbSelection _control 

lnbClear(control, Clears all items in the given listbox or combobox.) General V:2.91 0x124ed1c

lbClear _control

C Func: 0x13a0c58 ScriptInfo: 0x1601154

lnbSize(control, Returns the number of items in the given listbox or combobox.) General V:2.91 0x124edbb

_n = lbSize _control

C Func: 0x13a0c50 ScriptInfo: 0x1601180

lnbCurSelRow(control, Returns the index of the selected item of the given listbox or combobox.) General V:2.91 0x124ee5a

_index = lbCurSel _control

C Func: 0x13a0c40 ScriptInfo: 0x16011ac

lnbGetColumnsPosition(control, Returns the index of the selected item of the given listbox or combobox.) General V:2.91 0x124eef9

_index = lbCurSel _control

C Func: 0x13a0c28 ScriptInfo: 0x16011d8

gearSlotData(control) General V:5501 0x124ef98

Returns gear slot item name.

C Func: 0x13a0bd8 ScriptInfo: 0x1601204


weapon = gearSlotData _control 

gearSlotAmmoCount(control) General V:93869 0x124f037

Returns ammo count of assigned magazine.

C Func: 0x13a0b6c ScriptInfo: 0x1601230


ammo = gearSlotAmmoCount _control 

gearIDCAmmoCount(control IDC, Returns ammo count of assigned magazine.) General V:93869 0x124f0d6

ammo = gearSlotAmmoCount IDC

C Func: 0x13a0b2c ScriptInfo: 0x160125c

buttonAction(control) General V:2.92 0x124f175

Returns the action assigned to the given button or active text. The action is any expression in this scripting language.

C Func: 0x13a0a7c ScriptInfo: 0x1601288


_action = buttonAction _button 

sliderPosition(control) General V:2.92 0x124f214

Returns the current thumb position of the given slider.

C Func: 0x13a0a14 ScriptInfo: 0x16012b4


_pos = sliderPosition _control 

sliderRange(control) General V:2.92 0x124f2b3

Returns the limits (as an array [min, max]) of the given slider.

C Func: 0x13a09a4 ScriptInfo: 0x16012e0


_limits = sliderRange _control 

sliderSpeed(control) General V:2.92 0x124f352

Returns the speed (as an array [line, page]) of the given slider.

C Func: 0x13a0934 ScriptInfo: 0x160130c


_speed = sliderSpeed _control 

ctrlMapAnimClear(control) General V:2.92 0x124f3f1

Clears the map animation.

C Func: 0x13a0920 ScriptInfo: 0x1601338

ctrlMapAnimCommit(control) General V:2.92 0x124f490

Plays the map animation.

C Func: 0x13a090c ScriptInfo: 0x1601364

ctrlMapAnimDone(control) General V:2.92 0x124f52f

Checks whether the map animation has finished.

C Func: 0x13a08fc ScriptInfo: 0x1601390

isNull(control, Checks whether the value is equal to controlNull. Note: a==controlNull does not work, because controlNull is not equal to anything, even to itself., isNull controlNull) General V:2.92 0x124f5ce

true

C Func: 0x132ec90 ScriptInfo: 0x16013bc

isNull(display, Checks whether the value is equal to displayNull. Note: a==displayNull does not work, because displayNull is not equal to anything, even to itself., isNull displayNull) General V:2.92 0x124f66d

true

C Func: 0x132ec90 ScriptInfo: 0x16013e8

ctrlSetFocus(control) General V:2.92 0x124f70c

Set the input focus on given control.

C Func: 0x13a074c ScriptInfo: 0x1601414


ctrlSetFocus _control 

ctrlActivate(control) General V:2.92 0x124f7ab

Launch actions attached to given (button based) control.

C Func: 0x13a06e8 ScriptInfo: 0x1601440


ctrlActivate _control 

ctrlMapScale(control) General V:2.92 0x124f84a

Return the current scale of the map control.

C Func: 0x13a06a8 ScriptInfo: 0x160146c

progressPosition(control) General V:5500 0x124f8e9

Returns the current position in the progress bar.

C Func: 0x13a063c ScriptInfo: 0x1601498


_pos = progressPosition _control 

moveTime(soldier) General V:5500 0x124f988

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

C Func: 0x13a05b8 ScriptInfo: 0x16014c4


moveTime player 

hostMission([Config,Display]) General V:1.54 0x124fa27

Host the MP mission described by config class. Should be called as a reaction to some UI action in some dialog.

C Func: 0x13a0520 ScriptInfo: 0x16014f0

weaponState(Gunner or [veh,turret path]) General V:5790 0x124fac6

Returns the current weapon state as an array of strings in the follow format [WeaponName, MuzzleName, ModeName, MagazineName].

C Func: 0x13a0434 ScriptInfo: 0x160151c


weaponState player or weaponState [vehicle player,[0]] 

radioChannelCreate([[r,g,b,a], label, callSign, [unit1,unit2,...], sentenceColorType], Create Custom Radio Channel with given callSign color, callSign format and units. sentenceColorType sets color for sentences - true for colorMessageProtocol otherwise colorMessage. Returns index to identify/manipulate the created Custom Channel.) General V:NaN 0x124fb65

81210 TOH

C Func: 0x13a02d4 ScriptInfo: 0x1601548

isLocalized(stringName, Checks whether given string name is localized., isLocalized "STR_DN_SNAKE") General V:NaN 0x124fc04

85897 TOH

C Func: 0x13a0270 ScriptInfo: 0x1601574

sendAUMessage([count|[clientList], "command"], Send the command to the list of clients or some count of clients.) General V:NaN 0x124fca3

SendAUMessage [[dpnid1, dpnid2], "ConnectTo: 192.168.1.66"]

C Func: 0x13a01bc ScriptInfo: 0x16015a0

ctrlIDC(control, Returns control IDC., IDC = ctrlIDC _control) General V:NaN 0x124fd42

A3 97270

C Func: 0x13a0178 ScriptInfo: 0x16015cc

ctrlIDD(display, Returns display IDD., IDD = ctrlIDD _display) General V:NaN 0x124fde1

A3 97270

C Func: 0x13a0140 ScriptInfo: 0x16015f8

createDialog(name) General V:1.50 0x124fe80

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: 0x139ffc8 ScriptInfo: 0x1601624


_ok = createDialog "RscDisplayGame" 

closeDialog(idc) General V:1.50 0x124ff1f

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

C Func: 0x139ff5c ScriptInfo: 0x1601650


closeDialog 1 

ctrlVisible(idc) General V:1.50 0x124ffbe

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

C Func: 0x139fee4 ScriptInfo: 0x160167c


_visible = ctrlVisible 100 

ctrlEnabled(idc) General V:1.50 0x125005d

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

C Func: 0x13a1620 ScriptInfo: 0x16016a8


_enabled = ctrlEnabled 100 

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

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

C Func: 0x139fe00 ScriptInfo: 0x16016d4


ctrlShow [100, true] 

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

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

C Func: 0x139fd80 ScriptInfo: 0x1601700


ctrlEnable [100, false] 

ctrlText(idc) General V:1.50 0x125023a

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: 0x13a157c ScriptInfo: 0x160172c


_message = ctrlText 100 

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

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: 0x139fbf0 ScriptInfo: 0x1601758


ctrlSetText [100, "Hello, world"] 

buttonAction(idc) General V:1.50 0x1250378

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: 0x13a0a7c ScriptInfo: 0x1601784


_action = buttonAction 100 

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

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: 0x139fa00 ScriptInfo: 0x16017b0


buttonSetAction [100, "player exec ""reply.sqs"""] 

lbSize(idc) General V:1.50 0x12504b6

Returns the number of items in the listbox or combobox with id idc of the topmost user dialog.

C Func: 0x13a0d98 ScriptInfo: 0x16017dc


_n = lbSize 101 

lbCurSel(idc) General V:1.50 0x1250555

Returns the index of the selected item of the listbox or combobox with id idc of the topmost user dialog.

C Func: 0x13a0d24 ScriptInfo: 0x1601808


_index = lbCurSel 101 

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

Selects the item with the given index of the listbox or combobox with id idc of the topmost user dialog.

C Func: 0x139f860 ScriptInfo: 0x1601834


lbSetCurSel [101, 0] 

lbClear(idc) General V:1.50 0x1250693

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

C Func: 0x13a0cd4 ScriptInfo: 0x1601860


lbClear 101 

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

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: 0x139f740 ScriptInfo: 0x160188c


_index = lbAdd [101, "First item"] 

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

Removes the item with the given index from the listbox or combobox with id idc of the topmost user dialog.

C Func: 0x139f6b4 ScriptInfo: 0x16018b8


lbDelete [101, 0] 

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

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: 0x139f614 ScriptInfo: 0x16018e4


_text = lbText [101, 0] 

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

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: 0x139f568 ScriptInfo: 0x1601910


_data = lbData [101, 0] 

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

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: 0x139f490 ScriptInfo: 0x160193c


lbSetData [101, 1, "#1"] 

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

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: 0x139f3dc ScriptInfo: 0x1601968


_value = lbValue [101, 0] 

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

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: 0x139f308 ScriptInfo: 0x1601994


lbSetValue [101, 0, 1] 

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

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: 0x139f258 ScriptInfo: 0x16019c0


_picture = lbPicture [101, 0] 

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

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: 0x139f0e0 ScriptInfo: 0x16019ec


lbSetPicture [101, 0, "iskoda"] 

lbColor([idc, index]) General V:1.50 0x1250cc9

Returns the text color of the item with the given index of the listbox or combobox with id idc of the topmost user dialog. The color is returned in format Color.

C Func: 0x139f010 ScriptInfo: 0x1601a18


_color = lbColor [101, 0] 

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

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: 0x139ef1c ScriptInfo: 0x1601a44


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

tvAdd([idc, [path], text]) General V:106345 0x1250e07

Adds an item with given text to Tree View with given idc under specified path (zero based).

C Func: 0x139ee78 ScriptInfo: 0x1601a70


tvAdd [101, [0], "First item"] 

tvDelete([idc, [path]]) General V:106345 0x1250ea6

Removes an item on given path from Tree View with given idc.

C Func: 0x139ee04 ScriptInfo: 0x1601a9c


tvDelete [101, [0,0]] 

tvClear(idc) General V:106345 0x1250f45

Removes all items from Tree View with given idc.

C Func: 0x139edbc ScriptInfo: 0x1601ac8


tvClear 101 

tvClear(idc) General V:106345 0x1250fe4

Removes all items from Tree View with given idc.

C Func: 0x139edbc ScriptInfo: 0x1601af4


tvClear 101 

tvText([idc, [path]]) General V:106345 0x1251083

Returns shown text in the item on given path. IDC means id of parent Tree View.

C Func: 0x139ed4c ScriptInfo: 0x1601b20


tvText [101,[0]] 

tvSetData([idc, [path], "data"]) General V:106345 0x1251122

Sets string data to item on given path. IDC means id of parent Tree View.

C Func: 0x139ecbc ScriptInfo: 0x1601b4c


tvSetData [101,[0],"Test data"] 

tvData([idc, [path]]) General V:106345 0x12511c1

Returns string data from item on given path. IDC means id of parent Tree View.

C Func: 0x139ec50 ScriptInfo: 0x1601b78


tvData [101,[0]] 

tvSetValue([idc, [path], val]) General V:106345 0x1251260

Sets scalar data to item on given path. IDC means id of parent Tree View.

C Func: 0x139ebc4 ScriptInfo: 0x1601ba4


tvSetValue [101,[0], 555] 

tvValue([idc, [path]]) General V:106345 0x12512ff

Returns scalar data from item on given path. IDC means id of parent Tree View.

C Func: 0x139eb58 ScriptInfo: 0x1601bd0


tvValue [101,[0]] 

tvCount([idc, [path]]) General V:106345 0x125139e

Returns childrens count of item on given path. IDC means id of parent Tree View.

C Func: 0x139eae4 ScriptInfo: 0x1601bfc


tvCount [101,[0]] 

tvSetCurSel([idc, [path]]) General V:106345 0x125143d

Sets cursor to given item on given path. IDC means id of parent Tree View.

C Func: 0x139ea74 ScriptInfo: 0x1601c28


tvSetCurSel [101,[0]] 

tvCurSel(idc) General V:106345 0x12514dc

Returns path to currently selected item. IDC means id of parent Tree View.

C Func: 0x139ea08 ScriptInfo: 0x1601c54


tvCurSel 101 

tvCurSel(idc) General V:106345 0x125157b

Returns path to currently selected item. IDC means id of parent Tree View.

C Func: 0x139ea08 ScriptInfo: 0x1601c80


tvCurSel 101 

tvSort([idc,[path],reversed]) General V:106345 0x125161a

Sorts childrens of given item by data. Param reversed is optional. IDC means id of parent Tree View.

C Func: 0x139e968 ScriptInfo: 0x1601cac


tvSort [101,[0],false] 

tvSortByValue([idc,[path],reversed], Sorts childrens of given item by value. Param reversed is optional. IDC means id of parent Tree View.) General V:106345 0x12516b9

tvSort [101,[0],false]

C Func: 0x139e8f0 ScriptInfo: 0x1601cd8

tvSetPicture([idc, [path],name]) General V:106345 0x1251758

Sets picture to item selected by path. IDC means id of parent Tree View. Name is the picture name. The picture is searched in the mission directory

C Func: 0x139e814 ScriptInfo: 0x1601d04


tvSetPicture [101,[0],"picture"] 

tvPicture([idc, [path]]) General V:106345 0x12517f7

Returns name of picture from item pointed to by path. IDC means id of parent Tree View.

C Func: 0x139e79c ScriptInfo: 0x1601d30


tvPicture [101,[0]] 

tvExpand([idc, [path]]) General V:106345 0x1251896

Expands tree item pointed to by path. IDC means id of parent Tree View.

C Func: 0x139e734 ScriptInfo: 0x1601d5c


tvExpand [101,[0]] 

tvCollapse([idc, [path]]) General V:106345 0x1251935

Collapses tree item pointed to by path. IDC means id of parent Tree View.

C Func: 0x139e6c4 ScriptInfo: 0x1601d88


tvCollapse [101,[0]] 

lnbSize(idc) General V:5501 0x12519d4

Returns [X,Y] size of 2D listbox.

C Func: 0x13a0c50 ScriptInfo: 0x1601db4


_n = lnbSize 105 

lnbGetColumnsPosition(idc, Returns the columns position in 2D listbox.) General V:5501 0x1251a73

_n = lnbGetColumnsSize 105

C Func: 0x13a0c28 ScriptInfo: 0x1601de0

lnbCurSelRow(idc, Returns the index of the selected row id 2D listbox.) General V:5501 0x1251b12

_row = lnbCurSel 105

C Func: 0x13a0c40 ScriptInfo: 0x1601e0c

lnbSetCurSelRow([idc, index], Selects the row with the given index of the 2D listbox.) General V:5501 0x1251bb1

lnbSetCurSel [105, 0]

C Func: 0x139e594 ScriptInfo: 0x1601e38

lnbClear(idc) General V:5501 0x1251c50

Clears all items in the 2D listbox.

C Func: 0x13a0c58 ScriptInfo: 0x1601e64


lnbClear 101 

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

Adds an row of strings.

C Func: 0x139e4cc ScriptInfo: 0x1601e90


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

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

Adds list of rows of strings.

C Func: 0x139e3c4 ScriptInfo: 0x1601ebc


_index = lnbAddArray  [idc,[[[text,text,text], [value], [data]], [[text,text,text], [value, value], [data]]]] . Returns row index. 

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

Removes row with given index from the 2D listbox.

C Func: 0x139e368 ScriptInfo: 0x1601ee8


lnbDeleteRow [105, 0] 

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

Adds an column at given position. It returns the index of the newly added column.

C Func: 0x139e2cc ScriptInfo: 0x1601f14


_index = lnbAddColumn [105, 0.8] 

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

Removes column with given index.

C Func: 0x139e27c ScriptInfo: 0x1601f40


lnbDeleteColumn [101, 0] 

lnbsetColumnsPos([idc, [row, column], data], Sets the additional text (invisible) in the item with the given position of the 2D listbox.) General V:5501 0x125200a

lnbSetData [101, [0,1], "#1"]

C Func: 0x139e1d0 ScriptInfo: 0x1601f6c

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

Returns the shown text in the item with the given position of the 2D listbox.

C Func: 0x139e13c ScriptInfo: 0x1601f98


_text = lnbText [101, [0,1]] 

lnbSetText([idc, [row, column], data], Sets the additional text (invisible) in the item with the given position of the 2D listbox.) General V:5501 0x1252148

lnbSetData [101, [0,1], "#1"]

C Func: 0x139e130 ScriptInfo: 0x1601fc4

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

Returns the additional text (invisible) in an item with the given position of the 2D listbox.

C Func: 0x139e090 ScriptInfo: 0x1601ff0


_data = lnbData [101, [0,1]] 

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

Sets the additional text (invisible) in the item with the given position of the 2D listbox.

C Func: 0x139e084 ScriptInfo: 0x160201c


lnbSetData [101, [0,1], "#1"] 

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

Returns the additional integer value in the item with the given position of the 2D listbox.

C Func: 0x139dff8 ScriptInfo: 0x1602048


_value = lnbValue [101, [0,1]] 

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

Sets the additional integer value in the item with the position index of the 2D listbox.

C Func: 0x139df54 ScriptInfo: 0x1602074


lnbSetValue [101, [0,1], 1] 

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

Returns the picture name of the item with the given position of the 2D listbox.

C Func: 0x139ded4 ScriptInfo: 0x16020a0


_picture = lnbPicture [101, [0,1]] 

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

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: 0x139dd78 ScriptInfo: 0x16020cc


lnbSetPicture [101, [0,1], "iskoda"] 

lnbColor([idc, [row, column]) General V:5501 0x12525a1

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

C Func: 0x139dcc8 ScriptInfo: 0x16020f8


_color = lnbColor [101, [0,1]] 

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

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

C Func: 0x139dc08 ScriptInfo: 0x1602124


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

sliderPosition(idc) General V:1.79 0x12526df

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

C Func: 0x13a0a14 ScriptInfo: 0x1602150


_pos = sliderPosition 101 

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

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

C Func: 0x139daf0 ScriptInfo: 0x160217c


sliderSetPosition [100, 0] 

sliderRange(idc) General V:1.79 0x125281d

Returns the limits (as an array [min, max]) of the slider with id idc of the topmost user dialog.

C Func: 0x13a09a4 ScriptInfo: 0x16021a8


_limits = sliderRange 100 

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

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

C Func: 0x139d9e4 ScriptInfo: 0x16021d4


sliderSetRange [100, 0, 10] 

sliderSpeed(idc) General V:1.79 0x125295b

Returns the speed (as an array [line, page]) of the slider with id idc of the topmost user dialog.

C Func: 0x13a0934 ScriptInfo: 0x1602200


_speed = sliderSpeed 

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

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: 0x139d864 ScriptInfo: 0x160222c


sliderSetSpeed [100, 0.5, 2.0] 

addWeaponPool([name, count]) General V:1.75 0x1252a99

Adds count weapons of type name into the weapon pool (used in campaigns to transfer weapons to the next mission).

C Func: 0x139d7d0 ScriptInfo: 0x1602258

addMagazinePool() General V:1.75 0x1252b38

Adds count magazines of type name into the weapon pool (used in the campaign to transfer weapons to the next mission).

C Func: 0x139d744 ScriptInfo: 0x1602284

addItemPool() General V:1.75 0x1252bd7

Adds count items of type name into the weapon pool (used in the campaign to transfer weapons to the next mission).

C Func: 0x139d6c0 ScriptInfo: 0x16022b0

putWeaponPool(obj) General V:1.75 0x1252c76

Transfers weapons and magazines from the weapon pool (used in campaigns to transfer weapons to the next mission) into the cargo space of object obj.

C Func: 0x139d614 ScriptInfo: 0x16022dc

pickWeaponPool(obj) General V:1.75 0x1252d15

Transfers weapons and magazines from the cargo space of object obj to the weapon pool (used in campaigns to transfer weapons to the next mission).

C Func: 0x139d56c ScriptInfo: 0x1602308

queryWeaponPool(name) General V:1.75 0x1252db4

Returns the number of weapons of type name in the weapon pool (used in campaigns to transfer weapons to the next mission).

C Func: 0x139d4e0 ScriptInfo: 0x1602334

queryMagazinePool(name) General V:1.75 0x1252e53

Returns the number of magazines of type name in the weapon pool (used in campaigns to transfer weapons to the next mission).

C Func: 0x139d44c ScriptInfo: 0x1602360

queryItemsPool(name) General V:1.75 0x1252ef2

Returns the number of items of type name in the weapon pool (used in campaigns to transfer weapons to the next mission).

C Func: 0x139d3bc ScriptInfo: 0x160238c

drop(array) General V:1.50 0x1252f91

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

C Func: 0x139d364 ScriptInfo: 0x16023b8

onBriefingPlan(sound) General V:1.75 0x1253030

Defines a sound (voice) that is played the first time when the Plan section in the briefing is selected.

C Func: 0x139d2c8 ScriptInfo: 0x16023e4


onBriefingPlan "PlanVoiceOver" 

onBriefingNotes(sound) General V:1.75 0x12530cf

Defines a sound (voice) that is played the first time when the Notes section in the briefing is selected.

C Func: 0x139d228 ScriptInfo: 0x1602410


onBriefingNotes "NotesVoiceOver" 

onBriefingGroup(sound) General V:1.75 0x125316e

Defines a sound (voice) that is played the first time when the Group section in the briefing is selected.

C Func: 0x139d184 ScriptInfo: 0x160243c


onBriefingGroup "GroupVoiceOver" 

onBriefingTeamSwitch(sound) General V:2.92 0x125320d

Defines a sound (voice) that is played the first time when the Team switch section in the briefing is selected.

C Func: 0x139d0cc ScriptInfo: 0x1602468


onBriefingTeamSwitch "TeamSwitchVoiceOver" 

onEachFrame(command) General V:97871 0x12532ac

Defines an action performed on each frame (even when game is paused). Code is performed synchronously, cannot contain any sleep or wait.

C Func: 0x139d01c ScriptInfo: 0x1602494


onEachFrame {} 

onMapSingleClick(command) General V:1.91 0x125334b

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: 0x139ceb4 ScriptInfo: 0x16024c0


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

onPlayerConnected(statement) General V:2.10 0x12533ea

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: 0x139ce00 ScriptInfo: 0x16024ec

onPlayerDisconnected(statement) General V:2.10 0x1253489

This statement is launched whenever a player is disconnected from a MP session. Variables _id, _name and _uid are set.

C Func: 0x139cd6c ScriptInfo: 0x1602518

fillWeaponsFromPool(person) General V:1.75 0x1253528

Adds magazines from the campaign pool to the person (depending on the weapons the person has).

C Func: 0x139ccdc ScriptInfo: 0x1602544


fillWeaponsFromPool victor 

skill(person) General V:1.75 0x12535c7

Returns the current level of ability of the person.

C Func: 0x1321484 ScriptInfo: 0x1602570


skill player 

primaryWeapon(vehicle) General V:1.75 0x1253666

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

C Func: 0x139cc18 ScriptInfo: 0x160259c


primaryWeapon player 

secondaryWeapon(vehicle) General V:1.75 0x1253705

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

C Func: 0x139cb94 ScriptInfo: 0x16025c8


secondaryWeapon player 

handgunWeapon(unit) General V:1.75 0x12537a4

Returns the name of a units's handgun (an empty string if there is none).

C Func: 0x139cb20 ScriptInfo: 0x16025f4


handgunWeapon player 

weapons(vehicle) General V:1.75 0x1253843

Returns an array of names of all the vehicle's weapons.

C Func: 0x132059c ScriptInfo: 0x1602620


weapons player 

weaponsItems(vehicle, Returns an array with subarrays contains class names and also names of connected items of all the vehicle's weapons like. [['arifle_MX_ACO_pointer_F','','acc_pointer_IR','optic_Aco',['30Rnd_65x39_caseless_mag',29]],['hgun_P07_F','','','',['16Rnd_9x21_Mag',16]]]) General V:1.75 0x12538e2

weapons player

C Func: 0x139c9bc ScriptInfo: 0x160264c

magazines(vehicle) General V:1.75 0x1253981

Returns an array with the type names of all the vehicle's magazines.

C Func: 0x12fec40 ScriptInfo: 0x1602678


magazines player 

magazinesAmmo(vehicle) General V:1.75 0x1253a20

Returns an array of subarrays with the type names and ammo left of all the vehicle's magazines.

C Func: 0x139c8d4 ScriptInfo: 0x16026a4


magazinesAmmo player 

magazinesAmmoFull(vehicle) General V:1.75 0x1253abf

Returns an array of subarrays with the type names and ammo left of all the vehicle's magazines.

C Func: 0x139c8a4 ScriptInfo: 0x16026d0


magazinesAmmoFull player 

magazinesDetail(unit, Returns an array with the type names of all the unit's magazines.) General V:1.75 0x1253b5e

magazines player

C Func: 0x139c84c ScriptInfo: 0x16026fc

magazinesDetailUniform(unit, Returns an array with the type names of all the unit's uniform magazines.) General V:1.75 0x1253bfd

magazinesUniform player

C Func: 0x139c7d0 ScriptInfo: 0x1602728

magazinesDetailVest(unit, Returns an array with the type names of all the unit's vest magazines.) General V:1.75 0x1253c9c

magazinesVest player

C Func: 0x139c758 ScriptInfo: 0x1602754

magazinesDetailBackpack(unit, Returns an array with the type names of all the unit's backpack magazines.) General V:1.75 0x1253d3b

magazinesBackpack player

C Func: 0x139c6d4 ScriptInfo: 0x1602780

deleteStatus(statusName) General V:1.75 0x1253dda

Deletes a status created by saveStatus from the campaign progress file.

C Func: 0x139c650 ScriptInfo: 0x16027ac


deleteStatus "playerState" 

deleteIdentity(identityName) General V:1.75 0x1253e79

Deletes an identity created by saveIdentity from the campaign progress file.

C Func: 0x139c5c0 ScriptInfo: 0x16027d8


deleteIdentity "playerIdentity" 

netId(object, Unique ID of an object., netId player) General V:NaN 0x1253f18

1:8965

C Func: 0x139c588 ScriptInfo: 0x1602804

netId(group, Unique ID of a group., netId (group player)) General V:NaN 0x1253fb7

1:5623

C Func: 0x139c588 ScriptInfo: 0x1602830

objectFromNetId(id, Get object with given unique ID., objectFromNetId netId player) General V:NaN 0x1254056

player

C Func: 0x139c4fc ScriptInfo: 0x160285c

groupFromNetId(id, Get group with given unique ID., groupFromNetId (netId group player)) General V:NaN 0x12540f5

group player

C Func: 0x139c498 ScriptInfo: 0x1602888

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

Create a team and name it.

C Func: 0x139c42c ScriptInfo: 0x16028b4


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

deleteTeam(team) Agents V:2.90 0x1254233

Destroy given team.

C Func: 0x139c3f8 ScriptInfo: 0x16028e0


deleteTeam _team 

teamMember(person) Agents V:2.90 0x12542d2

Return an agent for given person.

C Func: 0x1325140 ScriptInfo: 0x160290c


_agent = teamMember player 

agent(agent) Agents V:2.90 0x1254371

Return a person for given agent.

C Func: 0x1371f38 ScriptInfo: 0x1602938


_person = agent _agent 

members(team) Agents V:2.90 0x1254410

Return a list of members in given team.

C Func: 0x139c330 ScriptInfo: 0x1602964


_members = members _team 

teamType(team) Agents V:2.90 0x12544af

Return a type of given team.

C Func: 0x139c2ec ScriptInfo: 0x1602990


_type = teamType _team 

teamName(team) Agents V:2.90 0x125454e

Return a name of given team.

C Func: 0x139c2a8 ScriptInfo: 0x16029bc


_name = teamName _team 

formation(team) Agents V:2.90 0x12545ed

Return a formation of given team.

C Func: 0x13283c0 ScriptInfo: 0x16029e8


_formation = formation _team 

fromEditor(teamMember) Agents V:2.90 0x125468c

Return if given team was inserted directly from mission editor.

C Func: 0x139c1f0 ScriptInfo: 0x1602a14


_fromEditor = fromEditor _member 

leader() Agents V:2.92 0x125472b

team

C Func: 0x13212dc ScriptInfo: 0x1602a40


Return the leader of given team. 

isAgent(teamMember) Agents V:2.92 0x12547ca

Check if team member is an agent.

C Func: 0x139c1a0 ScriptInfo: 0x1602a6c

resources() Agents V:2.92 0x1254869

teamMember

C Func: 0x139c160 ScriptInfo: 0x1602a98


Return a list of the resources belonging to a team. 

isNull(NetObject, Checks whether the value is equal to objNetNull. Note: a==ObjNetNull does not work, because objNetNull is not equal to anything, even to itself., isNull objNetNull) General V:69527 0x1254908

true

C Func: 0x132ec90 ScriptInfo: 0x1602ac4

getPosASLW(obj) General V:2.92 0x12549a7

Returns the object position in format PositionASLW.

C Func: 0x139c054 ScriptInfo: 0x1602af0


getPosASLW player 

enableCaustics(enable) General V:81571 0x1254a46

Enable/disable caustics drawing.

C Func: 0x139c018 ScriptInfo: 0x1602b1c

isBleeding(unit) General V:81571 0x1254ae5

Return whether the unit is bleeding.

C Func: 0x139bfe4 ScriptInfo: 0x1602b48

isBurning(unit) General V:81571 0x1254b84

Return whether the unit is burning.

C Func: 0x139bfb4 ScriptInfo: 0x1602b74

isAbleToBreathe(unit) General V:81571 0x1254c23

Return whether the unit is diving.

C Func: 0x139bf80 ScriptInfo: 0x1602ba0

underwater() General V:81571 0x1254cc2

object

C Func: 0x139bf48 ScriptInfo: 0x1602bcc


Return whether object is fully underwater. 

getBurningValue(unit) General V:81571 0x1254d61

Return amount of damage from fire.

C Func: 0x139bf14 ScriptInfo: 0x1602bf8

getOxygenRemaining(unit) General V:81571 0x1254e00

Return amount of remaining oxygen.

C Func: 0x139bedc ScriptInfo: 0x1602c24

getBleedingRemaining(unit) General V:81571 0x1254e9f

Return reamining time of bleeding.

C Func: 0x139bea0 ScriptInfo: 0x1602c50

debriefingText(end) General V:81571 0x1254f3e

Return debriefing text.

C Func: 0x139be74 ScriptInfo: 0x1602c7c

setWindDir([x, z]) General V:2.92 0x1254fdd

Set current wind direction and force.

C Func: 0x139be38 ScriptInfo: 0x1602ca8

setLocalWindParams([strength, diameter]) General V:2.92 0x125507c

Sets parameters for local wind emiters (like helicopters). Default [1.0, 1.0]

C Func: 0x139bdb8 ScriptInfo: 0x1602cd4

setApertureNew([min, std, max, std lum]) General V:86000 0x125511b

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

C Func: 0x139bd84 ScriptInfo: 0x1602d00

getArtilleryAmmo([unitlist]) General V:86000 0x12551ba

Get list of all available magazines of artillery units in the list.

C Func: 0x139bd20 ScriptInfo: 0x1602d2c

setHorizonParallaxCoef(coef) General V:89730 0x1255259

Sets coef used to shift horizon position based on camera height (use 0 to disable shifting).

C Func: 0x139bc94 ScriptInfo: 0x1602d58

addMusicEventHandler([type, function]) General V:92910 0x12552f8

Add an music track event handler. Returns id of the handler or -1 when failed.

C Func: 0x139bbb0 ScriptInfo: 0x1602d84


_id = addMusicEventHandler ["MusicStart", "hint format['Sample %1 start', _this select 0]"] 

setMusicEventHandler([type, function]) General V:92910 0x1255397

Sets given music track event handler.

C Func: 0x139bb44 ScriptInfo: 0x1602db0


setMusicEventHandler ["MusicTerminate", ""] 

removeMusicEventHandler([type, id]) General V:92910 0x1255436

Remove specified music track event handler.

C Func: 0x139bad0 ScriptInfo: 0x1602ddc


removeMusicEventHandler ["MusicTerminate", "1"] 

removeAllMusicEventHandlers(type) General V:92910 0x12554d5

Remove all music track event handlers.

C Func: 0x139ba60 ScriptInfo: 0x1602e08


removeAllMusicEventHandlers "MusicStart" 

synchronizedWaypoints(trigger) General V:NaN 0x1255574

Return the list of waypoints synchronized with a given trigger.

C Func: 0x139b9e4 ScriptInfo: 0x1602e34


synchronizedWaypoints trigger1 

synchronizedWaypoints(waypoint) General V:NaN 0x1255613

Return the list of waypoints synchronized with a given waypoint.

C Func: 0x139b9e4 ScriptInfo: 0x1602e60


synchronizedWaypoints [group player, 1] 

synchronizedTriggers(waypoint) General V:NaN 0x12556b2

Return the list of triggers synchronized with a given waypoint.

C Func: 0x139b8f8 ScriptInfo: 0x1602e8c


synchronizedTriggers [group player, 1] 

boundingBoxReal(obj) General V:NaN 0x1255751

Returns a bounding box of given object in model coordinates space. The result is in format [[minX, minZ, minY], [maxX, maxZ, maxY]].

C Func: 0x139b83c ScriptInfo: 0x1602eb8


boundingBoxReal cursorTarget 

weaponLowered(soldier) General V:NaN 0x12557f0

True if given soldier's weapon is lowered.

C Func: 0x136a2dc ScriptInfo: 0x1602ee4


weaponLowered player 

linearConversion([min, max, value, newMin, newMax, clamp]) General V:NaN 0x125588f

Converts value in interval [min, max] to newMin + a*(max-min)/(newMax - newMin), potentially clamps the final value.

C Func: 0x139b718 ScriptInfo: 0x1602f10


linearConversion [4, 8, 5, 0, 1, false] 

drawLine3D([start, end, color]) General V:NaN 0x125592e

Draws a line of a given COLOR from START to END.

C Func: 0x139b680 ScriptInfo: 0x1602f3c


drawLine3D [position soldier, position cursorTarget, [1,1,1,1]] 

drawIcon3D([texture, color, position, width, height, angle, text, shadow, textSize, font]) General V:NaN 0x12559cd

Draws an ingame icon at a given position.

C Func: 0x139b578 ScriptInfo: 0x1602f68


drawIcon3D ["#(argb,8,8,3)color(0,0.5,1,1)", [1,1,1,1], position cursorTarget, 1, 1, 45, "Target", 1, 0.05, "TahomaB"] 

playSound3D(["filename", source, isInside, position, volume, frequency, distance]) General V:NaN 0x1255a6c

Plays a sound with given filename. Position of the source object in world coordinates. Distance is how far is sound audible (0 = no max distance). At least 2 parameters must be added.

C Func: 0x139b3e4 ScriptInfo: 0x1602f94


playSound3D ["A3\Sounds_F\sfx\blip1.wav", player] or playSound3D ["A3\Sounds_F\sfx\blip1.wav", player, false, getPos player, 1, 1, 0] 

getFuelCargo(vehicle) General V:NaN 0x1255b0b

Returns the fuel amount in the cargo space of a refuelling vehicle.

C Func: 0x139b378 ScriptInfo: 0x1602fc0


getFuelCargo vehicle 

getRepairCargo(vehicle) General V:NaN 0x1255baa

Returns the amount or repair resources in the cargo space of a repair vehicle.

C Func: 0x139b300 ScriptInfo: 0x1602fec


getRepairCargo vehicle 

getAmmoCargo(vehicle) General V:NaN 0x1255c49

Returns the amount of ammo resources in the cargo space of a repair vehicle.

C Func: 0x139b288 ScriptInfo: 0x1603018


getAmmoCargo vehicle 

waypointLoiterRadius(waypoint) General V:1.50 0x1255ce8

Gets the waypoint loiter radius. Waypoint uses format Waypoint.

C Func: 0x139b1fc ScriptInfo: 0x1603044


waypointLoiterRadius [groupOne, 1] 

waypointLoiterType(waypoint, Gets the waypoint loiter type. Waypoint uses format Waypoint. ) General V:1.50 0x1255d87

waypointLoiterRadius [groupOne, 1]

C Func: 0x139b19c ScriptInfo: 0x1603070

lbSetTooltip([idc, index, tooltip]) General V:NaN 0x1255e26

Sets tooltip for item with the given index of the listbox or combobox with id idc of the topmost user dialog to the given data.

C Func: 0x139b0cc ScriptInfo: 0x160309c


lbSetTooltip [101, 1, "tooltip"] 

enableDebriefingStats([left, top, width, height]) General V:NaN 0x1255ec5

Enable debriefing score table. The table will be displayed at specified coordinates.

C Func: 0x139b014 ScriptInfo: 0x16030c8


enableDebriefingStats [0.1, 0.1, 0.8, 0.8] 

isUavConnected(Uav) General V:106264 0x1255f64

Returns true if Uav is connected to some terminal.

C Func: 0x139afb4 ScriptInfo: 0x16030f4


isUavConnected cursorTarget 

getConnectedUav(Unit) General V:106482 0x1256003

Returns Uav if unit has connection to some Uav.

C Func: 0x139af54 ScriptInfo: 0x1603120


getConnectedUav player 

setDefaultCamera([ position, direction = [0,0,-1]]) General V:106482 0x12560a2

Sets the position and direction for camera used after camera is set on no object (e.g. leaving a multiplayer game).

C Func: 0x139ae74 ScriptInfo: 0x160314c


setDefaultCamera [ [ 5000,5000,200], [1,1,-1] ] 

createVehicleCrew(Vehicle) General V:NaN 0x1256141

Creates crew to given vehicle.

C Func: 0x139ae24 ScriptInfo: 0x1603178


createVehicleCrew vehicle0 

uavControl(Uav) General V:109018 0x12561e0

Get list with unit connected to vehicle and position in that vehicle.

C Func: 0x139adb4 ScriptInfo: 0x16031a4


uavControl cameraOn 

unitAddons(unitClass) General V:NaN 0x125627f

Get list with addons which unitClass belongs to.

C Func: 0x139ad50 ScriptInfo: 0x16031d0


unitAddons unitClass 

simulInClouds(position) General V:NaN 0x125631e

Returns if given position is in clouds.

C Func: 0x139ad18 ScriptInfo: 0x16031fc

simulCloudDensity(position) General V:NaN 0x12563bd

Returns density of clouds at given position.

C Func: 0x139acd4 ScriptInfo: 0x1603228

simulCloudOcclusion([position1, position2]) General V:NaN 0x125645c

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

C Func: 0x139ac54 ScriptInfo: 0x1603254

setSimulWeatherLayers(layers) General V:NaN 0x12564fb

Sets simul weather layers

C Func: 0x139ac18 ScriptInfo: 0x1603280

getDescription(unit) General V:NaN 0x125659a

Returns the string representation of unit as an four slots array ([unit,uniform,vest,backpack])

C Func: 0x139ab90 ScriptInfo: 0x16032ac


getDescription player 

selectedEditorObjects(map) Editor V:2.92 0x12884d3

Returns a list of currently selected editor objects.

C Func: 0x13e9448 ScriptInfo: 0x161183c

getEditorCamera(map) Editor V:2.92 0x128856c

Fetches a reference to the mission editor camera.

C Func: 0x13e9404 ScriptInfo: 0x1611868

restartEditorCamera(map) Editor V:2.92 0x1288605

Restarts the mission editor camera (if it was deleted by a script, for example).

C Func: 0x13e939c ScriptInfo: 0x1611894

importAllGroups(map) Editor V:2.92 0x128869e

Imports all groups into the RTE.

C Func: 0x13e9368 ScriptInfo: 0x16118c0

getEditorMode(map) Editor V:2.92 0x1288737

Returns the current mode of the editor.

C Func: 0x13e9330 ScriptInfo: 0x16118ec

isShowing3DIcons(map) Editor V:2.92 0x12887d0

Returns true if the editor is set to draw 3D icons.

C Func: 0x13e92e8 ScriptInfo: 0x1611918

nextMenuItemIndex(map) Editor V:2.92 0x1288869

Returns the next available menu item index.

C Func: 0x13e92a8 ScriptInfo: 0x1611944

tan(x) Default V:1 0x1297d6c

The tangens of x, the argument is in degrees.

C Func: 0x140b83c ScriptInfo: 0x163fe80


tan 45 

asin(x) Default V:30 0x1297e05

The arcsine of x, the result is in degrees.

C Func: 0x140b7f8 ScriptInfo: 0x163feac


asin 0.5 

acos(x) Default V:60 0x1297e9e

The arccosine of x, the result is in degrees.

C Func: 0x140b7b0 ScriptInfo: 0x163fed8


acos 0.5 

atg(x) Default V:45 0x1297f37

The arctangens of x, the result is in degrees.

C Func: 0x140b770 ScriptInfo: 0x163ff04


atg 1 

atan(x) Default V:45 0x1297fd0

The arctangens of x, the result is in degrees.

C Func: 0x140b760 ScriptInfo: 0x163ff30


atan 1 

deg(x) Default V:57.295 0x1298069

Converts x from radians to degrees.

C Func: 0x13f5df4 ScriptInfo: 0x163ff5c


deg 1 

rad(x) Default V:3.1415 0x1298102

Converts x from degrees to radians.

C Func: 0x140b6f4 ScriptInfo: 0x163ff88


rad 180 

log(x) Default V:1 0x129819b

The base-10 logarithm of x.

C Func: 0x13489b8 ScriptInfo: 0x163ffb4


log 10 

ln(x) Default V:2.302 0x1298234

The natural logarithm of x.

C Func: 0x140b6a0 ScriptInfo: 0x163ffe0


ln 10 

exp(x) Default V:2.7182 0x12982cd

The exponential value of x.

C Func: 0x140b670 ScriptInfo: 0x164000c


exp 1 

sqrt(x) Default V:3 0x1298366

The square root of x.

C Func: 0x140b648 ScriptInfo: 0x1640038


sqrt 9 

abs(x) Default V:3 0x12983ff

The absolute value of x.

C Func: 0x140b620 ScriptInfo: 0x1640064


abs -3 

floor(x) Default V:5 0x1298498

The floor value of x.

C Func: 0x140b5f4 ScriptInfo: 0x1640090


floor 5.25  

ceil(x) Default V:6 0x1298531

The ceil value of x.

C Func: 0x140b5c4 ScriptInfo: 0x16400bc


ceil 5.25 

round(x) Default V:-5 0x12985ca

The round value of x.

C Func: 0x140b594 ScriptInfo: 0x16400e8


round -5.25 

finite(x, True, if number is finite (not infinite and valid number), finite 10/0) Default V:NaN 0x1298663

false

C Func: 0x140b544 ScriptInfo: 0x1640114

+(a) Default V:4 0x12986fc

unary plus: returns a

C Func: 0x1313844 ScriptInfo: 0x1640140


+4 

+(a, unary plus: returns a copy of the array, + [0, 1, 2]) Default V:NaN 0x1298795

[0, 1, 2]

C Func: 0x1313844 ScriptInfo: 0x164016c

-(a) Default V:3 0x129882e

unary minus: zero minus a

C Func: 0x130fe48 ScriptInfo: 0x1640198


- - 3 

!(a, not a, !true) Default V:NaN 0x12988c7

false

C Func: 0x1311414 ScriptInfo: 0x16401c4

not(a, not a, not false) Default V:NaN 0x1298960

true

C Func: 0x13f5e04 ScriptInfo: 0x16401f0

count(array) Default V:4 0x12989f9

The number of elements in the array.

C Func: 0x12feb14 ScriptInfo: 0x164021c


count [0,0,1,2] 

call(code) Default V:1.85 0x1298a92

Executes the given code.

C Func: 0x1409780 ScriptInfo: 0x1640248


call {"x=2"} 

comment(comment) Default V:1.85 0x1298b2b

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

C Func: 0x140b3dc ScriptInfo: 0x1640274


comment "This is a comment." 

private(variable) Default V:1.85 0x1298bc4

Introduces one or more local variables in the innermost scope.

C Func: 0x13c4c70 ScriptInfo: 0x16402a0

if(condition) Default V:1.85 0x1298c5d

The first part of the if command.

C Func: 0x13c4c94 ScriptInfo: 0x16402cc


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

while(condition) Default V:1.85 0x1298cf6

The first part of the while contruct.

C Func: 0x13c4c98 ScriptInfo: 0x16402f8


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

with(namespace) Default V:5501 0x1298d8f

The first part of the with contruct.

C Func: 0x13812f0 ScriptInfo: 0x1640324


with missionNamespace do {global=global+1} 

typeName(any, Returns type-name of expression. Type is returned as string, typeName "hello") Default V:2.00 0x1298e28

"string"

C Func: 0x12fce38 ScriptInfo: 0x1640350

assert(codition) Default V:2.00 0x1298ec1

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

C Func: 0x12ff474 ScriptInfo: 0x164037c


assert (_x>0) 

echo(text) Default V:2.00 0x1298f5a

Sends any text into the debugger console or the logfile.

C Func: 0x13dbc08 ScriptInfo: 0x16403a8


echo "Text in logfile" 

str(any value, Converts any variable to a string., str(2+3)) Default V:2.00 0x1298ff3

"5"

C Func: 0x140b190 ScriptInfo: 0x16403d4

isNil(variable) Default V:2.00 0x129908c

Tests whether the variable is null. The function returns true if the variable is null and false if it's not.

C Func: 0x140b0ec ScriptInfo: 0x1640400


if (isNil("_pokus")) then {_pokus=0;} 

supportInfo(mask, 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 *:*., supportInfo "b:select*") Default V:2.00 0x1299125

["b:ARRAY select SCALAR","b:ARRAY select BOOL"]

C Func: 0x140aeb8 ScriptInfo: 0x164042c

for(var) Default V:NaN 0x12991be

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

C Func: 0x13c4ca0 ScriptInfo: 0x1640458


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

for(forspec) Default V:NaN 0x1299257

creates cycle, using C like style. See example.

C Func: 0x13c4ca0 ScriptInfo: 0x1640484


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

switch(exp) Default V:NaN 0x12992f0

Begins switch form

C Func: 0x13c4c8c ScriptInfo: 0x16404b0


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

case(b) Default V:NaN 0x1299389

see switch

C Func: 0x13c4c84 ScriptInfo: 0x16404dc

default(a) Default V:NaN 0x1299422

see switch

C Func: 0x12fce18 ScriptInfo: 0x1640508

scopeName(name) Default V:NaN 0x12994bb

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: 0x140ad20 ScriptInfo: 0x1640534

breakTo(name) Default V:NaN 0x1299554

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

C Func: 0x140ace0 ScriptInfo: 0x1640560

breakOut(name) Default V:NaN 0x12995ed

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

C Func: 0x140ac9c ScriptInfo: 0x164058c

try() Default V:NaN 0x1299686

code

C Func: 0x13c4c78 ScriptInfo: 0x16405b8


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

throw(expression) Default V:NaN 0x129971f

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

C Func: 0x13c4c7c ScriptInfo: 0x16405e4


throw "invalid argument" 

compile(expression) Default V:2.60 0x12997b8

Compile expression.

C Func: 0x140aa58 ScriptInfo: 0x1640610


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

compileFinal(expression, Compile expression. Expression cannot be ovverriden.) Default V:2.60 0x1299851

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

C Func: 0x140aa10 ScriptInfo: 0x164063c

waitUntil(condition) Default V:2.60 0x12998ea

Suspend execution of script until condition is satisfied.

C Func: 0x138d1a0 ScriptInfo: 0x1640668


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

parseNumber(string) Default V:2.92 0x1299983

Parse string containing real number.

C Func: 0x140a960 ScriptInfo: 0x1640694


parseNumber "0.125" 

toUpper(string, Convert the string to upper case., toUpper "ArmA") Default V:5195 0x1299a1c

"ARMA"

C Func: 0x140a914 ScriptInfo: 0x16406c0

toLower(string, Convert the string to lower case., toLower "ArmA") Default V:5195 0x1299ab5

"arma"

C Func: 0x140a8d0 ScriptInfo: 0x16406ec

toArray(string, Convert the string to the array of characters., toArray "ArmA") Default V:5195 0x1299b4e

[65, 114, 109, 65]

C Func: 0x140a874 ScriptInfo: 0x1640718

toString(characters, Convert the array of characters to the string., toString [65, 114, 109, 65]) Default V:5195 0x1299be7

"ArmA"

C Func: 0x140a808 ScriptInfo: 0x1640744

scriptName(name) Default V:5501 0x1299c80

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

C Func: 0x140a798 ScriptInfo: 0x1640770


scriptName "Trading" 
surprise, script-based anticheats are a waste of time