Set time when old pars are replaced by last set, if 0 set immediately
C Func: 0x1301ad8 ScriptInfo: 0x15e5c30
hndl ppEffectCommit 0
Set time when old pars are replaced by last set, if 0 set immediately
C Func: 0x1301ad8 ScriptInfo: 0x15e5c64
hndl ppEffectCommit 0
Forces to use PP effect in NVG
C Func: 0x1301a7c ScriptInfo: 0x15e5c98
Set which global variable will contain given location.
C Func: 0x132f4dc ScriptInfo: 0x15eb6ec
Set a new text attached to given location.
C Func: 0x132f4a8 ScriptInfo: 0x15eb720
Set if given location has rectangular shape.
C Func: 0x132f468 ScriptInfo: 0x15eb754
Attach a object to given location.
C Func: 0x132f434 ScriptInfo: 0x15eb788
Set a new target side of given location.
C Func: 0x132f400 ScriptInfo: 0x15eb7bc
Set variable to given value in the variable space of given location.
C Func: 0x132f398 ScriptInfo: 0x15eb7f0
Return the value of variable in the variable space of given location.
C Func: 0x132f340 ScriptInfo: 0x15eb824
location
C Func: 0x132f2fc ScriptInfo: 0x15eb858
Check if the position is inside area defined by the location.
location2
C Func: 0x132f29c ScriptInfo: 0x15eb88c
Computes the distance between two locations or positions.
pos2
C Func: 0x132f29c ScriptInfo: 0x15eb8c0
Computes the distance between two locations or positions.
location2
C Func: 0x132f29c ScriptInfo: 0x15eb8f4
Computes the distance between two locations or positions.
Computes the distance square between two locations or positions.
C Func: 0x132f23c ScriptInfo: 0x15eb928
Computes the distance square between two locations or positions.
C Func: 0x132f23c ScriptInfo: 0x15eb95c
Computes the distance square between two locations or positions.
C Func: 0x132f23c ScriptInfo: 0x15eb990
Checks whether two locations are the same. If either of them is null, false is returned.
C Func: 0x132f1dc ScriptInfo: 0x15eb9c4
Checks whether two locations are different. If either of them is null, true is returned.
C Func: 0x132f178 ScriptInfo: 0x15eb9f8
Draw location in the map.
C Func: 0x132f13c ScriptInfo: 0x15eba2c
Create a new record in a log.
C Func: 0x1349ee0 ScriptInfo: 0x15ed2a4
_record = player createDiaryRecord ["diary", "Kill all enemies."]
Set a new state of the task.
C Func: 0x1349eb0 ScriptInfo: 0x15ed2d8
Set a result of the task.
C Func: 0x1349e74 ScriptInfo: 0x15ed30c
Send a result of the task to the task sender.
C Func: 0x1349e18 ScriptInfo: 0x15ed340
Checks whether two tasks are equal.
C Func: 0x132f1dc ScriptInfo: 0x15ed374
Checks whether two tasks are different.
C Func: 0x132f178 ScriptInfo: 0x15ed3a8
Return the value of variable in the variable space of given task.
C Func: 0x132f340 ScriptInfo: 0x15ed3dc
Set variable to given value in the variable space of given task.
C Func: 0x132f398 ScriptInfo: 0x15ed410
Select the subject page in a log.
C Func: 0x1349cf8 ScriptInfo: 0x15ed444
Create a new simple task (subtask of parentTask).
C Func: 0x1349c90 ScriptInfo: 0x15ed478
Attach a destination to the simple task. Overrides setSimpleTaskTarget.
C Func: 0x1349c2c ScriptInfo: 0x15ed4ac
Attach a target to the simple task. Overrides setSimpleTaskDestination.
C Func: 0x1349b84 ScriptInfo: 0x15ed4e0
task setSimpleTaskTarget [vehicle, true]
Attach descriptions to the simple task.
C Func: 0x1349b10 ScriptInfo: 0x15ed514
Set the task as a current task of the person.
C Func: 0x1349ad0 ScriptInfo: 0x15ed548
Checks whether given subject is present in the diary of given person.
C Func: 0x1349a70 ScriptInfo: 0x15ed57c
Remove a simple task from the list of simple tasks.
C Func: 0x1349a28 ScriptInfo: 0x15ed5b0
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
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"
Sets the name of a person.
C Func: 0x132f4dc ScriptInfo: 0x1604de8
setName "JohnDee"
nameSound "JohnDeeSound"
C Func: 0x13c4a24 ScriptInfo: 0x1604e1c
Sets the speaker of a person.
C Func: 0x13c49e0 ScriptInfo: 0x1604e50
setSpeaker "JohnDee"
setName 1
C Func: 0x13c49a4 ScriptInfo: 0x1604e84
setFaceAnimation 0.5
C Func: 0x13c4918 ScriptInfo: 0x1604eb8
Sets the person's face.
C Func: 0x13c48e4 ScriptInfo: 0x1604eec
setFace "Face10"
Sets a unit's mimic. The following values are recognized: "Default", "Normal", "Smile", "Hurt", "Ironic", "Sad", "Cynic", "Surprised", "Agresive" and "Angry".
C Func: 0x13c481c ScriptInfo: 0x1604f20
setMimic "Angry"
Enables/Disables random lip.
C Func: 0x13c47ec ScriptInfo: 0x1604f54
Sets the flag texture. If the texture is "", the flag is not drawn.
C Func: 0x13c4774 ScriptInfo: 0x1604f88
setFlagTexture "usa_vlajka.pac"
Sets the flag side.
C Func: 0x13c4740 ScriptInfo: 0x1604fbc
setFlagSide east
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
Returns the given indexed position in a building. The returned value is in format
C Func: 0x13c4628 ScriptInfo: 0x1605024
building buildingPos 1
Controls the lamppost mode. Mode may be "ON", "OFF" and "AUTO". "AUTO" is default and means the lampost is only on during nighttime.
C Func: 0x13c4558 ScriptInfo: 0x1605058
nearestObject [player, "StreetLamp"] switchLight "Off"
Controls fireplace buring. Set to true to inflame the fireplace.
C Func: 0x13c44e4 ScriptInfo: 0x160508c
fireplaceOne inflame true
Adds number to the unit rating. This is usually used to reward for completed mission objectives. The rating for killed enemies and killed friendlies is adjusted automatically. When the rating is lower than zero, a unit is considered "renegade" and is an enemy to everyone.
C Func: 0x13c43a8 ScriptInfo: 0x16050c0
player addRating 1000
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
side addScore 10
C Func: 0x13c42b4 ScriptInfo: 0x1605128
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
Computes the distance between two objects or positions.
C Func: 0x132f29c ScriptInfo: 0x1605190
player distance leader player
Computes the distance square between two objects or positions.
C Func: 0x132f23c ScriptInfo: 0x16051c4
player distanceSqr (leader player)
Sets the object position. The pos array uses the
C Func: 0x13c4084 ScriptInfo: 0x16051f8
player setPos [getpos player select 0, getpos player select 1 + 10]
Sets the object position. The pos array uses the
C Func: 0x13c3fc4 ScriptInfo: 0x160522c
player setPosASL [getPosASL player select 0, getPosASL player select 1 + 10, getPosASL select 2]
player setPosASL [getPosATL player select 0, getPosATL player select 1 + 10, getPosATL select 2]
C Func: 0x13c3f04 ScriptInfo: 0x1605260
Sets the object position. The pos array uses the
C Func: 0x13c3e64 ScriptInfo: 0x1605294
Sets the object heading. The accepted heading range is from 0 to 360.
C Func: 0x13c3e00 ScriptInfo: 0x16052c8
player setDir 180
Sets the velocity (speed vector) of a vehicle.
C Func: 0x13c3db8 ScriptInfo: 0x16052fc
player setformdir 180
C Func: 0x13c3cbc ScriptInfo: 0x1605330
player setdammage 1
C Func: 0x13c3c1c ScriptInfo: 0x1605364
player setdamage 1
C Func: 0x13c3af8 ScriptInfo: 0x1605398
Obsolete.
C Func: 0x137c9ac ScriptInfo: 0x16053cc
Obsolete.
C Func: 0x13c3ae0 ScriptInfo: 0x1605400
Sets the height level for the helicopter. The accepted range is from 50 to 1000.
C Func: 0x13c3a60 ScriptInfo: 0x1605434
cobraOne flyInHeight 150
Moves the marker. The format of pos is
C Func: 0x13c39a0 ScriptInfo: 0x1605468
"MarkerOne" setMarkerPos getMarkerPos "MarkerTwo"
Moves the marker. The format of pos is
C Func: 0x13c38c8 ScriptInfo: 0x160549c
"MarkerOne" setMarkerPosLocal getMarkerPos "MarkerTwo"
Sets the marker type. Type may be any of: "Flag", "Flag1", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow" or "Empty". The marker is modified on all computers in a network session.
C Func: 0x13c37ac ScriptInfo: 0x16054d0
"MarkerOne" setMarkerType "Arrow"
Sets the marker type. Type may be any of: "Flag", "Flag1", "Dot", "Destroy", "Start", "End", "Warning", "Join", "Pickup", "Unknown", "Marker", "Arrow" or "Empty". The marker is only modified on the computer where the command is called.
C Func: 0x13c3680 ScriptInfo: 0x1605504
"MarkerOne" setMarkerTypeLocal "Arrow"
Sets the marker size. Size is in format [a-axis, b-axis]. The marker is modified on all computers in a network session.
C Func: 0x13c35d0 ScriptInfo: 0x1605538
"MarkerOne" setMarkerSize [100, 200]
Sets the marker size. Size is in format [a-axis, b-axis]. The marker is only modified on the computer where the command is called.
C Func: 0x13c350c ScriptInfo: 0x160556c
"MarkerOne" setMarkerSizeLocal [100, 200]
Sets the marker color. Color is one of: "Default", "ColorBlack", "ColorRed", "ColorRedAlpha", "ColorGreen", "ColorGreenAlpha", "ColorBlue", "ColorYellow" or "ColorWhite". The marker is modified on all computers in a network session.
C Func: 0x13c33e4 ScriptInfo: 0x16055a0
"MarkerOne" setMarkerColor "ColorBlack"
Sets the marker color. Color is one of: "Default", "ColorBlack", "ColorRed", "ColorRedAlpha", "ColorGreen", "ColorGreenAlpha", "ColorBlue", "ColorYellow" or "ColorWhite". The marker is only modified on the computer where the command is called.
C Func: 0x13c32a8 ScriptInfo: 0x16055d4
"MarkerOne" setMarkerColorLocal "ColorBlack"
Sets the waypoint position. Waypoint uses format
C Func: 0x13c31f0 ScriptInfo: 0x1605608
[groupOne, 1] setWPPos getMarkerPos "MarkerOne"
Checks whether the soldier is mounted in the vehicle.
C Func: 0x132f2fc ScriptInfo: 0x160563c
player in jeepOne
Counts how many shots the unit has left for the given magazine type.
C Func: 0x13214d0 ScriptInfo: 0x1605670
player ammo "M16"
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]
Checks whether the unit has the given weapon.
C Func: 0x13c3044 ScriptInfo: 0x16056d8
player hasWeapon "M16"
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"
player removeWeaponGobal "M16"
C Func: 0x13c2e90 ScriptInfo: 0x1605740
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"
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"
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"
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"
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]
Adds magazines to the unit.
C Func: 0x13c2ba4 ScriptInfo: 0x1605878
player addMagazines ["magazine name",count]
player addMagazine "M16"
C Func: 0x13c2a90 ScriptInfo: 0x16058ac
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"
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"
vehicle player removeMagazine ["60rnd_cmflaremagazine",[-1]]
C Func: 0x13c2864 ScriptInfo: 0x1605948
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"
vehicle player removeMagazines ["60rnd_cmflaremagazine",,[-1]]
C Func: 0x13c2654 ScriptInfo: 0x16059b0
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"
Selects the given weapon.
For weapon values see
C Func: 0x13c252c ScriptInfo: 0x1605a18
soldierOne selectWeapon "LAWLauncher"
The unit will fire from the given weapon.
C Func: 0x1320168 ScriptInfo: 0x1605a4c
soldierOne fire "HandGrenade"
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"]
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"
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
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"
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
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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
When used on a person, a smooth transition to the given move will be initiated.
C Func: 0x13c1528 ScriptInfo: 0x1605df4
soldierOne playMove "Stand"
When used on a person, the given move is started immediately (there is no transition). Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck.
C Func: 0x13c1424 ScriptInfo: 0x1605e28
soldierOne switchMove "FXStandDip"
When used on a person, a smooth transition to the given action will be initiated.
C Func: 0x13c13a4 ScriptInfo: 0x1605e5c
soldierOne playAction "SitDown"
When used on a person, the given action is started immediately (there is no transition). Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck.
C Func: 0x1353f98 ScriptInfo: 0x1605e90
soldierOne switchAction "SitDown"
When used on a person, a smooth transition to the given move will be initiated.
C Func: 0x13c1278 ScriptInfo: 0x1605ec4
soldierOne playGesture "Wave"
When used on a person, the given move is started immediately (there is no transition).
C Func: 0x13c11f0 ScriptInfo: 0x1605ef8
soldierOne switchGesture "Wave"
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"
Checks whether two objects are the same. If either of them is objNull, false is returned.
C Func: 0x132f1dc ScriptInfo: 0x1605f60
player == leader player
Checks whether two objects are different. If either of them is objNull, true is returned.
C Func: 0x132f178 ScriptInfo: 0x1605f94
vehicle player != player
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
Checks whether two groups are different. If either of them is grpNull, true is returned.
C Func: 0x132f178 ScriptInfo: 0x1605ffc
group player != group soldierOne
Checks whether two side values are equal.
C Func: 0x132f1dc ScriptInfo: 0x1606030
side player == west
Checks whether two side values are different.
C Func: 0x132f178 ScriptInfo: 0x1606064
side player != west
Checks whether two structured text values are equal.
C Func: 0x132f1dc ScriptInfo: 0x1606098
Checks whether two structured text values are different.
C Func: 0x132f178 ScriptInfo: 0x16060cc
General
C Func: 0x13c0de8 ScriptInfo: 0x1606100
General
C Func: 0x13c0d5c ScriptInfo: 0x1606134
General
C Func: 0x13c0cd8 ScriptInfo: 0x1606168
Counts how many vehicles in the array are of the given type. For types see
C Func: 0x13c0c44 ScriptInfo: 0x160619c
"Tank" countType list triggerOne
Checks how many vehicles belong to the given side.
C Func: 0x13c0be4 ScriptInfo: 0x16061d0
west countSide list triggerOne
Allows the getting in of vehicles of all units in the list.
C Func: 0x13c0b6c ScriptInfo: 0x1606204
[unitOne, unitTwo] allowGetIn false
Forces all units in the list to get in their assigned vehicle.
C Func: 0x13c0af4 ScriptInfo: 0x1606238
[unitOne, unitTwo] orderGetIn true
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
Creates a move waypoint on the given position (format
C Func: 0x1334e5c ScriptInfo: 0x16062a0
groupOne move getPos player
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
Sets the group behaviour mode. Behaviour is one of: "CARELESS", "SAFE", "AWARE", "COMBAT" or "STEALTH".
C Func: 0x13c07ec ScriptInfo: 0x1606308
groupOne setBehaviour "SAFE"
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"
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"
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"
Sets the unit position rules. Mode may be one of: "DOWN", "UP" or "AUTO".
C Func: 0x13c04cc ScriptInfo: 0x16063d8
soldierOne setUnitPos "Down"
Enable/disable given AI feature. Feature may be one of: "AwareFormationSoft", "CombatFormationSoft".
C Func: 0x13c0424 ScriptInfo: 0x160640c
"AwareFormationSoft" enableAIFeature true
groupOne lockWP true
C Func: 0x13c0368 ScriptInfo: 0x1606440
Locks the vehicle (disables mounting / dismounting) for the player.
C Func: 0x1308054 ScriptInfo: 0x1606474
jeepOne lock true
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
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
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"
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"
Assigns the soldier as commander of the given vehicle.
C Func: 0x13bff58 ScriptInfo: 0x1606578
player assignAsCommander tankOne
Assigns the soldier as driver of the given vehicle.
C Func: 0x13bfef4 ScriptInfo: 0x16065ac
player assignAsDriver tankOne
Assigns the soldier as gunner of the given vehicle.
C Func: 0x13bfe90 ScriptInfo: 0x16065e0
player assignAsGunner tankOne
82993 TOH
C Func: 0x13bfe14 ScriptInfo: 0x1606614
Assigns the soldier to the cargo / passenger space of the given vehicle.
C Func: 0x13bfd94 ScriptInfo: 0x1606648
player assignAsCargo tankOne
Assigns the character to a specific cargo / passenger index of the given vehicle.
C Func: 0x13bfcf0 ScriptInfo: 0x160667c
player assignAsCargoIndex [tankOne,1]
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
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
Moves the soldier into the vehicle's commander position. (Immediatetely, without animation).
C Func: 0x13bfba8 ScriptInfo: 0x1606718
soldierOne moveInCommander jeepOne
Moves the soldier into the vehicle's driver position. (Immediately, without animation).
C Func: 0x13bfb20 ScriptInfo: 0x160674c
soldierOne moveInDriver jeepOne
Moves the soldier into the vehicle's gunner position. (Immediately, without animation).
C Func: 0x13bfa98 ScriptInfo: 0x1606780
soldierOne moveInGunner jeepOne
Moves the soldier into the vehicle's cargo position. (Immediately, without animation).
C Func: 0x13bfa10 ScriptInfo: 0x16067b4
soldierOne moveInCargo jeepOne
Moves the soldier into a vehicle's specified cargo position. (Immediately, without animation).
C Func: 0x13bfa10 ScriptInfo: 0x16067e8
soldierOne moveInCargo jeepOne
Moves the soldier into the vehicle's turret. (Immediately, without animation).
C Func: 0x13bf8f8 ScriptInfo: 0x160681c
soldierOne moveInTurret [tank, [0, 0]]
Get array with all items linked to a given weapon.
C Func: 0x13bf8b0 ScriptInfo: 0x1606850
interpolates and sets vectors. Time has to be from <0,1>.
C Func: 0x13bf7f8 ScriptInfo: 0x1606884
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
Sets the briefing objective status. Status may be one of: "ACTIVE", "FAILED", "DONE" or "HIDDEN".
C Func: 0x13bf698 ScriptInfo: 0x16068ec
"obj_1" objStatus "FAILED"
Executes a script. Argument is passed to the script as local variable _this. The script is first searched in the mission folder, then in the campaign scripts subfolder and finally in the global scripts folder.
C Func: 0x13233c8 ScriptInfo: 0x1606920
[player, jeepOne] exec "getIn.sqs"
Executes a script. Argument is passed to the script as local variable _this.
C Func: 0x13bf544 ScriptInfo: 0x1606954
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
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
1800 setFog 0.5
C Func: 0x13bf184 ScriptInfo: 0x16069f0
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
Sets the fuel amount. A fuel level of one is a full gas tank.
C Func: 0x13bf004 ScriptInfo: 0x1606a58
jeepOne setFuel 0
Sets the fuel amount in the cargo space of a refuelling vehicle. A fuel level of one is a full gas tank.
C Func: 0x13bef64 ScriptInfo: 0x1606a8c
refuelTruckOne setFuelCargo 0
Sets the amount or repair resources in the cargo space of a repair vehicle. An amount of one is a full cargo space.
C Func: 0x13beebc ScriptInfo: 0x1606ac0
repairTruckOne setRepairCargo 0
Sets the amount of ammo resources in the cargo space of a repair vehicle. Ammo resources are used to resupply vehicles; soldiers use individual magazines instead. An amount of one indicates a full cargo.
C Func: 0x13bedc0 ScriptInfo: 0x1606af4
rearmTruckOne setAmmoCargo 0
Adds weapons to the weapon cargo space. This is used for infantry weapons. The format of weapons is [weaponName, count].
For weaponName values see
C Func: 0x13becd4 ScriptInfo: 0x1606b28
rearmTruckOne addWeaponCargo ["M16", 10]
Create and assign new item to the soldier's body.(NVG, radio, ...)
C Func: 0x13bec84 ScriptInfo: 0x1606b5c
Assigns existing item from inventory (uniform, vest, backpack) to a correct slot.
C Func: 0x13bec24 ScriptInfo: 0x1606b90
Unassign existing item to the soldier's containers.
C Func: 0x13bebdc ScriptInfo: 0x1606bc4
Unlink and remove existing linked item from soldier
C Func: 0x13beb9c ScriptInfo: 0x1606bf8
Create new item and store it to to the inventory.
C Func: 0x13beb60 ScriptInfo: 0x1606c2c
Create new item and store it to soldier's uniform
C Func: 0x13beb18 ScriptInfo: 0x1606c60
Create new item and store it to soldier's vest
C Func: 0x13bead8 ScriptInfo: 0x1606c94
Create new item and store it to soldier's backpack
C Func: 0x13bea90 ScriptInfo: 0x1606cc8
Check if given object can be stored into target entity
C Func: 0x13bea50 ScriptInfo: 0x1606cfc
Check if given object can be stored into soldier's uniform
C Func: 0x13bea00 ScriptInfo: 0x1606d30
Check if given object can be stored into soldier's uniform
C Func: 0x13be9ec ScriptInfo: 0x1606d64
Check if given object can be stored into soldier's uniform
C Func: 0x13be9d4 ScriptInfo: 0x1606d98
Remove item from the inventory.
C Func: 0x13be9a8 ScriptInfo: 0x1606dcc
Remove item from soldier's uniform.
C Func: 0x13be96c ScriptInfo: 0x1606e00
Remove item from soldier's uniform.
C Func: 0x13be958 ScriptInfo: 0x1606e34
Remove item from soldier's uniform.
C Func: 0x13be940 ScriptInfo: 0x1606e68
Remove all items with given template from the inventory.
C Func: 0x13be8f8 ScriptInfo: 0x1606e9c
Create a new vest and try to link it into vest slot.
C Func: 0x13be8b8 ScriptInfo: 0x1606ed0
player IsFlashlightOn (currentWeapon player)
C Func: 0x13be830 ScriptInfo: 0x1606f04
player IsIRLaserOn (currentWeapon player)
C Func: 0x13be7b8 ScriptInfo: 0x1606f38
Create a new uniform and try to link it into uniform slot.
C Func: 0x13be770 ScriptInfo: 0x1606f6c
Create a new item and try to link them into headgear slot
C Func: 0x13be728 ScriptInfo: 0x1606fa0
Create a new item and try to link them into goggles slot.
C Func: 0x13be6e0 ScriptInfo: 0x1606fd4
Adds item to the weapon cargo space of primary weapon.
C Func: 0x13be664 ScriptInfo: 0x1607008
player addPrimaryWeaponItem "ItemClassName"
Adds item to the weapon cargo space of secondary weapon.
C Func: 0x13be5e0 ScriptInfo: 0x160703c
player addSecondaryWeaponItem "ItemClassName"
Adds item to the weapon cargo space. This is used for infantry weapons.
C Func: 0x13be560 ScriptInfo: 0x1607070
player addHandgunItem "ItemClassName"
Removes given item from the weapon cargo space.
C Func: 0x13be4e8 ScriptInfo: 0x16070a4
player removePrimaryWeaponItem "ItemClassName"
Removes given item from the weapon cargo space.
C Func: 0x13be4a8 ScriptInfo: 0x16070d8
player removeHandgunItem "ItemClassName"
Adds magazines to the weapon cargo space. This is used for infantry weapons. The format of magazines is [magazineName, count].
For magazineName values see
C Func: 0x13be3b4 ScriptInfo: 0x160710c
rearmTruckOne addMagazineCargo ["M16", 10]
Create new items and store them to the weapon holder.
C Func: 0x13be32c ScriptInfo: 0x1607140
rearmTruckOne addItemCargo ["optic_ARCO", 10]
Adds bacpacks to the cargo space. The format of backpacks is [backpacksName, count].
For backpacksName values see
C Func: 0x13be254 ScriptInfo: 0x1607174
rearmTruckOne addBackpackCargo ["DSHKM_TK_GUE_Bag_EP1", 2]
rearmTruckOne addWeaponCargo ["M16", 10]
C Func: 0x13be17c ScriptInfo: 0x16071a8
rearmTruckOne addMagazineCargo ["M16", 10]
C Func: 0x13be09c ScriptInfo: 0x16071dc
rearmTruckOne addBackpackCargo ["DSHKM_TK_GUE_Bag_EP1", 2]
C Func: 0x13bdfe4 ScriptInfo: 0x1607210
rearmTruckOne addItemCargo ["optic_ARCO", 10]
C Func: 0x13bdfd0 ScriptInfo: 0x1607244
Creates an empty vehicle of the given type. Pos is in format
C Func: 0x13a7044 ScriptInfo: 0x1607278
_tank = "M1Abrams" createVehicle getmarkerpos "tankFactory"
Creates a new site.
C Func: 0x13bdeec ScriptInfo: 0x16072ac
Creates a unit of the given type. The format of unitInfo is:
[pos (
C Func: 0x13bdd84 ScriptInfo: 0x16072e0
"SoldierWB" createUnit [getMarkerPos "barracks", groupAlpha]
Preload all data for given object.
C Func: 0x13bdd50 ScriptInfo: 0x1607314
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
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
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
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"]
Creates a camera or an actor of the given type on the given initial position (format
C Func: 0x13bd948 ScriptInfo: 0x1607418
_camera = camCreate getPos player
Sets the camera position (format
C Func: 0x13bd8bc ScriptInfo: 0x160744c
_camera camSetPos getPos player
Sets the camera position relative to the current position of the currect target (see
C Func: 0x13bd7f8 ScriptInfo: 0x1607480
_camera camSetRelPos [10,5]
Sets the camera field of view (zoom). It does not automatically commit changes.
C Func: 0x13bd774 ScriptInfo: 0x16074b4
_camera camSetFov 0.1
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]
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]
Sets the camera dive angle. It does not automatically commit changes.
C Func: 0x13bd5b8 ScriptInfo: 0x1607550
_camera camSetDive -0.1
Sets the camera bank angle. It does not automatically commit changes.
C Func: 0x13bd544 ScriptInfo: 0x1607584
_camera camSetBank -0.1
Sets the camera heading. It does not automatically commit changes.
C Func: 0x13bd4dc ScriptInfo: 0x16075b8
_camera camSetDir 150
Commits the camera changes smoothly over time. A time of zero results in an immediate change.
C Func: 0x13bd458 ScriptInfo: 0x16075ec
_camera camCommit 5
Sets the camera target. It does not automatically commit changes.
C Func: 0x13bd3e8 ScriptInfo: 0x1607620
_camera camSetTarget player
Sets the camera target to a position (format
C Func: 0x13bd3e8 ScriptInfo: 0x1607654
_camera camSetTarget getPos player
Prepares the camera position (format
C Func: 0x13bd2a4 ScriptInfo: 0x1607688
_camera camPreparePos getPos player
Prepares the camera position relative to the current position of the currect target (see
C Func: 0x13bd1c0 ScriptInfo: 0x16076bc
_camera camPrepareRelPos [10,5]
Prepares the camera field of view (zoom). See also
C Func: 0x13bd12c ScriptInfo: 0x16076f0
_camera camPrepareFov 0.1
focusRange is in format [distance,blur].
Prepares the camera focus blur. See also
C Func: 0x13bd074 ScriptInfo: 0x1607724
_camera camPrepareFocus [50, 1]
Prepares the camera field of view range for auto zooming. See also
C Func: 0x13bcfc0 ScriptInfo: 0x1607758
_camera camPrepareFovRange [0.1, 0.5]
Prepares the camera dive angle. See also
C Func: 0x13bcf38 ScriptInfo: 0x160778c
_camera camPrepareDive -0.1
Prepares the camera bank angle. See also
C Func: 0x13bceac ScriptInfo: 0x16077c0
_camera camPrepareBank -0.1
Prepares the camera heading. See also
C Func: 0x13bce28 ScriptInfo: 0x16077f4
_camera camPrepareDir 150
_camera camCommit 5
C Func: 0x13bcda8 ScriptInfo: 0x1607828
_camera camCommit 5
C Func: 0x13bcd38 ScriptInfo: 0x160785c
Prepares the camera target. See also
C Func: 0x13bcca8 ScriptInfo: 0x1607890
_camera camPrepareTarget player
Prepares the camera target to a position (format
C Func: 0x13bcca8 ScriptInfo: 0x16078c4
_camera camPrepareTarget getPos player
Executes a command on the given camera / actor object. The "manual on" and "manual off" commands are recognized for all types. For the "camera" type, the following commands can be used: "inertia on" and "inertia off". For the "seagull" type it's one of: "landed" and "airborne".
C Func: 0x13bcab8 ScriptInfo: 0x16078f8
_camera camCommand "Manual on"
Sets construction camera parameters.
C Func: 0x13bca1c ScriptInfo: 0x160792c
_camera camConstuctionSetParams [getpos player,50,20]
Switches the camera to the given vehicle / camera. Mode is one of: "INTERNAL" (1st person), "GUNNER" (optics / sights), "EXTERNAL" (3rd person) or "GROUP" (group).
C Func: 0x13bc948 ScriptInfo: 0x1607960
sniperOne switchCamera "gunner"
Orders the unit to move to the given position (format
C Func: 0x13bc8a8 ScriptInfo: 0x1607994
soldierOne commandMove getMarkerPos "MarkerMoveOne"
Orders the unit to move to the given position (format
C Func: 0x13bc818 ScriptInfo: 0x16079c8
soldierOne doMove getMarkerPos "MarkerMoveOne"
Orders the unit to watch the given position (format
C Func: 0x13bc774 ScriptInfo: 0x16079fc
soldierOne commandWatch getMarkerPos "MarkerMoveOne"
Orders the unit to watch the given position (format
C Func: 0x13bc6e4 ScriptInfo: 0x1607a30
soldierOne doWatch getMarkerPos "MarkerMoveOne"
Orders the unit to watch the given target (via the radio).
C Func: 0x13bc774 ScriptInfo: 0x1607a64
soldierOne commandWatch player
Orders the unit to watch the given target (silently).
C Func: 0x13bc6e4 ScriptInfo: 0x1607a98
soldierOne doWatch player
Orders the unit to target the given target (via the radio).
C Func: 0x13bc5c8 ScriptInfo: 0x1607acc
soldierOne commandTarget player
Orders the unit to target the given target (silently).
C Func: 0x13bc568 ScriptInfo: 0x1607b00
soldierOne doTarget player
Orders a unit to follow the given unit (via the radio).
C Func: 0x13bc500 ScriptInfo: 0x1607b34
soldierOne commandFollow player
Orders a unit to follow the given unit (silently).
C Func: 0x13bc4a4 ScriptInfo: 0x1607b68
soldierOne doFollow player
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
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
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]
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]
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]
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!"} ]
83363 TOH
C Func: 0x13bbe14 ScriptInfo: 0x1607cd4
Removes the action with the given id.
C Func: 0x13bbde4 ScriptInfo: 0x1607d08
player removeAction 0
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
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]
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"}]
Removes event handler added by
C Func: 0x13bbb14 ScriptInfo: 0x1607dd8
player removeEventHandler ["killed",0]
Removes all event handlers of the given type which were added by
C Func: 0x13bba68 ScriptInfo: 0x1607e0c
player removeAllEventHandlers "killed"
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"}]
Removes MP event handler added by
C Func: 0x13bb8d4 ScriptInfo: 0x1607e74
player removeMPEventHandler ["killed",0]
Removes all MP event handlers of the given type which were added by
C Func: 0x13bb828 ScriptInfo: 0x1607ea8
player removeAllMPEventHandlers "mpkilled"
Switches the vehicle's engine on (true) or off (false).
C Func: 0x1361b00 ScriptInfo: 0x1607edc
vehicle player engineOn false
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
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.
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.
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"
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"
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"
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"
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
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
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]
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]
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"
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]
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"
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"]
Assigns a static object to the trigger. The activation source is changed to "STATIC".
C Func: 0x13ba824 ScriptInfo: 0x160821c
trigger triggerAttachObject 1234
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]
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"
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", "", "", ""]
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"
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."]
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]]
Synchronizes the trigger with waypoints. Each waypoint is given as an array [group, index].
C Func: 0x13b9f8c ScriptInfo: 0x1608388
trigger synchronizeWaypoint []
trigger synchronizeWaypoint []
C Func: 0x13b9efc ScriptInfo: 0x16083bc
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]
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]
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"
[grp, 2] WaypointSetName "someName"
C Func: 0x13b9b84 ScriptInfo: 0x160848c
Attaches a vehicle to the given waypoint.
C Func: 0x13b9b10 ScriptInfo: 0x16084c0
[grp, 2] waypointAttachVehicle vehicle player
Attaches a static object to the given waypoint.
C Func: 0x13b9a90 ScriptInfo: 0x16084f4
[grp, 2] waypointAttachObject 1234
For waypoints attached to a house, this defines the target house position.
C Func: 0x13b9a04 ScriptInfo: 0x1608528
[grp, 2] setWaypointHousePosition 1
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"
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"
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"
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"
Sets the description shown in the HUD while the waypoint is active.
C Func: 0x13b9618 ScriptInfo: 0x160862c
[grp, 2] setWaypointDescription "Move here."
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", ""]
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"
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]
Set the radius around the waypoint where is the waypoint completed.
C Func: 0x13b933c ScriptInfo: 0x16086fc
[grp, 2] setWaypointCompletionRadius 30
Set waypoint's visibility.
C Func: 0x13b92e8 ScriptInfo: 0x1608730
[grp, 2] setWaypointVisible false
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"
Creates a hint dialog with the given title and text.
C Func: 0x13a9e88 ScriptInfo: 0x1608798
Creates a hint dialog with the given title and text.
C Func: 0x13a9e88 ScriptInfo: 0x16087cc
Creates a hint dialog with the given title and text. Texts can be plain or structured.
C Func: 0x13a9e88 ScriptInfo: 0x1608800
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"]
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"
Sends a simple command to the vehicle's driver / gunner.
C Func: 0x13b8f90 ScriptInfo: 0x160889c
vehicle player sendSimpleCommand "STOP"
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]
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"
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"]
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"
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
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
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
Sets id (integer value) to vehicle. By this id vehicle is referenced by triggers and waypoints.
C Func: 0x13b87e8 ScriptInfo: 0x1608a3c
player setVehicleId 1
Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.
C Func: 0x13b8748 ScriptInfo: 0x1608a70
player setUnitRank "COLONEL"
Sets rank of given unit. Possible values: PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL.
C Func: 0x13b8724 ScriptInfo: 0x1608aa4
player setRank "COLONEL"
player setUnitSkill 1.0
C Func: 0x13b86c0 ScriptInfo: 0x1608ad8
Select group leader.
C Func: 0x13b8674 ScriptInfo: 0x1608b0c
group player selectLeader player
Set how vehicle is locked for player. Possible values: UNLOCKED, DEFAULT or LOCKED.
C Func: 0x13b85f0 ScriptInfo: 0x1608b40
veh1 setVehicleLock "LOCKED"
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]
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]]
Creates an empty vehicle of the given type. Pos is in format
C Func: 0x13b8308 ScriptInfo: 0x1608bdc
_tank = "M1Abrams" createVehicleLocal getmarkerpos "tankFactory"
Set parameters to particle source. Array is in format
C Func: 0x13b8294 ScriptInfo: 0x1608c10
Set parameters from config class. className is name of the class from CfgCloudlets.
C Func: 0x13b8228 ScriptInfo: 0x1608c44
Set randomization of particle source parameters.
C Func: 0x13b8160 ScriptInfo: 0x1608c78
Update particle source to create particles on circle with given radius. Velocity is transformed and added to total velocity.
C Func: 0x13b80b4 ScriptInfo: 0x1608cac
Set interval of emitting particles from particle source.
C Func: 0x13b8048 ScriptInfo: 0x1608ce0
_source setDropInterval 0.05
Set camera interest for given entity.
C Func: 0x13b7fe0 ScriptInfo: 0x1608d14
_soldier setCameraInterest 50
Set diffuse color of light.
C Func: 0x13b7fa8 ScriptInfo: 0x1608d48
Set ambient color of light.
C Func: 0x13b7f7c ScriptInfo: 0x1608d7c
Set brightness of light.
C Func: 0x13b7f4c ScriptInfo: 0x1608db0
Attach light to given object (at given position).
C Func: 0x13b7ef0 ScriptInfo: 0x1608de4
Set object's up vector. Direction vector will remain unchanged.
C Func: 0x13b7ea0 ScriptInfo: 0x1608e18
Set object's direction vector. Up vector will remain unchanged.
C Func: 0x13b7e50 ScriptInfo: 0x1608e4c
Set object's direction and up vector
C Func: 0x13b7df4 ScriptInfo: 0x1608e80
Returns direction where is given weapon aiming.
C Func: 0x13b7d8c ScriptInfo: 0x1608eb4
_dir = _vehicle weaponDirection "M16"
Low level command to person to move to given position.
C Func: 0x13b7d4c ScriptInfo: 0x1608ee8
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
_list = position player nearSuplies 50
C Func: 0x13b7c40 ScriptInfo: 0x1608f50
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
Converts position from object model space to world space.
C Func: 0x13b7b50 ScriptInfo: 0x1608fb8
Converts position from world space to object model space.
C Func: 0x13b7af8 ScriptInfo: 0x1608fec
Limit speed of given vehicle to given value (in km/h).
C Func: 0x137c9dc ScriptInfo: 0x1609020
_freePositions = (vehicle player) freePositions "cargo"
C Func: 0x13b7a18 ScriptInfo: 0x1609054
Set a Render Target's visual effect (Picture-in-Picture).
C Func: 0x13b795c ScriptInfo: 0x1609088
rendertarget0 setPiPEffect [0, 0, [], [], []]
soldierOne say "speechId"
C Func: 0x13b7908 ScriptInfo: 0x16090bc
Functionally same as Say, only difference is sound played as 3D allways.
C Func: 0x13b7908 ScriptInfo: 0x16090f0
soldierOne say "speechId"
C Func: 0x13b78ac ScriptInfo: 0x1609124
Functionally same as Say, only difference is sound played as 2D (mono) allways.
C Func: 0x13b78ac ScriptInfo: 0x1609158
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
Return the value of variable in the variable space of given object.
C Func: 0x132f340 ScriptInfo: 0x16091c0
Return the value of variable in the variable space of given object. If not found, default value is returned.
C Func: 0x132f340 ScriptInfo: 0x16091f4
Set the destination for path planning of the pilot.
C Func: 0x13b76d0 ScriptInfo: 0x1609228
Force the speed of the given object.
C Func: 0x13b769c ScriptInfo: 0x160925c
Get the speed for the given speed mode. SpeedMode can be: "AUTO","SLOW","NORMAL","FAST".
C Func: 0x13b7634 ScriptInfo: 0x1609290
Set the current task of the formation member.
C Func: 0x13b75f0 ScriptInfo: 0x16092c4
Find the nearest enemy from the specified position.
C Func: 0x13b75a8 ScriptInfo: 0x16092f8
Returns the hiding position in format
C Func: 0x13b74fc ScriptInfo: 0x160932c
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
Makes the unit to apply suppressive fire on known enemies.
C Func: 0x13b7328 ScriptInfo: 0x1609394
It sets the data for hiding. ObjectWhereHide can be taken using findCover. HidePosition can be taken using getHideFrom.
C Func: 0x13b7280 ScriptInfo: 0x16093c8
Enable / disable reload right after magazine is empty.
C Func: 0x13b721c ScriptInfo: 0x16093fc
_vehicle enableReload false
Set if leader can issue attack commands.
C Func: 0x13906ac ScriptInfo: 0x1609430
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"
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"]
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"]
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"]
0 cutFadeIn 1.0
C Func: 0x13b6cd0 ScriptInfo: 0x1609534
Tells the group it owns the vehicle now.
C Func: 0x13b6c90 ScriptInfo: 0x1609568
Switch the group to process the given waypoint.
C Func: 0x13b6c4c ScriptInfo: 0x160959c
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
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
Returns true if all given units are able to fire at given position with given magazineType.
C Func: 0x13b6a5c ScriptInfo: 0x1609638
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
true
C Func: 0x13b691c ScriptInfo: 0x16096a0
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"
Find the road segments within the circle of given radius.
C Func: 0x13b6798 ScriptInfo: 0x1609708
_list = player nearRoads 50
Returns the given indexed exit in a building. The returned value is in format
C Func: 0x13b6704 ScriptInfo: 0x160973c
buildingExit [building, 1]
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"}
Enable / disable simulation for given entity.
C Func: 0x13b65a0 ScriptInfo: 0x16097a4
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]
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]
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
Defines an action performed when the user clicks on the map. Command receives:
_pos
_units
_shift,_alt
_this
If the click is processed, command should return true.
C Func: 0x139ceb4 ScriptInfo: 0x1609874
"SoldierEG" onMapSingleClick "_this createUnit [_pos, group player]"
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
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
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
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"
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"
Set / reset the unconscious life state of the given unit (in MP works only for a local unit).
C Func: 0x13b5e94 ScriptInfo: 0x16099ac
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
Return the value of variable in the variable space of given group.
C Func: 0x132f340 ScriptInfo: 0x1609a14
Return the value of variable in the variable space of given group. If not found, default value is returned.
C Func: 0x132f340 ScriptInfo: 0x1609a48
Sets the marker alpha. The marker is modified on all computers in a network session.
C Func: 0x13b5cb8 ScriptInfo: 0x1609a7c
"MarkerOne" setMarkerAlpha 0.5
"MarkerOne" setMarkerAlpha 0.5
C Func: 0x13b5c40 ScriptInfo: 0x1609ab0
Check whether all data are loaded to nearObjects will return in reasonable time.
C Func: 0x13b5ba8 ScriptInfo: 0x1609ae4
_ok = position player nearObjectsReady 50
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
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"]
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]
unit HCRemoveGroup group
C Func: 0x13b5880 ScriptInfo: 0x1609bb4
Returns parameters describing group in high command bar. Return value is [string,float[4]]
C Func: 0x13b57f4 ScriptInfo: 0x1609be8
unit hcGroupParams group
Select given group in HC bar.
C Func: 0x13b57a4 ScriptInfo: 0x1609c1c
unit hcSelectGroup [group,true]
Set group icons parameters. [color,string,float,bool]
C Func: 0x13b5714 ScriptInfo: 0x1609c50
group setGroupIconParams [[1,1,1,1],"text",scale,show]
Add icon to a group. Returns icon ID
C Func: 0x13b56a8 ScriptInfo: 0x1609c84
id = group addGroupIcon["b_inf",[offsetX,ofsetY]]
Set group icons properties.
C Func: 0x13b5650 ScriptInfo: 0x1609cb8
setGroupIcon[id,"b_inf",[offsetX,ofsetY]]
Get group icon properties.
C Func: 0x13b5608 ScriptInfo: 0x1609cec
group getGroupIcon id
Remove icon with given ID from group.
C Func: 0x13b55ac ScriptInfo: 0x1609d20
group removeGroupIcon id
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]
vehicle player setHit ["engine", 1]
C Func: 0x13b545c ScriptInfo: 0x1609d88
Lock the driver position of the vehicle.
C Func: 0x13b5424 ScriptInfo: 0x1609dbc
Lock the gunner position of the vehicle turret.
C Func: 0x13b53d4 ScriptInfo: 0x1609df0
Lock the cargo position of the vehicle.
C Func: 0x13b538c ScriptInfo: 0x1609e24
Lock the all cargo positions of the vehicle.
C Func: 0x13b538c ScriptInfo: 0x1609e58
Check whether gunner position of the vehicle turret is locked.
C Func: 0x13b5300 ScriptInfo: 0x1609e8c
Check whether cargo position of the vehicle is locked.
C Func: 0x13b52b0 ScriptInfo: 0x1609ec0
Checks whether the side knows about the target (and how much).
C Func: 0x13c2294 ScriptInfo: 0x1609ef4
east knowsAbout jeepOne
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
Check if findEmptyPosition can be called without waiting for files.
C Func: 0x13b50c4 ScriptInfo: 0x1609f5c
Chek if given area is flat and emty.
C Func: 0x13b4fd4 ScriptInfo: 0x1609f90
newposition = position isFlatEmpty(10, 0, 0.5, 5, 0, false, player)
Returns the unit in the vehicle turret.
C Func: 0x13b4fa0 ScriptInfo: 0x1609fc4
Select unit from unit's group.
C Func: 0x13b4f40 ScriptInfo: 0x1609ff8
player groupSelectUnit [unit,true]
_list = position player nearObjects 50
C Func: 0x13b4e5c ScriptInfo: 0x160a02c
Switch on remote control of the unit.
C Func: 0x13b4e00 ScriptInfo: 0x160a060
player remoteControl gunner _uav
Enable / disable continuous centering the map on the camera position
C Func: 0x13b4da0 ScriptInfo: 0x160a094
Return units in group below passed height.
C Func: 0x13b4d3c ScriptInfo: 0x160a0c8
group player unitsBelowHeight 50
Return units below passed height.
C Func: 0x13b4d3c ScriptInfo: 0x160a0fc
units group player unitsBelowHeight 50
Switch FSM debug log on/off.
C Func: 0x13b4ca4 ScriptInfo: 0x160a130
BIS_grpMainFSM debugFSM true
bool = vehicle FireAtTarget [target]; bool = player FireAtTarget [target,1]
C Func: 0x13b4bd8 ScriptInfo: 0x160a164
bool = vehicle AimedAtTarget [target]; bool = vehicle AimedAtTarget [target,1]
C Func: 0x13b4b4c ScriptInfo: 0x160a198
Returns how much space is in backpack for given weapon or magazine.
C Func: 0x13b4aa4 ScriptInfo: 0x160a1cc
[weapons, magazines] = backpack backpackSpaceFor "m16"
Force player to walk.
C Func: 0x13b4a5c ScriptInfo: 0x160a200
player forceWalk true
Returns all weapons of given turret. Use turret path [-1] for drivers turret.
C Func: 0x13b49c8 ScriptInfo: 0x160a234
vehicle player weaponsTurret [0,0]
Returns all magazines of given turret. Use turret path [-1] for drivers turret.
C Func: 0x13b493c ScriptInfo: 0x160a268
vehicle player magazinesTurret [0,0]
Return current level of damage for a specific Hit Point (specified by its config class).
C Func: 0x13b488c ScriptInfo: 0x160a29c
(vehicle player) getHitPointDamage "hitEngine"
Checks whether the object is of the given type.
C Func: 0x13b691c ScriptInfo: 0x160a2d0
vehicle player isKindOf "Tank"
Control what the unit is glancing at (target or position) (format
C Func: 0x13b4770 ScriptInfo: 0x160a304
someSoldier glanceAt otherSoldier; otherSoldier glanceAt getMarkerPos "markerOne"
Control what the unit is looking at (target or position) (format
C Func: 0x13b46bc ScriptInfo: 0x160a338
someSoldier lookAt otherSoldier; otherSoldier lookAt getMarkerPos "markerOne"
Set owner of the airport
C Func: 0x13b4678 ScriptInfo: 0x160a36c
0 setAirportSide east
Order AI airplane to land at given airport
C Func: 0x13b4634 ScriptInfo: 0x160a3a0
plane landAt 0
Set airport to be used by AI on getout
C Func: 0x13b45e4 ScriptInfo: 0x160a3d4
plane assignToAirport 0
Hide object (cannot hide static objects).
C Func: 0x13a69ec ScriptInfo: 0x160a408
player hideObject true
Enable/disable using IR lasers for AI
C Func: 0x13b4574 ScriptInfo: 0x160a43c
groupOne enableIRLasers true
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"
Activate camera thermal vision
C Func: 0x13b4490 ScriptInfo: 0x160a4a4
Set ti parameters for specified vehicle, pars: engine/body, tracks/wheels, main gun.
C Func: 0x13b4414 ScriptInfo: 0x160a4d8
5 fadeSound 0.1
C Func: 0x13b436c ScriptInfo: 0x160a50c
Enable/disable transport vision modes(Ti)
C Func: 0x13b431c ScriptInfo: 0x160a540
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]
Initiates the loading action on active weapon of the given turret.
C Func: 0x13b413c ScriptInfo: 0x160a5a8
vehicle player loadMagazine [[0],"m256","20Rnd_120mmHE_M1A2"]
If true, units can be in vehicle with broken tracks/wheels.
C Func: 0x1375520 ScriptInfo: 0x160a5dc
vehicle allowCrewInImmobile true
TOH
C Func: 0x13b40ac ScriptInfo: 0x160a610
TOH 85355
C Func: 0x13b4064 ScriptInfo: 0x160a644
TOH 85355
C Func: 0x13b402c ScriptInfo: 0x160a678
Proportionaly increase/decrease unit's recoil.
C Func: 0x13b3fac ScriptInfo: 0x160a6ac
soldier setUnitRecoilCoefficient 0.5
On server machine, change the ownership of object to a given client. Returns true if locality was changed.
C Func: 0x13b3f1c ScriptInfo: 0x160a6e0
OA 94178
C Func: 0x13b3df4 ScriptInfo: 0x160a714
The unit will be forced to fire from the given weapon.
C Func: 0x13b3d6c ScriptInfo: 0x160a748
soldierOne forceWeaponFire ["arifle_MX_F",0]
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]
Returns subentry of config entry with given name.
C Func: 0x13b3c60 ScriptInfo: 0x160a7b0
configFile >> "CfgVehicles"
Returns subentry of config entry with given name (alias for >>).
C Func: 0x1307f24 ScriptInfo: 0x160a7e4
configFile / "CfgVehicles"
Returns subentry with given index.
C Func: 0x139448c ScriptInfo: 0x160a818
(configFile >> "CfgVehicles") select 0
Checks whether two config entries are equal.
C Func: 0x132f1dc ScriptInfo: 0x160a84c
Checks whether two config entries are different.
C Func: 0x132f178 ScriptInfo: 0x160a880
Register knowledge base database to given person.
C Func: 0x13b3ad0 ScriptInfo: 0x160a8b4
_unit kbAddDatabase "chat.txt"
_unit kbAddDatabase "chat.txt"
C Func: 0x13b3a70 ScriptInfo: 0x160a8e8
Register conversation topic to given person.
C Func: 0x13b39fc ScriptInfo: 0x160a91c
Unregister conversation topic from given person.
C Func: 0x13b39b8 ScriptInfo: 0x160a950
81893 TOH
C Func: 0x13b3848 ScriptInfo: 0x160a984
Pass a non-verbal communication to the receiver.
C Func: 0x13b380c ScriptInfo: 0x160a9b8
Check if given item was said by person to someone.
C Func: 0x13b37a0 ScriptInfo: 0x160a9ec
Check if conversation topic was registered to given person.
C Func: 0x13b3758 ScriptInfo: 0x160aa20
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"
Draw line in map.
C Func: 0x13b3618 ScriptInfo: 0x160aa88
Draw arrow in map.
C Func: 0x13b35f8 ScriptInfo: 0x160aabc
Draw ellipse in map.
C Func: 0x13b35b0 ScriptInfo: 0x160aaf0
Draw rectangle in map.
C Func: 0x13b3588 ScriptInfo: 0x160ab24
Convert screen coordinates in map to world coordinates.
C Func: 0x13b353c ScriptInfo: 0x160ab58
Convert world coordinates to screen coordinates in map.
C Func: 0x13b34f0 ScriptInfo: 0x160ab8c
Enable / disable given control.
C Func: 0x139fd80 ScriptInfo: 0x160abc0
_control ctrlEnable false
Show / hide given control.
C Func: 0x139fe00 ScriptInfo: 0x160abf4
_control ctrlShow false
General
C Func: 0x139fbf0 ScriptInfo: 0x160ac28
Sets the main font of given control.
C Func: 0x13b33d0 ScriptInfo: 0x160ac5c
_control ctrlSetFont "TahomaB"
Sets the main font size of given control.
C Func: 0x13b3370 ScriptInfo: 0x160ac90
_control ctrlSetFontHeight 0.05
Sets H1 font of given HTML control.
C Func: 0x13b3318 ScriptInfo: 0x160acc4
_control ctrlSetFontH1 "TahomaB"
Sets H2 font of given HTML control.
C Func: 0x13b32c0 ScriptInfo: 0x160acf8
_control ctrlSetFontH2 "TahomaB"
Sets H3 font of given HTML control.
C Func: 0x13b3268 ScriptInfo: 0x160ad2c
_control ctrlSetFontH3 "TahomaB"
Sets H4 font of given HTML control.
C Func: 0x13b3210 ScriptInfo: 0x160ad60
_control ctrlSetFontH4 "TahomaB"
Sets H5 font of given HTML control.
C Func: 0x13b31b8 ScriptInfo: 0x160ad94
_control ctrlSetFontH5 "TahomaB"
Sets H5 font of given HTML control.
C Func: 0x13b3184 ScriptInfo: 0x160adc8
_control ctrlSetFontH6 "TahomaB"
Sets P font of given HTML control.
C Func: 0x13b3130 ScriptInfo: 0x160adfc
_control ctrlSetFontP "TahomaB"
Sets H1 bold font of given HTML control.
C Func: 0x13b30d0 ScriptInfo: 0x160ae30
_control ctrlSetFontH1B "TahomaB"
Sets H2 bold font of given HTML control.
C Func: 0x13b3070 ScriptInfo: 0x160ae64
_control ctrlSetFontH2B "TahomaB"
Sets H3 bold font of given HTML control.
C Func: 0x13b3010 ScriptInfo: 0x160ae98
_control ctrlSetFontH3B "TahomaB"
Sets H4 bold font of given HTML control.
C Func: 0x13b2fb0 ScriptInfo: 0x160aecc
_control ctrlSetFontH4B "TahomaB"
Sets H5 bold font of given HTML control.
C Func: 0x13b2f50 ScriptInfo: 0x160af00
_control ctrlSetFontH5B "TahomaB"
Sets H6 bold font of given HTML control.
C Func: 0x13b2ef0 ScriptInfo: 0x160af34
_control ctrlSetFontH6B "TahomaB"
Sets P bold font of given HTML control.
C Func: 0x13b2e94 ScriptInfo: 0x160af68
_control ctrlSetFontPB "TahomaB"
Sets H1 font size of given HTML control.
C Func: 0x13b2e30 ScriptInfo: 0x160af9c
_control ctrlSetFontHeightH1 0.05
Sets H2 font size of given HTML control.
C Func: 0x13b2dcc ScriptInfo: 0x160afd0
_control ctrlSetFontHeightH2 0.05
Sets H3 font size of given HTML control.
C Func: 0x13b2d68 ScriptInfo: 0x160b004
_control ctrlSetFontHeightH3 0.05
Sets H4 font size of given HTML control.
C Func: 0x13b2d04 ScriptInfo: 0x160b038
_control ctrlSetFontHeightH4 0.05
Sets H5 font size of given HTML control.
C Func: 0x13b2ca0 ScriptInfo: 0x160b06c
_control ctrlSetFontHeightH5 0.05
Sets H6 font size of given HTML control.
C Func: 0x13b2c3c ScriptInfo: 0x160b0a0
_control ctrlSetFontHeightH6 0.05
_control ctrlSetFontHeightP 0.05
C Func: 0x13b3130 ScriptInfo: 0x160b0d4
Sets wanted position and size for control animation. Width and height are optional.
C Func: 0x13b2b58 ScriptInfo: 0x160b108
_control ctrlSetPosition [0.5, 0.5]
_control ctrlScale 0.5
C Func: 0x13b2ae8 ScriptInfo: 0x160b13c
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
Sets number of second before auto-scroll starts.
C Func: 0x13b29d0 ScriptInfo: 0x160b1a4
_control ctrlSetAutoScrollDelay 5
_control ctrlSetAutoScrollDelay 5
C Func: 0x13b297c ScriptInfo: 0x160b1d8
Sets wanted transparency for control animation.
C Func: 0x13b2928 ScriptInfo: 0x160b20c
_control ctrlSetFade 1
Commit control animation.
C Func: 0x13b28e8 ScriptInfo: 0x160b240
_control ctrlCommit 2
Return child control with specified idc.
C Func: 0x13b288c ScriptInfo: 0x160b274
_control = _display displayCtrl 101
Sets background color of given control. Color is in format
C Func: 0x13b27f8 ScriptInfo: 0x160b2a8
_control ctrlSetBackgroundColor [1, 0, 0, 1]
Sets background color of given control. Color is in format
C Func: 0x13b27b0 ScriptInfo: 0x160b2dc
_control ctrlSetForegroundColor [1, 0, 0, 1]
Sets text color of given control. Color is in format
C Func: 0x13b272c ScriptInfo: 0x160b310
_control ctrlSetTextColor [1, 0, 0, 1]
Sets text color of given control when control is selected. Color is in format
C Func: 0x13b2688 ScriptInfo: 0x160b344
_control ctrlSetActiveColor [1, 0, 0, 1]
Sets tooltip text of given control.
C Func: 0x13b2630 ScriptInfo: 0x160b378
_control ctrlSetTooltip "tooltip"
Sets tooltip text color of given control. Color is in format
C Func: 0x13b2598 ScriptInfo: 0x160b3ac
_control ctrlSetTooltipColorText [1, 0, 0, 1]
Sets tooltip border color of given control. Color is in format
C Func: 0x13b24fc ScriptInfo: 0x160b3e0
_control ctrlSetTooltipColorBox [1, 0, 0, 1]
Sets tooltip background color of given control. Color is in format
C Func: 0x13b2458 ScriptInfo: 0x160b414
_control ctrlSetTooltipColorShade [1, 0, 0, 1]
Sets checked state of checkbox.
C Func: 0x13b2408 ScriptInfo: 0x160b448
_control ctrlSetChecked true
Checks whether two displays are equal.
C Func: 0x132f1dc ScriptInfo: 0x160b47c
Checks whether two displays are different.
C Func: 0x132f178 ScriptInfo: 0x160b4b0
General
C Func: 0x132f1dc ScriptInfo: 0x160b4e4
General
C Func: 0x132f178 ScriptInfo: 0x160b518
Create child display of given display and load from resource "name".
C Func: 0x13b22ac ScriptInfo: 0x160b54c
_display createDisplay "RscObserver"
Close given display.
C Func: 0x13b2258 ScriptInfo: 0x160b580
_display closeDisplay IDC_OK
Load HTML from file to given control.
C Func: 0x13b2200 ScriptInfo: 0x160b5b4
_control htmlLoad "briefing.html"
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"
Sets given event handler of given control
C Func: 0x13b20a8 ScriptInfo: 0x160b61c
_control ctrlSetEventHandler ["KeyDown", ""]
Sets given event handler of given display.
C Func: 0x13b2034 ScriptInfo: 0x160b650
_control displaySetEventHandler ["KeyDown", ""]
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]
Orders a unit to process command defined by FSM file (silently).
C Func: 0x13b1f00 ScriptInfo: 0x160b6b8
soldierOne doFSM ["move.fsm", position player, player]
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"
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"
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]
Sets the person's fatigue.
C Func: 0x13b1ca4 ScriptInfo: 0x160b788
player setFatigue 0.5
Enables/Disables the person's fatigue.
C Func: 0x13b1c50 ScriptInfo: 0x160b7bc
player enableFatigue false
Selects the item with the given index of the given listbox or combobox.
C Func: 0x139f860 ScriptInfo: 0x160b7f0
_control lbSetCurSel 0
General
C Func: 0x139f740 ScriptInfo: 0x160b824
Removes the item with the given index from the given listbox or combobox.
C Func: 0x139f6b4 ScriptInfo: 0x160b858
_control lbDelete 0
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
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
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"]
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
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]
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
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"]
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
Sets the text color of the item with the given index of the given listbox or combobox. Color is in format
C Func: 0x139ef1c ScriptInfo: 0x160ba2c
_control lbSetColor [0, [0, 1, 0, 0.5]]
Check whether given row of the given listbox is selected.
C Func: 0x13b14a4 ScriptInfo: 0x160ba60
_selected = _control lbIsSelected 0
_control lbSetSelection [0, true]
C Func: 0x13b13f0 ScriptInfo: 0x160ba94
_control lbSetCurSel row
C Func: 0x139e594 ScriptInfo: 0x160bac8
_control lbSetColumnsPos [pos1,pos2,...]
C Func: 0x13b135c ScriptInfo: 0x160bafc
_index = _control lbAdd "First item"
C Func: 0x139e2cc ScriptInfo: 0x160bb30
_control lbDelete 0
C Func: 0x139e27c ScriptInfo: 0x160bb64
_index = _control lnbAdd [t1,t2,t3,...]
C Func: 0x139e4cc ScriptInfo: 0x160bb98
_control lnbDelete 0
C Func: 0x139e368 ScriptInfo: 0x160bbcc
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]
_control lnbSetData [[row, column], "#1"]
C Func: 0x139e130 ScriptInfo: 0x160bc34
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]
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"]
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]
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]
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]
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"]
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]
Sets the text color of the item with the given position of the given 2D listbox . Color is in format
C Func: 0x139dc08 ScriptInfo: 0x160bdd4
_control lnbSetColor [[row, column], [0, 1, 0, 0.5]]
Adds an item with given text to Tree View under specified path (zero based).
C Func: 0x139ee78 ScriptInfo: 0x160be08
_control tvAdd [[0], "text"]
Deletes item in given path.
C Func: 0x139ee04 ScriptInfo: 0x160be3c
_control tvDelete [0]
Gets text from given path
C Func: 0x139ed4c ScriptInfo: 0x160be70
_control tvText [0]
Sets data to given path.
C Func: 0x139ecbc ScriptInfo: 0x160bea4
_control tvSetData [[0], "text"]
Returns string from given path.
C Func: 0x139ec50 ScriptInfo: 0x160bed8
_control tvData [0]
Sets value to given path.
C Func: 0x139ebc4 ScriptInfo: 0x160bf0c
_control tvSetValue [[0], 1]
Reads value from given path.
C Func: 0x139eb58 ScriptInfo: 0x160bf40
_control tvValue [0]
Returns count of items in given path.
C Func: 0x139eae4 ScriptInfo: 0x160bf74
_control tvCount [0]
Sets cursor to given path.
C Func: 0x139ea74 ScriptInfo: 0x160bfa8
_control tvSetCurSel [0]
Sorts childrens of given item by data.
C Func: 0x139e968 ScriptInfo: 0x160bfdc
_control tvSort [[0], true]
Sorts childrens of given item by value.
C Func: 0x139e8f0 ScriptInfo: 0x160c010
_control tvSortByValue [[0], true]
Sets picture to item selected by path.
C Func: 0x139e814 ScriptInfo: 0x160c044
_control tvSetPicture [[0], "picture"]
Returns picture on given path of tree.
C Func: 0x139e79c ScriptInfo: 0x160c078
_control tvPicture [0]
Expands given path.
C Func: 0x139e734 ScriptInfo: 0x160c0ac
_control tvExpand [0]
Collapses given path.
C Func: 0x139e6c4 ScriptInfo: 0x160c0e0
_control tvCollapse [0]
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"""
Sets the current thumb position of the given slider.
C Func: 0x139daf0 ScriptInfo: 0x160c148
_control sliderSetPosition 0
Sets the limits of the slider with id idc of the given slider.
C Func: 0x139d9e4 ScriptInfo: 0x160c17c
_control sliderSetRange [0, 10]
Sets the speed (a click on the arrow results in a move per line. A click on the scale outside the thumb results in a move per page) of the given slider.
C Func: 0x139d864 ScriptInfo: 0x160c1b0
_control sliderSetSpeed [0.5, 2.0]
Adds the next frame to the map animation. The format of frame is [time, zoom, position], the format of position is
C Func: 0x13b0504 ScriptInfo: 0x160c1e4
_map ctrlMapAnimAdd [1, 0.1, getMarkerPos "anim1"]
Convert position in the map from screen coordinates to world coordinates.
C Func: 0x13b049c ScriptInfo: 0x160c218
Convert position in the map from world coordinates to screen coordinates.
C Func: 0x13b0434 ScriptInfo: 0x160c24c
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"
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"]
_control sliderSetPosition 0
C Func: 0x13b020c ScriptInfo: 0x160c2e8
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", ""]
Remove a given event handler from the given control.
C Func: 0x13b00d8 ScriptInfo: 0x160c350
_control ctrlRemoveEventHandler ["KeyDown", 0]
Remove all even handlers from the given control.
C Func: 0x13b0048 ScriptInfo: 0x160c384
_control ctrlRemoveAllEventHandlers "KeyDown"
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", ""]
Remove a given event handler from the given display.
C Func: 0x13aff14 ScriptInfo: 0x160c3ec
_display displayRemoveEventHandler ["KeyDown", 0]
Remove all even handlers from the given display.
C Func: 0x13afe8c ScriptInfo: 0x160c420
_display displayRemoveAllEventHandlers "KeyDown"
Execute an extension function
C Func: 0x13afe08 ScriptInfo: 0x160c454
handle = "pipes" callExtension "openPipe(pipe)"
81375 TOH
C Func: 0x13afdbc ScriptInfo: 0x160c488
81375 TOH
C Func: 0x13afd80 ScriptInfo: 0x160c4bc
81375 TOH
C Func: 0x13afd3c ScriptInfo: 0x160c4f0
81375 TOH
C Func: 0x13afcf8 ScriptInfo: 0x160c524
81375 TOH
C Func: 0x13afc34 ScriptInfo: 0x160c558
81375 TOH
C Func: 0x13afbbc ScriptInfo: 0x160c58c
Saves object's properties to objects.sav file in campaign directory as entry name.
C Func: 0x13afb3c ScriptInfo: 0x160c5c0
player saveStatus "playerState"
Loads object's properties from objects.sav file in campaign directory (from entry name).
C Func: 0x13afab4 ScriptInfo: 0x160c5f4
player loadStatus "playerState"
Saves person's identity to objects.sav file in campaign directory as entry name.
C Func: 0x13afa28 ScriptInfo: 0x160c628
player saveIdentity "playerIdentity"
Loads person's identity from objects.sav file in campaign directory (from entry name).
C Func: 0x13af998 ScriptInfo: 0x160c65c
player loadIdentity "playerIdentity"
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]
Return animation phase of animation on object.
C Func: 0x13af890 ScriptInfo: 0x160c6c4
house animationPhase "doors1"
Sets ability levell of person (commander unit). Value of skill may vary from 0 to 1.
C Func: 0x13b1ce4 ScriptInfo: 0x160c6f8
hero setSkill 1
texture
C Func: 0x13af810 ScriptInfo: 0x160c72c
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"]
material
C Func: 0x13af748 ScriptInfo: 0x160c794
Find object nearest to given position with given type.
C Func: 0x13ace6c ScriptInfo: 0x160c7c8
obj = position player nearestObject "Building"
Find object nearest to given position with given Visitor id.
C Func: 0x13ace6c ScriptInfo: 0x160c7fc
obj = position player nearestObject 1234
Add given member to given team.
C Func: 0x13af624 ScriptInfo: 0x160c830
_team addTeamMember _teamMember
Remove given member from given team.
C Func: 0x13af5c4 ScriptInfo: 0x160c864
_team removeTeamMember _teamMember
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
Checks whether two team members are different. If either of them is teamMemberNull, true is returned.
C Func: 0x132f178 ScriptInfo: 0x160c8cc
teamMember player != _teamMember
Add (register) resources to the team member.
C Func: 0x13af404 ScriptInfo: 0x160c900
teamMember _agent addResources ["Arms", "Legs"]
Delete (unregister) resources of the team member.
C Func: 0x13af394 ScriptInfo: 0x160c934
teamMember _agent deleteResources ["Legs"]
Set a new formation to given team.
C Func: 0x13c0628 ScriptInfo: 0x160c968
_team setFormation "Wedge"
Set if given team member was inserted directly from editor.
C Func: 0x13af2e8 ScriptInfo: 0x160c99c
_teamMember setFromEditor true
Set variable to given value in the variable space of given team member. If public is true then the value is broadcast to all computers.
C Func: 0x132f398 ScriptInfo: 0x160c9d0
team1 setVariable ["owner",player,true]
Return the value of variable in the variable space of given team member.
C Func: 0x132f340 ScriptInfo: 0x160ca04
Return the value of variable in the variable space of given team member.
C Func: 0x132f340 ScriptInfo: 0x160ca38
Set the leader of given team.
C Func: 0x13af1b8 ScriptInfo: 0x160ca6c
Executes the given command for each member of the team (recursively).
C Func: 0x13af15c ScriptInfo: 0x160caa0
Executes the given command for each team member of the team (recursively).
C Func: 0x13af0fc ScriptInfo: 0x160cad4
Executes the given command for each agent member of the team (recursively).
C Func: 0x13af098 ScriptInfo: 0x160cb08
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"
Checks whether two objects are the same. If either of them is netObjNull, false is returned.
C Func: 0x132f1dc ScriptInfo: 0x160cb70
_myJoint == _myWinch
Checks whether two objects are different. If either of them is netObjNull, true is returned.
C Func: 0x132f178 ScriptInfo: 0x160cba4
_myJoint != _myWinch
Sets debriefing text.
C Func: 0x13aee00 ScriptInfo: 0x160cbd8
"end1" setDebriefingText ["Title", "Description"]
Sets the target depth level for swimming soldier.
C Func: 0x13aeda8 ScriptInfo: 0x160cc0c
soldier SwimInDepth -20
Sets the object position above sea surface. The pos array uses the
C Func: 0x13aeccc ScriptInfo: 0x160cc40
player setPosASLW [getPosASLW player select 0, getPosASLW player select 1 + 10, getPosASLW select 2]
Sets bleeding time remaining.
C Func: 0x13aec74 ScriptInfo: 0x160cc74
player setBleedingRemaining 1.0
Sets oxygen remaining. It has no effect when soldier is not diving.
C Func: 0x13aebf4 ScriptInfo: 0x160cca8
player setOxygenRemaining 0.5
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
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
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
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
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
1800 setWindStr 0.5
C Func: 0x13ae83c ScriptInfo: 0x160cde0
Set attenuation of light.
C Func: 0x13ae794 ScriptInfo: 0x160ce14
Set intensity of light.
C Func: 0x13ae760 ScriptInfo: 0x160ce48
Sets if light can be used during day.
C Func: 0x13ae724 ScriptInfo: 0x160ce7c
Sets if light should use flare.
C Func: 0x13ae6f0 ScriptInfo: 0x160ceb0
Sets relative size of the flare for the light.
C Func: 0x13ae6ac ScriptInfo: 0x160cee4
Sets max distance where the flare is visible.
C Func: 0x13ae658 ScriptInfo: 0x160cf18
TOH 83638
C Func: 0x13ae58c ScriptInfo: 0x160cf4c
TOH 83638
C Func: 0x13ae538 ScriptInfo: 0x160cf80
Sets given mine as known to the side.
C Func: 0x13ae504 ScriptInfo: 0x160cfb4
Add given objects to the unit/trigger's list of synchronized objects.
C Func: 0x13ae46c ScriptInfo: 0x160cfe8
player synchronizeObjectsAdd cursorTarget
player syncrhonizeObjectsRemove cursorTarget
C Func: 0x13ae3d4 ScriptInfo: 0x160d01c
Assignes loiter radius to waypoint
C Func: 0x13ae360 ScriptInfo: 0x160d050
[_grp, 2] setWaypointLoiterRadius 200
Assignes loiter type to waypoint
C Func: 0x13ae2ec ScriptInfo: 0x160d084
[_grp, 2] setWaypointLoiterType "CIRCLE"
_control lbSetData [1, "tooltip"]
C Func: 0x139b0cc ScriptInfo: 0x160d0b8
Connect person with UAV terminal to UAV unit
C Func: 0x13ae1dc ScriptInfo: 0x160d0ec
player connectTerminalToUav cursorTarget
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]
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]
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
Return object that matches the provided reference.
C Func: 0x13ead60 ScriptInfo: 0x1611a74
Return the list of all objects of given type.
C Func: 0x13eacf0 ScriptInfo: 0x1611aa8
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
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
Set object arguments in mission editor.
C Func: 0x13eaacc ScriptInfo: 0x1611b44
Return the proxy object associated with the given editor object.
C Func: 0x13eaa78 ScriptInfo: 0x1611b78
Set the proxy object associated with the given editor object.
C Func: 0x13eaa10 ScriptInfo: 0x1611bac
Delete the editor object. Requires all editor object links to be removed prior.
C Func: 0x13ea9a8 ScriptInfo: 0x1611be0
Return a list of all the children of the specified object.
C Func: 0x13ea958 ScriptInfo: 0x1611c14
Execute an editor script for the specified object.
C Func: 0x13ea8d0 ScriptInfo: 0x1611c48
_map execEditorScript ["_team_1", "create"]
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
Show the edit object dialog for the given object.
C Func: 0x13ea7a0 ScriptInfo: 0x1611cb0
Defines an action performed when the user double clicks on the map. Command receives:
_pos
_units
_shift,_alt
C Func: 0x13ea6c0 ScriptInfo: 0x1611ce4
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
C Func: 0x13ea5f4 ScriptInfo: 0x1611d18
Select an editor object. Does not un-select previously selected objects.
C Func: 0x13ea590 ScriptInfo: 0x1611d4c
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];
Returns the editor object scope of the specified editor object.
C Func: 0x13ea1e4 ScriptInfo: 0x1611db4
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
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
Removes a previously added menu item.
C Func: 0x13e9fd4 ScriptInfo: 0x1611e50
Removes a previously added menu item.
C Func: 0x13e9fd4 ScriptInfo: 0x1611e84
Returns the total number of user-added menu items belonging to the given menu.
C Func: 0x13e9f50 ScriptInfo: 0x1611eb8
Sets map mode to MAP, 3D or PREVIEW.
C Func: 0x13e9f18 ScriptInfo: 0x1611eec
Sets given event handler of given editor.
C Func: 0x13e9ea4 ScriptInfo: 0x1611f20
_map editorSetEventHandler ["SelectObject", ""]
Sets whether or not the object is visible even if the tree is collapsed.
C Func: 0x13e9e14 ScriptInfo: 0x1611f54
Adds a new menu button. Priority is optional.
C Func: 0x13e9dcc ScriptInfo: 0x1611f88
Creates a previously added menu.
C Func: 0x13e9d9c ScriptInfo: 0x1611fbc
Creates the new overlay dialog for the specified type of overlay.
C Func: 0x13e9d4c ScriptInfo: 0x1611ff0
Creates the load overlay dialog for the specified type of overlay.
C Func: 0x13e9cf8 ScriptInfo: 0x1612024
Center the map on, and point the camera at, the position.
C Func: 0x13e9cb0 ScriptInfo: 0x1612058
The editor will draw a line between the two specified editor objects. Line type can be LINE or ARROW.
C Func: 0x13e9c10 ScriptInfo: 0x161208c
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
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
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
Removes an icon for an editor object.
C Func: 0x13e97dc ScriptInfo: 0x161215c
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
Toggle the drawing of 3D icons.
C Func: 0x13e9718 ScriptInfo: 0x16121c4
Allow/dissallow 3D mode.
C Func: 0x13e96f0 ScriptInfo: 0x16121f8
Allow/dissallow file ops (load/save etc).
C Func: 0x13e96b0 ScriptInfo: 0x161222c
Show/hide map legend.
C Func: 0x13e968c ScriptInfo: 0x1612260
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
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
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 plus b
C Func: 0x1313844 ScriptInfo: 0x1640918
counter + 1
a minus b
C Func: 0x130fe48 ScriptInfo: 0x164094c
counter - 1
player distance redCar < 100
C Func: 0x140a518 ScriptInfo: 0x1640980
a lesser or equal than b
C Func: 0x140a4d8 ScriptInfo: 0x16409b4
player distance redCar <= 100
a greater than b
C Func: 0x13188e8 ScriptInfo: 0x16409e8
counter > 4
a lesser than b
C Func: 0x136d778 ScriptInfo: 0x1640a1c
counter < 4
a equal to b
C Func: 0x132f1dc ScriptInfo: 0x1640a50
counter == 4
a is not equal to b
C Func: 0x132f178 ScriptInfo: 0x1640a84
counter != 4
a equal to b (case insensitive)
C Func: 0x132f1dc ScriptInfo: 0x1640ab8
nameOfPlayer == "John Doe"
a is not equal to b (case insensitive)
C Func: 0x132f178 ScriptInfo: 0x1640aec
nameOfPlayer != "John Doe"
"I am blind"
C Func: 0x1313844 ScriptInfo: 0x1640b20
[0, 1, 2, 1, 2, 3]
C Func: 0x1313844 ScriptInfo: 0x1640b54
[0, 4, 0, 4, 5]
C Func: 0x130fe48 ScriptInfo: 0x1640b88
a and b
C Func: 0x140a27c ScriptInfo: 0x1640bbc
alive player && alive leader player
a and b
C Func: 0x13dccf4 ScriptInfo: 0x1640bf0
alive player and alive leader player
a or b
C Func: 0x140a220 ScriptInfo: 0x1640c24
!alive player || !alive leader player
a or b
C Func: 0x140a1f0 ScriptInfo: 0x1640c58
not alive player or not alive leader player
a and b, b evaluated only when a is true
C Func: 0x140a27c ScriptInfo: 0x1640c8c
alive player && {alive leader player}
a and b, b evaluated only when a is true
C Func: 0x13dccf4 ScriptInfo: 0x1640cc0
alive player and alive leader player
a or b, b evaluated only when a is false
C Func: 0x140a220 ScriptInfo: 0x1640cf4
!alive player || !alive leader player
a or b, b evaluated only when a is false
C Func: 0x140a1f0 ScriptInfo: 0x1640d28
not alive player or not alive leader player
Selects index element of the array. Index 0 denotes the first element, 1 the second, etc.
C Func: 0x139448c ScriptInfo: 0x1640d5c
[1, 2, 3] select 1
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.
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"]
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
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]
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
true
C Func: 0x132f2fc ScriptInfo: 0x1640e94
1
C Func: 0x1409c94 ScriptInfo: 0x1640ec8
The code is executed when the if condition is met. If the code is executed, the last value calculated in the code is returned. If the code is not executed,
C Func: 0x13c4c5c ScriptInfo: 0x1640efc
if (a>b) then {c=1}
The first or second element of the array is executed depending on the result of the if condition. The result of the executed expression is returned as a result (the result may be
C Func: 0x13c4c5c ScriptInfo: 0x1640f30
if (a>b) then {c=1} else {c=2};if (a>b) then [{c=1},{c=2}]
Constructs an array that can be processed by
C Func: 0x13c4c54 ScriptInfo: 0x1640f64
if (a>b) then {c=0} else {c=1}
Repeats the code while the condition is true. Note: the maximum repeat count for the loop is 10000. If the condition is still true after the loop was repeated 10000 times, the loop will be terminated and an error message is shown.
C Func: 0x13c4c6c ScriptInfo: 0x1640f98
while "a>b" do {a=a+1}
Execute the code inside the given namespace.
C Func: 0x13c4c6c ScriptInfo: 0x1640fcc
with missionNamespace do {global=global+1}
[when _x is greater then 5, outputs message and terminates code in current level with value of _x
C Func: 0x13c4c48 ScriptInfo: 0x1641000
3
C Func: 0x1409780 ScriptInfo: 0x1641034
Default
C Func: 0x13146bc ScriptInfo: 0x1641068
Default
C Func: 0x13146b8 ScriptInfo: 0x164109c
Default
C Func: 0x1348228 ScriptInfo: 0x16410d0
End of for command, starts cycle
C Func: 0x13c4c6c ScriptInfo: 0x1641104
for "_x" from 20 to 10 step -2 do {..code..}
see switch
C Func: 0x1308174 ScriptInfo: 0x1641138
Switch form
C Func: 0x13c4c6c ScriptInfo: 0x164116c
switch (_a) do { case 1: {block}; case 2 : {block}; default {block};}
processes code, when exception is thrown in
C Func: 0x13c4c64 ScriptInfo: 0x16411a0
The smaller of a,b
C Func: 0x1348124 ScriptInfo: 0x16411d4
3 min 2
The greater of a,b
C Func: 0x1348120 ScriptInfo: 0x1641208
3 max 2
Set variable to given value in the given namespace.
C Func: 0x132f398 ScriptInfo: 0x164123c
Return the value of variable in the given namespace.
C Func: 0x132f340 ScriptInfo: 0x1641270
80915 TOH
C Func: 0x132f340 ScriptInfo: 0x16412a4
Extend expression
C Func: 0x1313844 ScriptInfo: 0x1642c08
Extend expression
C Func: 0x1313844 ScriptInfo: 0x1642c3c
Extend expression
C Func: 0x1313844 ScriptInfo: 0x1642c70
Extend expression
C Func: 0x130fe48 ScriptInfo: 0x1642ca4
Extend expression
C Func: 0x130fe48 ScriptInfo: 0x1642cd8
Extend expression
C Func: 0x130fe48 ScriptInfo: 0x1642d0c
Extend expression
C Func: 0x1348124 ScriptInfo: 0x1642d40
Extend expression
C Func: 0x1348124 ScriptInfo: 0x1642d74
Extend expression
C Func: 0x1348124 ScriptInfo: 0x1642da8
Extend expression
C Func: 0x1348120 ScriptInfo: 0x1642ddc
Extend expression
C Func: 0x1348120 ScriptInfo: 0x1642e10
Extend expression
C Func: 0x1348120 ScriptInfo: 0x1642e44
Extend expression
C Func: 0x140ef84 ScriptInfo: 0x1642e78
Extend expression
C Func: 0x140ef78 ScriptInfo: 0x1642eac
Return position of given location.
C Func: 0x132eea4 ScriptInfo: 0x15eb360
location
C Func: 0x132ee6c ScriptInfo: 0x15eb38c
Return direction (angle) of given location.
location
C Func: 0x1301818 ScriptInfo: 0x15eb3b8
Return size of given location (width, height).
location
C Func: 0x12fce78 ScriptInfo: 0x15eb3e4
Return type of given location.
location
C Func: 0x132ea80 ScriptInfo: 0x15eb410
Return importance of given location.
location
C Func: 0x12fce28 ScriptInfo: 0x15eb43c
Return name of global vatiable containing given location.
80971 TOH
C Func: 0x132eac8 ScriptInfo: 0x15eb468
location
C Func: 0x130106c ScriptInfo: 0x15eb494
Return text attached to given location.
location
C Func: 0x132e348 ScriptInfo: 0x15eb4c0
Check if given location has rectangular shape.
Return object attached to given location.
C Func: 0x132ece4 ScriptInfo: 0x15eb4ec
location
C Func: 0x12ff09c ScriptInfo: 0x15eb518
Return target side of given location.
Check whether the value is null.
C Func: 0x132ec90 ScriptInfo: 0x15eb544
Find the nearest location (to the given position) having it speech non-empty.
C Func: 0x132ec20 ScriptInfo: 0x15eb570
Returns the descripction of the task.
C Func: 0x1349824 ScriptInfo: 0x15ecf44
task
C Func: 0x133fd7c ScriptInfo: 0x15ecf70
Return the priority of the task.
List all uncompleted tasks.
C Func: 0x13497d4 ScriptInfo: 0x15ecf9c
List all registered task types.
C Func: 0x13497a4 ScriptInfo: 0x15ecfc8
true
C Func: 0x132ec90 ScriptInfo: 0x15ecff4
_link = createDiarySubject ["Group", player, "Player"]
C Func: 0x1349614 ScriptInfo: 0x15ed020
Open the diary screen on the record specified by link.
C Func: 0x13495c0 ScriptInfo: 0x15ed04c
Return all simple tasks assigned to given person.
C Func: 0x1349580 ScriptInfo: 0x15ed078
Cancels a simple task destination
C Func: 0x1349540 ScriptInfo: 0x15ed0a4
Return current task of given person.
C Func: 0x134950c ScriptInfo: 0x15ed0d0
true
C Func: 0x132ec90 ScriptInfo: 0x15fbd48
false
C Func: 0x132ec90 ScriptInfo: 0x15fbd74
Checks whether the given person, vehicle or building is't dead / destroyed.
C Func: 0x13adeb4 ScriptInfo: 0x15fbda0
alive player
active mine
C Func: 0x13ade74 ScriptInfo: 0x15fbdcc
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
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"
Returns the object position in format
C Func: 0x132eedc ScriptInfo: 0x15fbe50
getPos player
Returns the object position in format
C Func: 0x13203dc ScriptInfo: 0x15fbe7c
position player
Returns the object rendered position in format
C Func: 0x13adbac ScriptInfo: 0x15fbea8
visiblePosition player
Returns the object rendered position in format
C Func: 0x13adb34 ScriptInfo: 0x15fbed4
visiblePositionASL player
OA 93641
C Func: 0x13adab0 ScriptInfo: 0x15fbf00
OA 93641
C Func: 0x13ada38 ScriptInfo: 0x15fbf2c
Returns the object position in format
C Func: 0x13ad9dc ScriptInfo: 0x15fbf58
getPosASL player
OA 93598
C Func: 0x13ad96c ScriptInfo: 0x15fbf84
OA 93598
C Func: 0x13ad8f4 ScriptInfo: 0x15fbfb0
Returns the object position in format
C Func: 0x13ad898 ScriptInfo: 0x15fbfdc
getPosATL player
Returns the object heading in the range from 0 to 360.
C Func: 0x13ad848 ScriptInfo: 0x15fc008
getDir player
OA 93619
C Func: 0x13ad7c4 ScriptInfo: 0x15fc034
Returns the object heading in the range of 0 to 360.
C Func: 0x132ee6c ScriptInfo: 0x15fc060
direction player
vehicle
C Func: 0x13483d0 ScriptInfo: 0x15fc08c
Returns the velocity (speed vector) of the vehicle as an array with format [x, z, y].
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
Returns the object damage in the range from 0 to 1.
C Func: 0x13ad648 ScriptInfo: 0x15fc0e4
getDammage player
Returns the object damage in a range of 0 to 1. Note: this function is identical to
C Func: 0x12fcad8 ScriptInfo: 0x15fc110
damage player
Returns the object speed (in km/h).
C Func: 0x12fcb2c ScriptInfo: 0x15fc13c
speed player
Returns the marker positon in format [x,z,y].
C Func: 0x13ad530 ScriptInfo: 0x15fc168
getMarkerPos "markerOne"
Returns the marker positon in format [x,z,y].
Note: this function is identical to
C Func: 0x13ad4a0 ScriptInfo: 0x15fc194
markerPos "markerOne"
Gets the type of the marker. See
C Func: 0x13ad43c ScriptInfo: 0x15fc1c0
getMarkerType "MarkerOne"
Gets the type of the marker. See
C Func: 0x132dca0 ScriptInfo: 0x15fc1ec
markerType "MarkerOne"
Gets the marker size. See
C Func: 0x13ad354 ScriptInfo: 0x15fc218
getMarkerSize "MarkerOne"
Gets the marker size. See
C Func: 0x13ad2c4 ScriptInfo: 0x15fc244
markerSize "MarkerOne"
Gets the marker direction. See
C Func: 0x13ad26c ScriptInfo: 0x15fc270
markerDir "MarkerOne"
Gets the marker text. See
C Func: 0x13ad218 ScriptInfo: 0x15fc29c
markerText "MarkerOne"
Gets the marker color. See
C Func: 0x13ad1b8 ScriptInfo: 0x15fc2c8
getMarkerColor "MarkerOne"
Gets the marker color. See
C Func: 0x13ad124 ScriptInfo: 0x15fc2f4
markerColor "MarkerOne"
Gets the waypoint position. The format of waypoint is
C Func: 0x13ad0b0 ScriptInfo: 0x15fc320
getWPPos [groupOne, 1]
Gets the waypoint position. Waypoint uses format
C Func: 0x13acff4 ScriptInfo: 0x15fc34c
waypointPosition [groupOne, 1]
neareastBuilding player
C Func: 0x13acf98 ScriptInfo: 0x15fc378
OA 93648
C Func: 0x13acf98 ScriptInfo: 0x15fc3a4
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"]
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
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
Returns all mission objects with given type.
C Func: 0x13accb0 ScriptInfo: 0x15fc454
allMissionObjects "Air"
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
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
Checks whether the given soldier is able to stand up.
C Func: 0x13acb48 ScriptInfo: 0x15fc4d8
canStand player
Checks whether the soldier's hands are hit (causing inaccurate aiming).
C Func: 0x13acad8 ScriptInfo: 0x15fc504
handsHit leader player
Checks whether the unit is fleeing. A dead or empty unit returns false.
C Func: 0x13aca74 ScriptInfo: 0x15fc530
fleeing player
Checks whether the unit has some ammo remaining.
C Func: 0x13aca1c ScriptInfo: 0x15fc55c
someAmmo vehicle player
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
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
MP: returns the unit's score.
C Func: 0x13204a8 ScriptInfo: 0x15fc5e0
score unitOne
score west
C Func: 0x13ac8b0 ScriptInfo: 0x15fc60c
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
Returns the group leader for the given unit. For dead units, objNull is returned.
C Func: 0x13212dc ScriptInfo: 0x15fc664
leader player
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
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
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
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
General
C Func: 0x13212dc ScriptInfo: 0x15fc740
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
Returns group name.
C Func: 0x13ac418 ScriptInfo: 0x15fc798
name = groupID (group player)
Returns an array with all the units in the group.
C Func: 0x1320d80 ScriptInfo: 0x15fc7c4
player in units group player
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
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 flagOne
C Func: 0x133d610 ScriptInfo: 0x15fc848
If the unit has a flag, this flag is returned. If not, objNull is returned.
C Func: 0x1320088 ScriptInfo: 0x15fc874
flag player
Check if fireplace is inflamed (buring).
C Func: 0x13ac144 ScriptInfo: 0x15fc8a0
inflamed fireplaceOne
Checks whether the lampost is turned on. Possible values are "ON", "OFF" and "AUTO" (auto means the lamp will be shining during the night automatically).
C Func: 0x13ac058 ScriptInfo: 0x15fc8cc
lightIsOn nearestObject [player, "StreetLamp"] != "OFF"
Returns the current state of the given scud launcher. The following states are recognized: 0 - No activity, 1 - Launch preparation, 2 - Launch prepared, 3 - Ignition and 4 - Launched. Note: non-integral values are used to indicate a transition between states.
C Func: 0x133aea4 ScriptInfo: 0x15fc8f8
scudState scudOne>=4
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
Returns the side of the unit.
C Func: 0x12ff09c ScriptInfo: 0x15fc950
side player == west
Returns the name of the variable assigned to the object in the mission editor. When used on a vehicle, the name of the first crew member is returned (in order: commander, driver, gunner).
C Func: 0x12fce28 ScriptInfo: 0x15fc97c
name vehicle player
Returns the nameSound of the variable assigned to the object in the mission editor.
C Func: 0x137d6f0 ScriptInfo: 0x15fc9a8
nameSound player
Returns the face of the variable assigned to the object in the mission editor.
C Func: 0x1322328 ScriptInfo: 0x15fc9d4
face player
Returns the speaker of the variable assigned to the object in the mission editor.
C Func: 0x1322318 ScriptInfo: 0x15fca00
speaker player
Returns the pitch of the variable assigned to the object in the mission editor.
C Func: 0x1322310 ScriptInfo: 0x15fca2c
pitch player
Returns the behaviour mode of the given unit ("CARELESS","SAFE","AWARE","COMBAT" or "STEALTH").
C Func: 0x12fd9d0 ScriptInfo: 0x15fca58
behaviour player
Returns the combat mode of the given unit ("BLUE","GREEN","YELLOW" or "RED").
C Func: 0x132ddc0 ScriptInfo: 0x15fca84
combatMode group player
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
Returns the speed mode of the group ("LIMITED", "NORMAL" or "FULL").
C Func: 0x13ab9f8 ScriptInfo: 0x15fcadc
speedMode group player
Obsolete.
C Func: 0x13ab9ec ScriptInfo: 0x15fcb08
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"]
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"]
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"]
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"]
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"]
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"]
titleFadeIn 1.0
C Func: 0x13ab3b8 ScriptInfo: 0x15fcc3c
titleRsc ["BIS", "PLAIN"]
C Func: 0x13ab2ec ScriptInfo: 0x15fcc68
titleObj ["BISLogo","plain"]
C Func: 0x13ab224 ScriptInfo: 0x15fcc94
Plays a sound defined in the description.ext file.
C Func: 0x13ab1cc ScriptInfo: 0x15fccc0
playSound "soundname"
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]
Plays music defined in the description.ext file.
C Func: 0x13ab0b4 ScriptInfo: 0x15fcd18
playMusic "musicname"
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]
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
Checks whether the unit is stopped using the "stop" command.
C Func: 0x1341448 ScriptInfo: 0x15fcd9c
stopped jeepOne
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
captive player
C Func: 0x13aae74 ScriptInfo: 0x15fcdf4
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
Removes all weapons from the unit.
C Func: 0x13aad80 ScriptInfo: 0x15fce4c
removeAllWeapons player
Removes the action with the given id.
C Func: 0x13aad2c ScriptInfo: 0x15fce78
removeAllActions player
Removes all containers from the unit.
C Func: 0x13aacd4 ScriptInfo: 0x15fcea4
removeAllContainers player
Removes all backpacks from ammo box (or any general weapon holder container).
C Func: 0x13aac54 ScriptInfo: 0x15fced0
clearBackpackCargo jeepOne
Removes all weapons from the vehicle cargo space.
C Func: 0x13aabf0 ScriptInfo: 0x15fcefc
clearWeaponCargo jeepOne
Removes all magazines from the vehicle cargo space.
C Func: 0x13aab8c ScriptInfo: 0x15fcf28
clearMagazineCargo jeepOne
Removes all items from ammo box (or any general weapon holder container).
C Func: 0x13aab14 ScriptInfo: 0x15fcf54
clearItemCargo jeepOne
Removes all weapons from the vehicle cargo space. MP synchronized.
C Func: 0x13aaa94 ScriptInfo: 0x15fcf80
clearWeaponCargoGlobal jeepOne
Removes all magazines from the vehicle cargo space. MP synchronized.
C Func: 0x13aaa08 ScriptInfo: 0x15fcfac
clearMagazineCargoGlobal jeepOne
clearMagazineCargoGlobal jeepOne
C Func: 0x13aa9ec ScriptInfo: 0x15fcfd8
Removes all items from ammo box (or any general weapon holder container).
C Func: 0x13aa9b4 ScriptInfo: 0x15fd004
clearItemCargoGlobal jeepOne
Removes all items from the backpack.
C Func: 0x13aa970 ScriptInfo: 0x15fd030
Returns all weapons names and count from ammo box (or any general weapon holder container).
C Func: 0x13aa8e4 ScriptInfo: 0x15fd05c
getWeaponCargo jeepOne
Returns all magazines names and count from ammo box (or any general weapon holder container).
C Func: 0x13aa854 ScriptInfo: 0x15fd088
getMagazineCargo jeepOne
Returns all items names and count from ammo box (or any general weapon holder container).
C Func: 0x13aa7cc ScriptInfo: 0x15fd0b4
getItemCargo jeepOne
Returns all backpacks names and count from ammo box (or any general weapon holder container).
C Func: 0x13aa738 ScriptInfo: 0x15fd0e0
getBackpackCargo jeepOne
Deletes any unit or vehicle. Only vehicles inserted in the editor or created during a mission can be deleted. The player unit cannot be deleted.
C Func: 0x13aa674 ScriptInfo: 0x15fd10c
deleteVehicle tank
Removes the site.
C Func: 0x13aa644 ScriptInfo: 0x15fd138
deleteSite tank
Removes all linked items from gear (map, compass, headgear, goggles etc.).
C Func: 0x13aa5e0 ScriptInfo: 0x15fd164
Remove backpack from unit.
C Func: 0x13aa59c ScriptInfo: 0x15fd190
removeBackpack player
removeBackpack player
C Func: 0x13aa570 ScriptInfo: 0x15fd1bc
removeBackpack player
C Func: 0x13aa54c ScriptInfo: 0x15fd1e8
removeBackpack player
C Func: 0x13aa520 ScriptInfo: 0x15fd214
removeBackpack player
C Func: 0x13aa4f4 ScriptInfo: 0x15fd240
Enables the map (the default is true).
C Func: 0x132e3f4 ScriptInfo: 0x15fd26c
showMap true
Enables the watch (the default is true).
C Func: 0x132e3e8 ScriptInfo: 0x15fd298
Enables the compass (the default is true).
C Func: 0x132e3dc ScriptInfo: 0x15fd2c4
Set Compass Oscilation.
C Func: 0x13aa410 ScriptInfo: 0x15fd2f0
Enables the radio (the default is false).
C Func: 0x13aa3d8 ScriptInfo: 0x15fd31c
Enables the notepad (the default is true).
C Func: 0x13aa3a4 ScriptInfo: 0x15fd348
Obsolete. Enables the ID card (the default is false).
C Func: 0x13aa360 ScriptInfo: 0x15fd374
Enables the GPS receiver (the default is false).
C Func: 0x13aa324 ScriptInfo: 0x15fd3a0
Enables radio transmissions to be heard and seen on screen.
C Func: 0x137d450 ScriptInfo: 0x15fd3cc
Enables radio transmissions to be heard and seen on screen. It does not affect KBTell conversations.
C Func: 0x13922f4 ScriptInfo: 0x15fd3f8
Forces drawing of the cinema borders. This is normally used in cutscenes to indicate the player has no control.
C Func: 0x13aa1fc ScriptInfo: 0x15fd424
Disables all user input. This is normally used only in cutscenes to disable the player's controls.
C Func: 0x13aa17c ScriptInfo: 0x15fd450
Broadcasts the variable value to all computers.
Only type
C Func: 0x13aa064 ScriptInfo: 0x15fd47c
publicVariable "CTFscoreOne"
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"
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"
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"
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."
"1 - text - 1"
C Func: 0x1391844 ScriptInfo: 0x15fd558
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"
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 2000
C Func: 0x13a9ae4 ScriptInfo: 0x15fd5dc
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 2000
C Func: 0x13a997c ScriptInfo: 0x15fd634
setobjectviewdistance 2000
C Func: 0x13a997c ScriptInfo: 0x15fd660
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"
Dumps the argument value into the debugging output.
C Func: 0x13a9868 ScriptInfo: 0x15fd6b8
textLog player
Dumps the argument's type and value to the debugging output.
C Func: 0x13a980c ScriptInfo: 0x15fd6e4
debugLog player
Destroys the camera.
C Func: 0x13a97e8 ScriptInfo: 0x15fd710
Checks whether the camera has finished committing.
C Func: 0x13a978c ScriptInfo: 0x15fd73c
camCommitted _camera
Checks whether the camera has finished preloading.
C Func: 0x13a9730 ScriptInfo: 0x15fd768
camPreloaded _camera
Returns camera's target.
C Func: 0x13a96f4 ScriptInfo: 0x15fd794
camTarget _camera
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
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"
Sets the time acceleration coeficient. It can also be used to slow down time in cutscenes.
C Func: 0x13a9530 ScriptInfo: 0x15fd818
setAccTime 0.1
Forces the map to display.
C Func: 0x13a94f8 ScriptInfo: 0x15fd844
forceMap true
Show player's map. If forced, cannot be closed.
C Func: 0x13a949c ScriptInfo: 0x15fd870
openMap [true,true]
Show player's map. If forced, cannot be closed.
C Func: 0x13a949c ScriptInfo: 0x15fd89c
openMap true
Adds the next frame to the map animation. The format of frame is [time, zoom, position], the format of position is
C Func: 0x13a93c0 ScriptInfo: 0x15fd8c8
mapAnimAdd [1, 0.1, getMarkerPos "anim1"]
Returns the estimated time left in the game. Using this function the designer can provide a "time left" estimate that is shown in the "Game in progress" screen or in the master browser. For missions with a hard set limit adjusted via Param1, the following example can be used in the init.sqs file.
C Func: 0x13a9260 ScriptInfo: 0x15fd8f4
estimatedTimeLeft Param1
"if a>b then {a} else {b}"
C Func: 0x13a91ec ScriptInfo: 0x15fd920
"if a>b then {a} else {b}"
C Func: 0x13a9120 ScriptInfo: 0x15fd94c
Returns the number of players playing on the given side.
C Func: 0x13a90d4 ScriptInfo: 0x15fd978
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
Checks whether the engine is on.
C Func: 0x13a8fc8 ScriptInfo: 0x15fd9d0
on = isEngineOn vehicle player
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
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
Orders the unit to get out from the vehicle (via the radio).
C Func: 0x13a8e38 ScriptInfo: 0x15fda54
commandGetOut unitOne
Orders a unit to get out from the vehicle (silently).
C Func: 0x13a8de0 ScriptInfo: 0x15fda80
doGetOut unitOne
Sets the actual mission date and time.
C Func: 0x13a8d8c ScriptInfo: 0x15fdaac
Creates a new AI center for the given side.
C Func: 0x13a8d34 ScriptInfo: 0x15fdad8
center = createCenter East
Destroys the AI center of the given side.
C Func: 0x13a8ce4 ScriptInfo: 0x15fdb04
deleteCenter East
Creates a new AI group for the given center (side).
C Func: 0x13a8c88 ScriptInfo: 0x15fdb30
group = createGroup East
Destroys the given AI group.
C Func: 0x13a8c48 ScriptInfo: 0x15fdb5c
deleteGroup group
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]
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]
Destroys the given marker. The marker is destroyed on all computers in a network session.
C Func: 0x13a89f4 ScriptInfo: 0x15fdbe0
deleteMarker "Marker1"
Destroys the given marker. The marker is only destroyed on the computer where the command is called.
C Func: 0x13a8958 ScriptInfo: 0x15fdc0c
deleteMarkerLocal "Marker1"
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]
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]
Removes the waypoint.
C Func: 0x13a868c ScriptInfo: 0x15fdc90
deleteWaypoint [grp, 2]
"SoldierWB"
C Func: 0x13a862c ScriptInfo: 0x15fdcbc
"Enter"
C Func: 0x13224e4 ScriptInfo: 0x15fdce8
"Enter"
C Func: 0x13a84f0 ScriptInfo: 0x15fdd14
Returns a list of dikCodes of buttons assigned to the given user action.
C Func: 0x13a8470 ScriptInfo: 0x15fdd40
array = actionKeys "ReloadMagazine"
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"
list = actionKeysNames "ReloadMagazine"
C Func: 0x13a8358 ScriptInfo: 0x15fdd98
Returns localized name of action.
C Func: 0x131ace8 ScriptInfo: 0x15fddc4
name = actionName "ReloadMagazine"
Returns a list of button images or names assigned to the given user action. A maximum of maxKeys keys is listed. You can find the action names in config class ControllerSchemes.
C Func: 0x13a8218 ScriptInfo: 0x15fddf0
text = actionKeysImages "ReloadMagazine"
Creates a structured text containing the given image.
C Func: 0x131a9fc ScriptInfo: 0x15fde1c
txt1 = image "data\isniper.paa"
Creates a structured text containing the given plain text.
C Func: 0x130106c ScriptInfo: 0x15fde48
txt2 = text "Hello world."
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"]
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"
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"]
Unassigns the vehicle (its commander unit) from his team. This is equal to vehicle assignTeam "MAIN".
C Func: 0x13a7e8c ScriptInfo: 0x15fdef8
unassignTeam soldier2
MAIN
C Func: 0x13a7e14 ScriptInfo: 0x15fdf24
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"
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"
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"
Checks whether the given key is active in the current user profile.
C Func: 0x13a7b28 ScriptInfo: 0x15fdfd4
ok = isKeyActive "M04"
Hides the body of the given person.
C Func: 0x136a050 ScriptInfo: 0x15fe000
hideBody player
Checks whether the object is marked for weapons collection.
C Func: 0x13a7a68 ScriptInfo: 0x15fe02c
marked = isMarkedForCollection truck
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"
Checks whether current user is able to process the specified server command. See also
C Func: 0x13a7908 ScriptInfo: 0x15fe084
serverCommandAvailable "#kick"
Set the time interval to wait on player respawn. It is set to mission default on mission start again.
C Func: 0x13a786c ScriptInfo: 0x15fe0b0
Force respawns given unit (stays old "killed" body). Will not count score
C Func: 0x13a7804 ScriptInfo: 0x15fe0dc
TOH 80934
C Func: 0x13a77a4 ScriptInfo: 0x15fe108
TOH 81984
C Func: 0x13a7720 ScriptInfo: 0x15fe134
Make sure sound can start playing without any delay once we need it.
C Func: 0x13a76c0 ScriptInfo: 0x15fe160
Preload all textures and models around given position
C Func: 0x13a7678 ScriptInfo: 0x15fe18c
Check if script is already finished
C Func: 0x13a7648 ScriptInfo: 0x15fe1b8
Terminate (abort) the script
C Func: 0x135e4f8 ScriptInfo: 0x15fe1e4
Activates the listed addons. The list of active addons is initialized during this function.
C Func: 0x13a7588 ScriptInfo: 0x15fe210
activateAddons ["BISOFP"]
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]
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]
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"]
Switch player to given unit.
C Func: 0x13a7004 ScriptInfo: 0x15fe2c0
selectPlayer aP
Create MP role for the unit.
C Func: 0x13a6fc8 ScriptInfo: 0x15fe2ec
setPlayable aP
Return camera interest for given entity.
C Func: 0x137ca6c ScriptInfo: 0x15fe318
Returns whether water is on given position.
C Func: 0x13a6f48 ScriptInfo: 0x15fe344
Returns what surface is on given position.
C Func: 0x13a6f10 ScriptInfo: 0x15fe370
Returns surface normal on given position.
C Func: 0x13a6ecc ScriptInfo: 0x15fe39c
Detach light from object.
C Func: 0x13a6e9c ScriptInfo: 0x15fe3c8
"if a>b then {a} else {b}"
C Func: 0x13a6e54 ScriptInfo: 0x15fe3f4
Suspend execution of script for given time.
C Func: 0x1397330 ScriptInfo: 0x15fe420
sleep 0.5
Suspend execution of script for given uitime.
C Func: 0x1397338 ScriptInfo: 0x15fe44c
uisleep 0.5
Return object's up vector in world coordinates as [x, z, y].
C Func: 0x13a6d84 ScriptInfo: 0x15fe478
Return object's direction vector in world coordinates as [x, z, y].
C Func: 0x13a6d30 ScriptInfo: 0x15fe4a4
Check if latest low level moveTo command is finished.
C Func: 0x13a6ce8 ScriptInfo: 0x15fe4d0
Check if latest low level moveTo command failed.
C Func: 0x13a6ca4 ScriptInfo: 0x15fe4fc
Set / clear using of night vision during cutscenes.
C Func: 0x13a6c64 ScriptInfo: 0x15fe528
Sets custom camera apreture (-1 to do it automatically).
C Func: 0x13a6c1c ScriptInfo: 0x15fe554
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"]
same as hideObject.
C Func: 0x13a6a24 ScriptInfo: 0x15fe5ac
Hide object (cannot hide static objects).
C Func: 0x13a69ec ScriptInfo: 0x15fe5d8
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
Returns the name of the variable which contains a reference to this object.
C Func: 0x13a68ec ScriptInfo: 0x15fe630
Sets given event handler of in-game UI.
C Func: 0x13a6890 ScriptInfo: 0x15fe65c
Move (UI) mouse pointer to specified position of the screen.
C Func: 0x13a6820 ScriptInfo: 0x15fe688
setMousePosition [0.5, 0.5]
Check if given person is the player.
C Func: 0x13a67ec ScriptInfo: 0x15fe6b4
entity
C Func: 0x137d5ec ScriptInfo: 0x15fe6e0
Return the precision of the given entity.
unit
C Func: 0x132147c ScriptInfo: 0x15fe70c
Return the rank of the given unit.
Return the rank of the given unit for comparison.
C Func: 0x13a6760 ScriptInfo: 0x15fe738
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]
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
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
Add a unit into the list of units available for team switch.
C Func: 0x13a64a8 ScriptInfo: 0x15fe7e8
Remove a unit from the list of units available for team switch.
C Func: 0x13a6450 ScriptInfo: 0x15fe814
Enable / disable team switch.
C Func: 0x132c6f8 ScriptInfo: 0x15fe840
Return expected destination of unit as a [position, planningMode, forceReplan].
C Func: 0x13a63c8 ScriptInfo: 0x15fe86c
Return position of unit in the formation.
C Func: 0x13a6388 ScriptInfo: 0x15fe898
Return the name of the current primary animation.
C Func: 0x13a6340 ScriptInfo: 0x15fe8c4
Returns true if the specified person is subgroup leader.
C Func: 0x13a62f0 ScriptInfo: 0x15fe8f0
Return list of units (drivers) in the formation.
C Func: 0x13a62a8 ScriptInfo: 0x15fe91c
Return leader of the formation.
C Func: 0x13690b8 ScriptInfo: 0x15fe948
Return the current task of the unit in the formation.
C Func: 0x13a6240 ScriptInfo: 0x15fe974
Return the unit position rules.
C Func: 0x13a6218 ScriptInfo: 0x15fe9a0
Check if given AI feature is currently enabled.
C Func: 0x13a61c8 ScriptInfo: 0x15fe9cc
Return the direction unit watching in formation.
C Func: 0x13a6180 ScriptInfo: 0x15fe9f8
Returns the effective commander (who really commands) of the vehicle.
C Func: 0x13a6124 ScriptInfo: 0x15fea24
Check whether magazine is reloaded whenever emptied.
C Func: 0x13a60dc ScriptInfo: 0x15fea50
Return how much vehicle wants to reload its weapons.
C Func: 0x13a6098 ScriptInfo: 0x15fea7c
Reload all weapons.
C Func: 0x13202dc ScriptInfo: 0x15feaa8
Return whether the person is hidden (reached the hiding position).
C Func: 0x13a6030 ScriptInfo: 0x15fead4
Return the current command type (empty string when no command).
C Func: 0x13a5fe0 ScriptInfo: 0x15feb00
Return the target assigned to the vehicle.
C Func: 0x13a5fa4 ScriptInfo: 0x15feb2c
Return whether leader can issue attack commands.
C Func: 0x13a5f60 ScriptInfo: 0x15feb58
Check if given difficulty setting is currently enabled. For possible values of flag, see config class Flags in CfgDificulties.
C Func: 0x13a5ec4 ScriptInfo: 0x15feb84
group
C Func: 0x13a5e88 ScriptInfo: 0x15febb0
Return the list of waypoints for given group.
Return the vehicle person is assigned to.
C Func: 0x133d594 ScriptInfo: 0x15febdc
Return the position in vehicle person is assigned to.
C Func: 0x13a5e08 ScriptInfo: 0x15fec08
Return the size of the entity of given type.
C Func: 0x13a5dd0 ScriptInfo: 0x15fec34
Find the places with the max. value of _expression in the given area.
C Func: 0x13a5d34 ScriptInfo: 0x15fec60
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"
Check whether the given FSM completes. The FSM handle is the number returned by the execFSM command.
C Func: 0x13a5bc8 ScriptInfo: 0x15fecb8
Gets the waypoint type.
C Func: 0x13a5b84 ScriptInfo: 0x15fece4
waypointType [groupOne, 1]
Gets the waypoint name.
C Func: 0x13a5b38 ScriptInfo: 0x15fed10
waypointName [groupOne, 1]
Gets the waypoint description.
C Func: 0x13a5ae0 ScriptInfo: 0x15fed3c
waypointDescription [groupOne, 1]
Gets the waypoint combat mode.
C Func: 0x13a5a88 ScriptInfo: 0x15fed68
waypointCombatMode [groupOne, 1]
Gets the waypoint formation.
C Func: 0x13a5a34 ScriptInfo: 0x15fed94
waypointFormation [groupOne, 1]
Gets the waypoint speed.
C Func: 0x13a59ec ScriptInfo: 0x15fedc0
waypointSpeed [groupOne, 1]
Gets the waypoint behavior.
C Func: 0x13a599c ScriptInfo: 0x15fedec
waypointBehaviour [groupOne, 1]
Gets the waypoint statements.
C Func: 0x13a5944 ScriptInfo: 0x15fee18
waypointStatements [groupOne, 1]
Gets the waypoint script.
C Func: 0x13a58f8 ScriptInfo: 0x15fee44
waypointScript [groupOne, 1]
Gets the waypoint timeout values.
C Func: 0x13a58a4 ScriptInfo: 0x15fee70
waypointTimeout [groupOne, 1]
Gets the waypoint show/hide status.
C Func: 0x13a5854 ScriptInfo: 0x15fee9c
waypointShow [groupOne, 1]
Gets the vehicle attached to the waypoint.
C Func: 0x13a57e8 ScriptInfo: 0x15feec8
waypointAttachedVehicle [groupOne, 1]
Gets the object attached to the waypoint.
C Func: 0x13a577c ScriptInfo: 0x15feef4
waypointAttachedObject [groupOne, 1]
Gets the house position assigned to the waypoint.
C Func: 0x13a570c ScriptInfo: 0x15fef20
waypointHousePosition [groupOne, 1]
Gets the radius around the waypoint where is the waypoint completed.
C Func: 0x13a5674 ScriptInfo: 0x15fef4c
_radius = waypointCompletionRadius [groupOne, 1]
Gets waypoint visibility.
C Func: 0x13a5620 ScriptInfo: 0x15fef78
visible = waypointVisible [groupOne, 1]
Find the road segments connected to the given road segment.
C Func: 0x13a55c0 ScriptInfo: 0x15fefa4
Return the name of the currently selected weapon (on the primary turret for vehicles).
C Func: 0x137a38c ScriptInfo: 0x15fefd0
Return the name of the type of the currently using magazine (on the primary turret for vehicles).
C Func: 0x13a54f0 ScriptInfo: 0x15feffc
Return the name of the type of the currently using magazine (on the primary turret for vehicles).
C Func: 0x13a54d8 ScriptInfo: 0x15ff028
Return the names of the types of currently loaded magazines in given weapon.
C Func: 0x13a546c ScriptInfo: 0x15ff054
Return the names of the types of currently loaded magazines in given weapon.
C Func: 0x13a5454 ScriptInfo: 0x15ff080
Return the names of the types of currently loaded magazines in given weapon.
C Func: 0x13a5444 ScriptInfo: 0x15ff0ac
Copy the text to the clipboard.
C Func: 0x13a5414 ScriptInfo: 0x15ff0d8
Store the given amount of armory points.
C Func: 0x13a53d8 ScriptInfo: 0x15ff104
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
Check if the entity has enabled simulation.
C Func: 0x13a52a0 ScriptInfo: 0x15ff15c
Return the state of input devices mapped to given input action (see CfgDefaultKeysMapping for action names).
C Func: 0x13a5224 ScriptInfo: 0x15ff188
Return the index of the current waypoint.
C Func: 0x13a51e8 ScriptInfo: 0x15ff1b4
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
Defines an action performed when the team switch is finished. Command receives:
_from
_to
C Func: 0x13a5078 ScriptInfo: 0x15ff20c
Returns true if the trigger has been activated.
C Func: 0x13a5034 ScriptInfo: 0x15ff238
Finish the mission. The end type can be "CONTINUE", "KILLED", "LOSER", "END1", "END2", "END3", "END4", "END5", or "END6".
C Func: 0x1392348 ScriptInfo: 0x15ff264
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
Moves the soldier out of vehicle. (Immediately, without animation).
C Func: 0x137c9f8 ScriptInfo: 0x15ff2bc
Gets the marker shape. See
C Func: 0x13a4e60 ScriptInfo: 0x15ff2e8
markerShape "MarkerOne"
Gets the marker brush. See
C Func: 0x13a4e08 ScriptInfo: 0x15ff314
markerBrush "MarkerOne"
Returns trigger activation in the form [by, type, repeating]
C Func: 0x13a4db4 ScriptInfo: 0x15ff340
Returns trigger area in the form [a, b, angle, rectangle]
C Func: 0x13a4d6c ScriptInfo: 0x15ff36c
Returns trigger statements in the form [cond, activ, desactiv]
C Func: 0x13a4d18 ScriptInfo: 0x15ff398
Returns trigger text.
C Func: 0x13a4cf4 ScriptInfo: 0x15ff3c4
Returns trigger timeout in the form [min, mid, max, interruptable]
C Func: 0x13a4c9c ScriptInfo: 0x15ff3f0
Returns trigger type.
C Func: 0x13a4c78 ScriptInfo: 0x15ff41c
Returns vehicle attached to the trigger (for example using
C Func: 0x13a4c00 ScriptInfo: 0x15ff448
Detaches an object.
C Func: 0x13a4bd4 ScriptInfo: 0x15ff474
detach player
Returns the life state of the given unit.
C Func: 0x1320004 ScriptInfo: 0x15ff4a0
Returns the incapacitated state of the given unit.
C Func: 0x13a4b60 ScriptInfo: 0x15ff4cc
unit
C Func: 0x134c6b0 ScriptInfo: 0x15ff4f8
Returns the stance of the given unit.
Returns fatigue of given unit.
C Func: 0x13a4b0c ScriptInfo: 0x15ff524
Returns the soldier assigned to the given vehicle as a driver.
C Func: 0x13a4abc ScriptInfo: 0x15ff550
Returns the soldier assigned to the given vehicle as a gunner.
C Func: 0x13a4a6c ScriptInfo: 0x15ff57c
Returns the soldier assigned to the given vehicle as a commander.
C Func: 0x13a4a10 ScriptInfo: 0x15ff5a8
Returns the list of soldiers assigned to the given vehicle as a cargo.
C Func: 0x13a49b4 ScriptInfo: 0x15ff5d4
Gets the marker alpha. See
C Func: 0x13a495c ScriptInfo: 0x15ff600
markerAlpha "MarkerOne"
unit
C Func: 0x132e14c ScriptInfo: 0x15ff62c
Gets unit faction. If faction is not defined, returns empty string.
On server machine, return the ID of the client where the object is local. Otherwise return 0.
C Func: 0x132017c ScriptInfo: 0x15ff658
Returns description of map sign mouse cursor is over.
C Func: 0x13a4868 ScriptInfo: 0x15ff684
Converts position in world space into screen (UI) space.
C Func: 0x13a481c ScriptInfo: 0x15ff6b0
Returns the position on landscape (in world coordinates) corresponding to the given point on screen (in UI coordinates).
C Func: 0x13a478c ScriptInfo: 0x15ff6dc
Returns selected groups in high command.
C Func: 0x13a473c ScriptInfo: 0x15ff708
array = hcSelected unit
Returns selected groups in high command.
C Func: 0x13a4714 ScriptInfo: 0x15ff734
array = hcAllGroups unit
Remove all groups from unit's high command bar.
C Func: 0x13a46b8 ScriptInfo: 0x15ff760
hcRemoveAllGroups unit
Returns group's HC commander.
C Func: 0x13a467c ScriptInfo: 0x15ff78c
hcLeader group
Shows or hides HC bar. There must be some groups under hc command to show hc bar.
C Func: 0x13a460c ScriptInfo: 0x15ff7b8
hcShowBar true
Defines an action performed when HC group has been selected. Command receives
_group
_isSelected
C Func: 0x13a4544 ScriptInfo: 0x15ff7e4
Defines an action performed when command mode change. Command receives
_isHighCommand
C Func: 0x13a44c0 ScriptInfo: 0x15ff810
Enable / disable showing of in-game UI during currently active camera effect.
C Func: 0x13a4454 ScriptInfo: 0x15ff83c
General
C Func: 0x12ff09c ScriptInfo: 0x15ff868
Set current (forced == false) or permanent (forced == true) wind direction and force.
C Func: 0x13a43a8 ScriptInfo: 0x15ff894
Check whether driver position of the vehicle turret is locked.
C Func: 0x13a4358 ScriptInfo: 0x15ff8c0
Check whether given position is on road.
C Func: 0x13a430c ScriptInfo: 0x15ff8ec
Defines an action performed when player clicked on group marker (3D or in a map)
C Func: 0x13a42a4 ScriptInfo: 0x15ff918
Defines an action performed when player clicked on group marker (3D or in a map)
C Func: 0x13a428c ScriptInfo: 0x15ff944
Defines an action performed when player clicked on group marker (3D or in a map)
C Func: 0x13a4274 ScriptInfo: 0x15ff970
showGroupIcons [true,true]
C Func: 0x13a421c ScriptInfo: 0x15ff99c
selectableGroupIcons true
C Func: 0x13a41b0 ScriptInfo: 0x15ff9c8
Returns group icons params. [color, text,scale, visible]
C Func: 0x13a4144 ScriptInfo: 0x15ff9f4
getGroupIconParams group
Removes all icon from group.
C Func: 0x13a40fc ScriptInfo: 0x15ffa20
clearGroupIcons group
Returns all group icons.[[id,icon,[offsetx,offsety],[..],..]
C Func: 0x13a4098 ScriptInfo: 0x15ffa4c
getGroupIcons group
Dumps the argument's type and value to the report file.
C Func: 0x13a4044 ScriptInfo: 0x15ffa78
diag_log player
Unlock the given achievement.
C Func: 0x13a4010 ScriptInfo: 0x15ffaa4
time = DateToNumber [year,month,day,hour,minute]
C Func: 0x13a3fac ScriptInfo: 0x15ffad0
date = NumberToDate [2008,0.5324]
C Func: 0x13a3f4c ScriptInfo: 0x15ffafc
CreateGearDialog [palyer,"RscDisplayGear"]
C Func: 0x13a3ed8 ScriptInfo: 0x15ffb28
Return the list of objects synchronized with the given unit/trigger.
C Func: 0x13a3e68 ScriptInfo: 0x15ffb54
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
If loading screen is show, set progress bar to the given value (from interval [0, 1])
C Func: 0x13a3d14 ScriptInfo: 0x15ffbac
Defines an action performed just before the preload screen started.
C Func: 0x13a3cb8 ScriptInfo: 0x15ffbd8
Defines an action performed after the preload screen finished.
C Func: 0x13a3c64 ScriptInfo: 0x15ffc04
Returns selected groups in sgroup.
C Func: 0x13a3c0c ScriptInfo: 0x15ffc30
array = groupSelectedUnits unit
AIS end state.
C Func: 0x13a3bb4 ScriptInfo: 0x15ffc5c
AISFinishHeal [wounded,medic,true]
Same as
C Func: 0x13a3b7c ScriptInfo: 0x15ffc88
Returns current sum of mass from items stored in a uniform.
C Func: 0x13a3b20 ScriptInfo: 0x15ffcb4
loadUniform player
Returns current sum of mass from items stored in a vest.
C Func: 0x13a3ac8 ScriptInfo: 0x15ffce0
loadVest player
Returns current sum of mass from items stored in a backpack.
C Func: 0x13a3a64 ScriptInfo: 0x15ffd0c
loadBackpack player
Returns current sum of mass from items stored in all unit's containers.
C Func: 0x13a3a04 ScriptInfo: 0x15ffd38
load player
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
Removes all items from the uniform, vest and backpack.
C Func: 0x13a3934 ScriptInfo: 0x15ffd90
Removes all items from the uniform, vest and backpack.
C Func: 0x13a3924 ScriptInfo: 0x15ffdbc
Removes all items from weapon except magazine.
C Func: 0x13a38d8 ScriptInfo: 0x15ffde8
Removes all items from weapon except magazine.
C Func: 0x13a38c0 ScriptInfo: 0x15ffe14
Get array with all inventory items.
C Func: 0x13a3888 ScriptInfo: 0x15ffe40
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)
Get array with all items from uniform.
C Func: 0x13a37c0 ScriptInfo: 0x15ffe98
Get array with all magazines from vest.
C Func: 0x13a3784 ScriptInfo: 0x15ffec4
Get array with all magazines from vest.
C Func: 0x13a3774 ScriptInfo: 0x15ffef0
Get array with all magazines from vest.
C Func: 0x13a3760 ScriptInfo: 0x15fff1c
Get array with all magazines from vest.
C Func: 0x13a374c ScriptInfo: 0x15fff48
Get array with all items from vest.
C Func: 0x13a371c ScriptInfo: 0x15fff74
container class name
C Func: 0x13a36dc ScriptInfo: 0x15fffa0
getChosenCont player
Get array with all items from backpack.
C Func: 0x13a36a4 ScriptInfo: 0x15fffcc
Get array with backpacks from ammo box (or any general weapon holder container).
C Func: 0x13a3640 ScriptInfo: 0x15ffff8
Get array with weapons from ammo box (or any general weapon holder container).
C Func: 0x13a35e4 ScriptInfo: 0x1600024
Get array with magazines from ammo box (or any general weapon holder container).
C Func: 0x13a3578 ScriptInfo: 0x1600050
Get array with items from ammo box (or any general weapon holder container).
C Func: 0x13a3518 ScriptInfo: 0x160007c
unit
C Func: 0x13202f0 ScriptInfo: 0x16000a8
Returns a class of a backpack.
unit
C Func: 0x13a34c8 ScriptInfo: 0x16000d4
Returns name of currently used uniform.
unit
C Func: 0x13a3498 ScriptInfo: 0x1600100
Returns name of currently used vest.
Returns container of a backpack.
C Func: 0x13a3460 ScriptInfo: 0x160012c
Returns container of currently used uniform.
C Func: 0x13a341c ScriptInfo: 0x1600158
Returns container of currently used vest.
C Func: 0x13a33e0 ScriptInfo: 0x1600184
unit
C Func: 0x13a33a8 ScriptInfo: 0x16001b0
Returns name of currently used headgear.
unit
C Func: 0x13a3378 ScriptInfo: 0x16001dc
Returns name of currently used goggles.
Get array with all assigned items.
C Func: 0x13a3344 ScriptInfo: 0x1600208
Get array with all items assigned to a weapon.
C Func: 0x13a3300 ScriptInfo: 0x1600234
Get array with all items assigned to a weapon.
C Func: 0x13a32e8 ScriptInfo: 0x1600260
Get array with all items assigned to a weapon.
C Func: 0x13a32d8 ScriptInfo: 0x160028c
Check if cargo of this vehicle want to get out when in combat.
C Func: 0x13a3284 ScriptInfo: 0x16002b8
Enable / disable showing of subtitles. Return the previous state.
C Func: 0x1392304 ScriptInfo: 0x16002e4
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
Enable / disable saving of the game. When disabled, the autosave is created (if not forbidden by save == false).
C Func: 0x13a308c ScriptInfo: 0x160033c
Enable / disable showing of HUD.
C Func: 0x132e3fc ScriptInfo: 0x1600368
Get unique player id.
C Func: 0x13a3040 ScriptInfo: 0x1600394
Send message to given adress using UDP protocol.
C Func: 0x13a2fe8 ScriptInfo: 0x16003c0
Returns the position as map coords.
C Func: 0x13a2f9c ScriptInfo: 0x16003ec
mapGridPosition player
Returns the unlocalized text value of a object's side as: East, West, Resistance, Civilian, or Unknown.
C Func: 0x13a2f10 ScriptInfo: 0x1600418
WFSideText player
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
Shortcut to textLog format [format, arg1, arg2, ...] (for better performance in retail version).
C Func: 0x13a2dfc ScriptInfo: 0x1600470
Returns target created by gunner in given vehicle.
C Func: 0x136a044 ScriptInfo: 0x160049c
Returns unit's backpack.
C Func: 0x13a2d9c ScriptInfo: 0x16004c8
Returns true if player is forced to walk
C Func: 0x13a2d60 ScriptInfo: 0x16004f4
Returns true if vehicle has enabled auto hover
C Func: 0x13a2d20 ScriptInfo: 0x1600520
Returns zeroing of unit's weapon.
C Func: 0x13a2cec ScriptInfo: 0x160054c
Returns vision mode of unit's weapon. 0-dayTime, 1-night vision, 2-FLIR
C Func: 0x13a2c8c ScriptInfo: 0x1600578
Returns current muzzle of unit's weapon.
C Func: 0x13a2c50 ScriptInfo: 0x16005a4
Returns current weapon mode of unit's weapon.
C Func: 0x13a2c0c ScriptInfo: 0x16005d0
Returns true if manul fire is on.
C Func: 0x13a2bd8 ScriptInfo: 0x16005fc
Returns true walk is toggled.
C Func: 0x13a2bac ScriptInfo: 0x1600628
Adds camera shake source.
C Func: 0x13a2b68 ScriptInfo: 0x1600654
Sets camera shake params.
C Func: 0x13a2b08 ScriptInfo: 0x1600680
Sets camera shake default params.
C Func: 0x13a2a60 ScriptInfo: 0x16006ac
Enables/disables camera shakes.
C Func: 0x13a2a24 ScriptInfo: 0x16006d8
Enables/disables engine's artillery.
C Func: 0x13a29e4 ScriptInfo: 0x1600704
Enables/disables satellite normal map od detail maps.
C Func: 0x13a2994 ScriptInfo: 0x1600730
Set Alternative Injury simulation flag.
C Func: 0x13a294c ScriptInfo: 0x160075c
setAIS [true]
Returns terrain height above sea level.
C Func: 0x13a28e0 ScriptInfo: 0x1600788
z = getTerrainHeightASL [x,y]
Set system of units. 0 for metric, 1 for mixed, 2 for imperial.
C Func: 0x13a2888 ScriptInfo: 0x16007b4
Returns unit's custom recoil coefficient.
C Func: 0x13a2814 ScriptInfo: 0x16007e0
coef = unitRecoilCoefficient player
Returns true if object is touching the ground.
C Func: 0x13a27b4 ScriptInfo: 0x160080c
isTouchingGround vehicle
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"]
Enable/disable environmental effects (ambient life + sound).
C Func: 0x13a25e8 ScriptInfo: 0x1600864
enableEnvironment false
west
C Func: 0x13a25ac ScriptInfo: 0x1600890
0.5
C Func: 0x136a350 ScriptInfo: 0x16008bc
OA 93671
C Func: 0x13a2458 ScriptInfo: 0x16008e8
TOH 81021
C Func: 0x13a23d4 ScriptInfo: 0x1600914
TOH 81021
C Func: 0x13a2344 ScriptInfo: 0x1600940
TOH 81021
C Func: 0x13a22d4 ScriptInfo: 0x160096c
TOH 81021
C Func: 0x13a219c ScriptInfo: 0x1600998
TOH 83721
C Func: 0x13a212c ScriptInfo: 0x16009c4
TOH 85057
C Func: 0x13a1fec ScriptInfo: 0x16009f0
TOH 85057
C Func: 0x13a1ed0 ScriptInfo: 0x1600a1c
TOH 85057
C Func: 0x13a1e24 ScriptInfo: 0x1600a48
A3 89671
C Func: 0x13a1d98 ScriptInfo: 0x1600a74
A3 94671
C Func: 0x13a1d74 ScriptInfo: 0x1600aa0
OA 94061
C Func: 0x13a1d1c ScriptInfo: 0x1600acc
OA 94178
C Func: 0x13a1bf0 ScriptInfo: 0x1600af8
OA 97330
C Func: 0x13a1ad4 ScriptInfo: 0x1600b24
Shows/hides the whole chat window.
C Func: 0x13a1a94 ScriptInfo: 0x1600b50
showChat false
"CfgVehicles"
C Func: 0x13a1a24 ScriptInfo: 0x1600b7c
Returns base entry of config entry.
C Func: 0x13a19b4 ScriptInfo: 0x1600ba8
_base = inheritsFrom (configFile >> "CfgVehicles" >> "Car")
Returns count of subentries.
C Func: 0x12feb14 ScriptInfo: 0x1600bd4
_count = count (configFile >> "CfgVehicles")
true
C Func: 0x13a1900 ScriptInfo: 0x1600c00
false
C Func: 0x13a18a4 ScriptInfo: 0x1600c2c
false
C Func: 0x13a183c ScriptInfo: 0x1600c58
false
C Func: 0x13a17e0 ScriptInfo: 0x1600c84
Extract array from config entry.
C Func: 0x13a1764 ScriptInfo: 0x1600cb0
_array = getArray (configFile >> "CfgVehicles" >> "Thing" >> "threat")
Extract number from config entry.
C Func: 0x13a16e4 ScriptInfo: 0x1600cdc
_array = getNumber (configFile >> "CfgVehicles" >> "Thing" >> "maxSpeed")
Extract text from config entry.
C Func: 0x13a1674 ScriptInfo: 0x1600d08
_array = getText (configFile >> "CfgVehicles" >> "Thing" >> "icon")
Returns whether given control is enabled.
C Func: 0x13a1620 ScriptInfo: 0x1600d34
_ok = ctrlEnabled _control
Returns whether given control is shown.
C Func: 0x13a15d0 ScriptInfo: 0x1600d60
_ok = ctrlShown _control
Returns the text shown in given control.
C Func: 0x13a157c ScriptInfo: 0x1600d8c
_text = ctrlText _control
TOH 84677
C Func: 0x13a1510 ScriptInfo: 0x1600db8
Returns the current position and size of control as [x, y, w, h] array.
C Func: 0x13a1498 ScriptInfo: 0x1600de4
_pos = ctrlPosition _control
Returns the current scale of control.
C Func: 0x13a1448 ScriptInfo: 0x1600e10
_scale = ctrlScale _control
Returns number of seconds to auto-scroll one line. -1 if auto-scroll is disabled. -2 if scrollbar not present.
C Func: 0x13a139c ScriptInfo: 0x1600e3c
_speed = ctrlAutoScrollSpeed _control
Returns number of seconds until auto-scroll starts. -2 if scrollbar not present.
C Func: 0x13a130c ScriptInfo: 0x1600e68
_delay = ctrlAutoScrollDelay _control
True if auto-scroll should move back to start after it reach end.
C Func: 0x13a1284 ScriptInfo: 0x1600e94
_rewind = ctrlAutoScrollRewind _control
Returns the current fade factor of control.
C Func: 0x13a1230 ScriptInfo: 0x1600ec0
_scale = ctrlFade _control
Returns the current state of checkbox.
C Func: 0x13a11dc ScriptInfo: 0x1600eec
_checked = ctrlChecked _control
Check if the control animation is finished.
C Func: 0x13a1180 ScriptInfo: 0x1600f18
_done = ctrlCommitted _control
Returns value representing type of control.
C Func: 0x13a1124 ScriptInfo: 0x1600f44
_type = ctrlType _control
Returns container of given control.
C Func: 0x13a10d4 ScriptInfo: 0x1600f70
_display = ctrlParent _control
TOH 86547
C Func: 0x13a105c ScriptInfo: 0x1600f9c
Find display by its IDD.
C Func: 0x13a100c ScriptInfo: 0x1600fc8
_display = findDisplay 1
Transform position from camera coordinate space to world coordinate space.
C Func: 0x13a0f6c ScriptInfo: 0x1600ff4
_worldPos = positionCameraToWorld _cameraPos
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"
Sorts the given listbox or combobox by item text.
C Func: 0x13a0e54 ScriptInfo: 0x160104c
lbSort _control
Sorts the given listbox or combobox by item value.
C Func: 0x13a0df8 ScriptInfo: 0x1601078
lbSortByValue _control
Returns the number of items in the given listbox or combobox.
C Func: 0x13a0d98 ScriptInfo: 0x16010a4
_n = lbSize _control
Returns the index of the selected item of the given listbox or combobox.
C Func: 0x13a0d24 ScriptInfo: 0x16010d0
_index = lbCurSel _control
Clears all items in the given listbox or combobox.
C Func: 0x13a0cd4 ScriptInfo: 0x16010fc
lbClear _control
Returns the array of selected rows indices in the given listbox.
C Func: 0x13a0c64 ScriptInfo: 0x1601128
_indices = lbSelection _control
lbClear _control
C Func: 0x13a0c58 ScriptInfo: 0x1601154
_n = lbSize _control
C Func: 0x13a0c50 ScriptInfo: 0x1601180
_index = lbCurSel _control
C Func: 0x13a0c40 ScriptInfo: 0x16011ac
_index = lbCurSel _control
C Func: 0x13a0c28 ScriptInfo: 0x16011d8
Returns gear slot item name.
C Func: 0x13a0bd8 ScriptInfo: 0x1601204
weapon = gearSlotData _control
Returns ammo count of assigned magazine.
C Func: 0x13a0b6c ScriptInfo: 0x1601230
ammo = gearSlotAmmoCount _control
ammo = gearSlotAmmoCount IDC
C Func: 0x13a0b2c ScriptInfo: 0x160125c
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
Returns the current thumb position of the given slider.
C Func: 0x13a0a14 ScriptInfo: 0x16012b4
_pos = sliderPosition _control
Returns the limits (as an array [min, max]) of the given slider.
C Func: 0x13a09a4 ScriptInfo: 0x16012e0
_limits = sliderRange _control
Returns the speed (as an array [line, page]) of the given slider.
C Func: 0x13a0934 ScriptInfo: 0x160130c
_speed = sliderSpeed _control
Clears the map animation.
C Func: 0x13a0920 ScriptInfo: 0x1601338
Plays the map animation.
C Func: 0x13a090c ScriptInfo: 0x1601364
Checks whether the map animation has finished.
C Func: 0x13a08fc ScriptInfo: 0x1601390
true
C Func: 0x132ec90 ScriptInfo: 0x16013bc
true
C Func: 0x132ec90 ScriptInfo: 0x16013e8
Set the input focus on given control.
C Func: 0x13a074c ScriptInfo: 0x1601414
ctrlSetFocus _control
Launch actions attached to given (button based) control.
C Func: 0x13a06e8 ScriptInfo: 0x1601440
ctrlActivate _control
Return the current scale of the map control.
C Func: 0x13a06a8 ScriptInfo: 0x160146c
Returns the current position in the progress bar.
C Func: 0x13a063c ScriptInfo: 0x1601498
_pos = progressPosition _control
Returns the current time of the most important RTM animation currently being played on the soldier.
C Func: 0x13a05b8 ScriptInfo: 0x16014c4
moveTime player
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
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]]
81210 TOH
C Func: 0x13a02d4 ScriptInfo: 0x1601548
85897 TOH
C Func: 0x13a0270 ScriptInfo: 0x1601574
SendAUMessage [[dpnid1, dpnid2], "ConnectTo: 192.168.1.66"]
C Func: 0x13a01bc ScriptInfo: 0x16015a0
A3 97270
C Func: 0x13a0178 ScriptInfo: 0x16015cc
A3 97270
C Func: 0x13a0140 ScriptInfo: 0x16015f8
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"
Closes the topmost user dialog as if a button with id idc was pressed.
C Func: 0x139ff5c ScriptInfo: 0x1601650
closeDialog 1
Returns whether the control with id idc of the topmost user dialog is visible.
C Func: 0x139fee4 ScriptInfo: 0x160167c
_visible = ctrlVisible 100
Returns whether the control with id idc of the topmost user dialog is enabled.
C Func: 0x13a1620 ScriptInfo: 0x16016a8
_enabled = ctrlEnabled 100
Shows / hides the control with id idc of the topmost user dialog.
C Func: 0x139fe00 ScriptInfo: 0x16016d4
ctrlShow [100, true]
Enables / disables the control with id idc of the topmost user dialog.
C Func: 0x139fd80 ScriptInfo: 0x1601700
ctrlEnable [100, false]
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
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"]
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
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"""]
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
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
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]
Clears all items in the listbox or combobox with id idc of the topmost user dialog.
C Func: 0x13a0cd4 ScriptInfo: 0x1601860
lbClear 101
Adds an item with the given text to the listbox or combobox with id idc of the topmost user dialog. It returns the index of the newly added item.
C Func: 0x139f740 ScriptInfo: 0x160188c
_index = lbAdd [101, "First item"]
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]
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]
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]
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"]
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]
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]
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]
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"]
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
C Func: 0x139f010 ScriptInfo: 0x1601a18
_color = lbColor [101, 0]
Sets the color of the item with the given index of the listbox or combobox with id idc of the topmost user dialog to the given color. Color is in format
C Func: 0x139ef1c ScriptInfo: 0x1601a44
lbSetColor [101, 0, [0, 1, 0, 0.5]]
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"]
Removes an item on given path from Tree View with given idc.
C Func: 0x139ee04 ScriptInfo: 0x1601a9c
tvDelete [101, [0,0]]
Removes all items from Tree View with given idc.
C Func: 0x139edbc ScriptInfo: 0x1601ac8
tvClear 101
Removes all items from Tree View with given idc.
C Func: 0x139edbc ScriptInfo: 0x1601af4
tvClear 101
Returns shown text in the item on given path. IDC means id of parent Tree View.
C Func: 0x139ed4c ScriptInfo: 0x1601b20
tvText [101,[0]]
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"]
Returns string data from item on given path. IDC means id of parent Tree View.
C Func: 0x139ec50 ScriptInfo: 0x1601b78
tvData [101,[0]]
Sets scalar data to item on given path. IDC means id of parent Tree View.
C Func: 0x139ebc4 ScriptInfo: 0x1601ba4
tvSetValue [101,[0], 555]
Returns scalar data from item on given path. IDC means id of parent Tree View.
C Func: 0x139eb58 ScriptInfo: 0x1601bd0
tvValue [101,[0]]
Returns childrens count of item on given path. IDC means id of parent Tree View.
C Func: 0x139eae4 ScriptInfo: 0x1601bfc
tvCount [101,[0]]
Sets cursor to given item on given path. IDC means id of parent Tree View.
C Func: 0x139ea74 ScriptInfo: 0x1601c28
tvSetCurSel [101,[0]]
Returns path to currently selected item. IDC means id of parent Tree View.
C Func: 0x139ea08 ScriptInfo: 0x1601c54
tvCurSel 101
Returns path to currently selected item. IDC means id of parent Tree View.
C Func: 0x139ea08 ScriptInfo: 0x1601c80
tvCurSel 101
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]
tvSort [101,[0],false]
C Func: 0x139e8f0 ScriptInfo: 0x1601cd8
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"]
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]]
Expands tree item pointed to by path. IDC means id of parent Tree View.
C Func: 0x139e734 ScriptInfo: 0x1601d5c
tvExpand [101,[0]]
Collapses tree item pointed to by path. IDC means id of parent Tree View.
C Func: 0x139e6c4 ScriptInfo: 0x1601d88
tvCollapse [101,[0]]
Returns [X,Y] size of 2D listbox.
C Func: 0x13a0c50 ScriptInfo: 0x1601db4
_n = lnbSize 105
_n = lnbGetColumnsSize 105
C Func: 0x13a0c28 ScriptInfo: 0x1601de0
_row = lnbCurSel 105
C Func: 0x13a0c40 ScriptInfo: 0x1601e0c
lnbSetCurSel [105, 0]
C Func: 0x139e594 ScriptInfo: 0x1601e38
Clears all items in the 2D listbox.
C Func: 0x13a0c58 ScriptInfo: 0x1601e64
lnbClear 101
Adds an row of strings.
C Func: 0x139e4cc ScriptInfo: 0x1601e90
_index = lnbAddRow [105, ["First column", "second column", ...]]. Returns row index.
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.
Removes row with given index from the 2D listbox.
C Func: 0x139e368 ScriptInfo: 0x1601ee8
lnbDeleteRow [105, 0]
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]
Removes column with given index.
C Func: 0x139e27c ScriptInfo: 0x1601f40
lnbDeleteColumn [101, 0]
lnbSetData [101, [0,1], "#1"]
C Func: 0x139e1d0 ScriptInfo: 0x1601f6c
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]]
lnbSetData [101, [0,1], "#1"]
C Func: 0x139e130 ScriptInfo: 0x1601fc4
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]]
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"]
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]]
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]
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]]
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"]
Returns the text color of the item with the given position of the 2D listbox. The color is returned in format
C Func: 0x139dcc8 ScriptInfo: 0x16020f8
_color = lnbColor [101, [0,1]]
Sets the color of the item with the given position of the 2D listbox. Color is in format
C Func: 0x139dc08 ScriptInfo: 0x1602124
lnbSetColor [101, [0,1], [0, 1, 0, 0.5]]
Returns the current thumb position of the slider with id idc of the topmost user dialog.
C Func: 0x13a0a14 ScriptInfo: 0x1602150
_pos = sliderPosition 101
Sets the current thumb position of the slider with id idc of the topmost user dialog.
C Func: 0x139daf0 ScriptInfo: 0x160217c
sliderSetPosition [100, 0]
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
Sets the limits of the slider with id idc of the topmost user dialog.
C Func: 0x139d9e4 ScriptInfo: 0x16021d4
sliderSetRange [100, 0, 10]
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
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]
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
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
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
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
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
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
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
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
Drops a particle into the scene. Array is in format
C Func: 0x139d364 ScriptInfo: 0x16023b8
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"
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"
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"
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"
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 {}
Defines an action performed when the user clicks on the map. Command receives:
_pos
_units
_shift,_alt
If the click is processed, command should return true.
C Func: 0x139ceb4 ScriptInfo: 0x16024c0
onMapSingleClick """SoldierEG"" createUnit [_pos, group player]"
This statement is launched whenever a player is connected to a MP session. Variables _id, _name and _uid are set. See also getPlayerUID, kickUID, banUID.
C Func: 0x139ce00 ScriptInfo: 0x16024ec
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
Adds magazines from the campaign pool to the person (depending on the weapons the person has).
C Func: 0x139ccdc ScriptInfo: 0x1602544
fillWeaponsFromPool victor
Returns the current level of ability of the person.
C Func: 0x1321484 ScriptInfo: 0x1602570
skill player
Returns the name of the vehicle's primary weapon (an empty string if there is none).
C Func: 0x139cc18 ScriptInfo: 0x160259c
primaryWeapon player
Returns the name of a vehicle's secondary weapon (an empty string if there is none).
C Func: 0x139cb94 ScriptInfo: 0x16025c8
secondaryWeapon player
Returns the name of a units's handgun (an empty string if there is none).
C Func: 0x139cb20 ScriptInfo: 0x16025f4
handgunWeapon player
Returns an array of names of all the vehicle's weapons.
C Func: 0x132059c ScriptInfo: 0x1602620
weapons player
weapons player
C Func: 0x139c9bc ScriptInfo: 0x160264c
Returns an array with the type names of all the vehicle's magazines.
C Func: 0x12fec40 ScriptInfo: 0x1602678
magazines player
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
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
magazines player
C Func: 0x139c84c ScriptInfo: 0x16026fc
magazinesUniform player
C Func: 0x139c7d0 ScriptInfo: 0x1602728
magazinesVest player
C Func: 0x139c758 ScriptInfo: 0x1602754
magazinesBackpack player
C Func: 0x139c6d4 ScriptInfo: 0x1602780
Deletes a status created by saveStatus from the campaign progress file.
C Func: 0x139c650 ScriptInfo: 0x16027ac
deleteStatus "playerState"
Deletes an identity created by saveIdentity from the campaign progress file.
C Func: 0x139c5c0 ScriptInfo: 0x16027d8
deleteIdentity "playerIdentity"
1:8965
C Func: 0x139c588 ScriptInfo: 0x1602804
1:5623
C Func: 0x139c588 ScriptInfo: 0x1602830
player
C Func: 0x139c4fc ScriptInfo: 0x160285c
group player
C Func: 0x139c498 ScriptInfo: 0x1602888
Create a team and name it.
C Func: 0x139c42c ScriptInfo: 0x16028b4
_team = createTeam ["USMC_Team", "Fire Team Red"]
Destroy given team.
C Func: 0x139c3f8 ScriptInfo: 0x16028e0
deleteTeam _team
Return an agent for given person.
C Func: 0x1325140 ScriptInfo: 0x160290c
_agent = teamMember player
Return a person for given agent.
C Func: 0x1371f38 ScriptInfo: 0x1602938
_person = agent _agent
Return a list of members in given team.
C Func: 0x139c330 ScriptInfo: 0x1602964
_members = members _team
Return a type of given team.
C Func: 0x139c2ec ScriptInfo: 0x1602990
_type = teamType _team
Return a name of given team.
C Func: 0x139c2a8 ScriptInfo: 0x16029bc
_name = teamName _team
Return a formation of given team.
C Func: 0x13283c0 ScriptInfo: 0x16029e8
_formation = formation _team
Return if given team was inserted directly from mission editor.
C Func: 0x139c1f0 ScriptInfo: 0x1602a14
_fromEditor = fromEditor _member
team
C Func: 0x13212dc ScriptInfo: 0x1602a40
Return the leader of given team.
Check if team member is an agent.
C Func: 0x139c1a0 ScriptInfo: 0x1602a6c
teamMember
C Func: 0x139c160 ScriptInfo: 0x1602a98
Return a list of the resources belonging to a team.
true
C Func: 0x132ec90 ScriptInfo: 0x1602ac4
Returns the object position in format
C Func: 0x139c054 ScriptInfo: 0x1602af0
getPosASLW player
Enable/disable caustics drawing.
C Func: 0x139c018 ScriptInfo: 0x1602b1c
Return whether the unit is bleeding.
C Func: 0x139bfe4 ScriptInfo: 0x1602b48
Return whether the unit is burning.
C Func: 0x139bfb4 ScriptInfo: 0x1602b74
Return whether the unit is diving.
C Func: 0x139bf80 ScriptInfo: 0x1602ba0
object
C Func: 0x139bf48 ScriptInfo: 0x1602bcc
Return whether object is fully underwater.
Return amount of damage from fire.
C Func: 0x139bf14 ScriptInfo: 0x1602bf8
Return amount of remaining oxygen.
C Func: 0x139bedc ScriptInfo: 0x1602c24
Return reamining time of bleeding.
C Func: 0x139bea0 ScriptInfo: 0x1602c50
Return debriefing text.
C Func: 0x139be74 ScriptInfo: 0x1602c7c
Set current wind direction and force.
C Func: 0x139be38 ScriptInfo: 0x1602ca8
Sets parameters for local wind emiters (like helicopters). Default [1.0, 1.0]
C Func: 0x139bdb8 ScriptInfo: 0x1602cd4
Sets custom camera apreture (-1 to do it automatically).
C Func: 0x139bd84 ScriptInfo: 0x1602d00
Get list of all available magazines of artillery units in the list.
C Func: 0x139bd20 ScriptInfo: 0x1602d2c
Sets coef used to shift horizon position based on camera height (use 0 to disable shifting).
C Func: 0x139bc94 ScriptInfo: 0x1602d58
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]"]
Sets given music track event handler.
C Func: 0x139bb44 ScriptInfo: 0x1602db0
setMusicEventHandler ["MusicTerminate", ""]
Remove specified music track event handler.
C Func: 0x139bad0 ScriptInfo: 0x1602ddc
removeMusicEventHandler ["MusicTerminate", "1"]
Remove all music track event handlers.
C Func: 0x139ba60 ScriptInfo: 0x1602e08
removeAllMusicEventHandlers "MusicStart"
Return the list of waypoints synchronized with a given trigger.
C Func: 0x139b9e4 ScriptInfo: 0x1602e34
synchronizedWaypoints trigger1
Return the list of waypoints synchronized with a given waypoint.
C Func: 0x139b9e4 ScriptInfo: 0x1602e60
synchronizedWaypoints [group player, 1]
Return the list of triggers synchronized with a given waypoint.
C Func: 0x139b8f8 ScriptInfo: 0x1602e8c
synchronizedTriggers [group player, 1]
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
True if given soldier's weapon is lowered.
C Func: 0x136a2dc ScriptInfo: 0x1602ee4
weaponLowered player
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]
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]]
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"]
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]
Returns the fuel amount in the cargo space of a refuelling vehicle.
C Func: 0x139b378 ScriptInfo: 0x1602fc0
getFuelCargo vehicle
Returns the amount or repair resources in the cargo space of a repair vehicle.
C Func: 0x139b300 ScriptInfo: 0x1602fec
getRepairCargo vehicle
Returns the amount of ammo resources in the cargo space of a repair vehicle.
C Func: 0x139b288 ScriptInfo: 0x1603018
getAmmoCargo vehicle
Gets the waypoint loiter radius. Waypoint uses format
C Func: 0x139b1fc ScriptInfo: 0x1603044
waypointLoiterRadius [groupOne, 1]
waypointLoiterRadius [groupOne, 1]
C Func: 0x139b19c ScriptInfo: 0x1603070
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"]
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]
Returns true if Uav is connected to some terminal.
C Func: 0x139afb4 ScriptInfo: 0x16030f4
isUavConnected cursorTarget
Returns Uav if unit has connection to some Uav.
C Func: 0x139af54 ScriptInfo: 0x1603120
getConnectedUav player
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] ]
Creates crew to given vehicle.
C Func: 0x139ae24 ScriptInfo: 0x1603178
createVehicleCrew vehicle0
Get list with unit connected to vehicle and position in that vehicle.
C Func: 0x139adb4 ScriptInfo: 0x16031a4
uavControl cameraOn
Get list with addons which unitClass belongs to.
C Func: 0x139ad50 ScriptInfo: 0x16031d0
unitAddons unitClass
Returns if given position is in clouds.
C Func: 0x139ad18 ScriptInfo: 0x16031fc
Returns density of clouds at given position.
C Func: 0x139acd4 ScriptInfo: 0x1603228
Returns clouds occlusion between two given points (0 = no clouds, 1 = full clouds).
C Func: 0x139ac54 ScriptInfo: 0x1603254
Sets simul weather layers
C Func: 0x139ac18 ScriptInfo: 0x1603280
Returns the string representation of unit as an four slots array ([unit,uniform,vest,backpack])
C Func: 0x139ab90 ScriptInfo: 0x16032ac
getDescription player
Returns a list of currently selected editor objects.
C Func: 0x13e9448 ScriptInfo: 0x161183c
Fetches a reference to the mission editor camera.
C Func: 0x13e9404 ScriptInfo: 0x1611868
Restarts the mission editor camera (if it was deleted by a script, for example).
C Func: 0x13e939c ScriptInfo: 0x1611894
Imports all groups into the RTE.
C Func: 0x13e9368 ScriptInfo: 0x16118c0
Returns the current mode of the editor.
C Func: 0x13e9330 ScriptInfo: 0x16118ec
Returns true if the editor is set to draw 3D icons.
C Func: 0x13e92e8 ScriptInfo: 0x1611918
Returns the next available menu item index.
C Func: 0x13e92a8 ScriptInfo: 0x1611944
The tangens of x, the argument is in degrees.
C Func: 0x140b83c ScriptInfo: 0x163fe80
tan 45
The arcsine of x, the result is in degrees.
C Func: 0x140b7f8 ScriptInfo: 0x163feac
asin 0.5
The arccosine of x, the result is in degrees.
C Func: 0x140b7b0 ScriptInfo: 0x163fed8
acos 0.5
The arctangens of x, the result is in degrees.
C Func: 0x140b770 ScriptInfo: 0x163ff04
atg 1
The arctangens of x, the result is in degrees.
C Func: 0x140b760 ScriptInfo: 0x163ff30
atan 1
Converts x from radians to degrees.
C Func: 0x13f5df4 ScriptInfo: 0x163ff5c
deg 1
Converts x from degrees to radians.
C Func: 0x140b6f4 ScriptInfo: 0x163ff88
rad 180
The base-10 logarithm of x.
C Func: 0x13489b8 ScriptInfo: 0x163ffb4
log 10
The natural logarithm of x.
C Func: 0x140b6a0 ScriptInfo: 0x163ffe0
ln 10
The exponential value of x.
C Func: 0x140b670 ScriptInfo: 0x164000c
exp 1
The square root of x.
C Func: 0x140b648 ScriptInfo: 0x1640038
sqrt 9
The absolute value of x.
C Func: 0x140b620 ScriptInfo: 0x1640064
abs -3
The floor value of x.
C Func: 0x140b5f4 ScriptInfo: 0x1640090
floor 5.25
The ceil value of x.
C Func: 0x140b5c4 ScriptInfo: 0x16400bc
ceil 5.25
The round value of x.
C Func: 0x140b594 ScriptInfo: 0x16400e8
round -5.25
false
C Func: 0x140b544 ScriptInfo: 0x1640114
unary plus: returns a
C Func: 0x1313844 ScriptInfo: 0x1640140
+4
[0, 1, 2]
C Func: 0x1313844 ScriptInfo: 0x164016c
unary minus: zero minus a
C Func: 0x130fe48 ScriptInfo: 0x1640198
- - 3
false
C Func: 0x1311414 ScriptInfo: 0x16401c4
true
C Func: 0x13f5e04 ScriptInfo: 0x16401f0
The number of elements in the array.
C Func: 0x12feb14 ScriptInfo: 0x164021c
count [0,0,1,2]
Executes the given code.
C Func: 0x1409780 ScriptInfo: 0x1640248
call {"x=2"}
This function does nothing. It's used to create comments.
C Func: 0x140b3dc ScriptInfo: 0x1640274
comment "This is a comment."
Introduces one or more local variables in the innermost scope.
C Func: 0x13c4c70 ScriptInfo: 0x16402a0
The first part of the if command.
C Func: 0x13c4c94 ScriptInfo: 0x16402cc
if (a>b) then {a=b}
The first part of the while contruct.
C Func: 0x13c4c98 ScriptInfo: 0x16402f8
while "x<10" do {x=x+1}
The first part of the with contruct.
C Func: 0x13812f0 ScriptInfo: 0x1640324
with missionNamespace do {global=global+1}
"string"
C Func: 0x12fce38 ScriptInfo: 0x1640350
Tests a condition and if the condition is false, halts the program.
C Func: 0x12ff474 ScriptInfo: 0x164037c
assert (_x>0)
Sends any text into the debugger console or the logfile.
C Func: 0x13dbc08 ScriptInfo: 0x16403a8
echo "Text in logfile"
"5"
C Func: 0x140b190 ScriptInfo: 0x16403d4
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;}
["b:ARRAY select SCALAR","b:ARRAY select BOOL"]
C Func: 0x140aeb8 ScriptInfo: 0x164042c
Starts for sequence, use in complette form(see example).
C Func: 0x13c4ca0 ScriptInfo: 0x1640458
for "_x" from 1 to 10 do {debugLog _x;}
creates cycle, using C like style. See example.
C Func: 0x13c4ca0 ScriptInfo: 0x1640484
for [{_x=1},{_x<=10},{_x=_x+1}] do {debugLog _x;}
Begins switch form
C Func: 0x13c4c8c ScriptInfo: 0x16404b0
switch (_a) do { case 1: {block}; case 2 : {block}; default {block};}
see switch
C Func: 0x13c4c84 ScriptInfo: 0x16404dc
see switch
C Func: 0x12fce18 ScriptInfo: 0x1640508
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
Breaks block to scope named 'name'. Nil is returned.
C Func: 0x140ace0 ScriptInfo: 0x1640560
Breaks block out scope named 'name'. Nil is returned.
C Func: 0x140ac9c ScriptInfo: 0x164058c
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 formtry //begin of try-catch block { //block, that can throw exception } catch{ //block, that process an exception. Exception is described in _exception variable };
Throws an exception. The exception is processed by first catch block. See
C Func: 0x13c4c7c ScriptInfo: 0x16405e4
throw "invalid argument"
Compile expression.
C Func: 0x140aa58 ScriptInfo: 0x1640610
_function = "a = a + 1"; _compiled = compile _function; call _compiled;
_function = "a = a + 1"; _compiled = compile _function; call _compiled;
C Func: 0x140aa10 ScriptInfo: 0x164063c
Suspend execution of script until condition is satisfied.
C Func: 0x138d1a0 ScriptInfo: 0x1640668
_i = 0; waitUntil {_i = _i + 1; _i >= 100}
Parse string containing real number.
C Func: 0x140a960 ScriptInfo: 0x1640694
parseNumber "0.125"
"ARMA"
C Func: 0x140a914 ScriptInfo: 0x16406c0
"arma"
C Func: 0x140a8d0 ScriptInfo: 0x16406ec
[65, 114, 109, 65]
C Func: 0x140a874 ScriptInfo: 0x1640718
"ArmA"
C Func: 0x140a808 ScriptInfo: 0x1640744
Assign a friendly name to the VM script thjis command is executed from.
C Func: 0x140a798 ScriptInfo: 0x1640770
scriptName "Trading"