Scripting Commands by Functionality

From Bohemia Interactive Community
Revision as of 11:20, 15 September 2020 by R3vo (talk | contribs) (Redirected page to Category:Scripting Commands by Functionality)

Redirect page
Jump to navigation Jump to search


Camera Control

Camera functions for intros, outros and cut-scenes.

e.g.
camCreate
camSetDir

Config

Commands for working with configs

e.g.
configFile
getText

Containers

backpack, ammobox, etc.

e.g.
backpackSpaceFor
vest
everyBackpack
canAdd

Conversations

bikb, topics, etc.

e.g.
kbTell
kbWasSaid

Curator (Zeus)

Setting up Zeus rules and interface.

e.g.
curatorAddons
assignCurator

Custom Panels

Commands to handle Custom Panels.

e.g.
infoPanel
setInfoPanel
enableInfoPanelComponent

Diagnosis

Commands helpful for diagnosing issues.

e.g.
diag_log
diag_fpsMin
diag_deltaTime

DLC

DLC related commands.

e.g.
getDLCs
getObjectDLCs
isDLCAvailable

Environment

Control the environment's weather, time, etc.

e.g.
setFog
setRain

Event Handlers

Set, define and use Event Handlers.

e.g.
addEventHandler

Groups

Read and set group formations and members.

e.g.
formation
group
units

GUI Control

Customize the look of dialogs and menus in the game.

e.g.
buttonAction
ctrlShow
lbPicture

Interaction

On-screen messages, dialogs, menus.

e.g.
hint
titleText
showGPS

Lights

Create, enable light sources on vehicles, terrain objects or lightpoints.

e.g.
setLightColor
setPilotLight
enableGunLights

Locations

Create, define, use and manipulate locations.

e.g.
createLocation
nearestLocation
setSize

Markers

Set, define and use markers.

e.g.
createMarker
getMarkerType
setMarkerPos

Math

Boolean, basic math and trigonometry functions.

e.g.
abs
atan
sin
Also:
 Math Commands

Mission Information

Read and set parameters for the current mission.

e.g.
addRating
forceEnd
score

Mods and Addons

Commands that are used to get information about mods and addons.

e.g.
configSourceModList
configSourceMod
addonFiles

Multiplayer

Commands that are specific to Multiplayer games.

e.g.
didJIP
owner
onPlayerConnected

Object Information

Find out things about your troops and other objects.

e.g.
alive
combatMode
fuel
isEngineOn
nearestObject

Object Manipulation

Create and define troops and other objects.

e.g.
createVehicle
setBehaviour
setDamage

Performance Logging

Performance debug and logs.

e.g.
diag captureFrame
logEntities

Program Flow

Commands to define loops, conditions, and jumps inside scripts.

e.g.
exec
do
forEach
goto

Radio Control

Control radio availability and messages.

e.g.
enableRadio
groupChat
vehicleRadio

Remote Control

Manipulate and connect to UAVs or remote control units.

e.g.
connectTerminalToUAV
remoteControl
teamSwitch

Ropes and Sling Loading

Attach and detach ropes to objects, slingload and drop them.

e.g.
enableRopeAttach
getSlingLoad
ropes

Sides

Read and set unit affiliations.

e.g.
captive
countEnemy
friendly

Sounds

Control in-game sounds.

e.g.
fadeMusic
playSound
say

System

Commands that deal with the game as a whole.

e.g.
benchmark
cadetMode
loadFile
saveGame


Team Switch

Everything to do with the Team Switch feature.

e.g.
enableTeamSwitch
onTeamSwitch
selectPlayer
teamSwitch

Time

Commands related to in-game time or system time.

e.g.
accTime
setTimeMultiplier
timeMultiplier

Triggers

Set, define and use Triggers and Event Handlers.

e.g.
createTrigger
setTriggerArea

Unit Control

Controls the behaviour of your troops.

e.g.
action
commandFire
doMove
setHideBehind

Variables

Commands to handle arrays and other variables.

e.g.
format
count
isNull
select

Vehicle Assignment

Vehicle related commands.

e.g.
allowGetIn
assignAsCargo
moveInDriver

Vehicle Loadout

Vehicle loadout related commands.

e.g.
getCompatiblePylonMagazines
getPylonMagazines

Waypoints

Commands to handle waypoints.

e.g.
addWaypoint
deleteWaypoint

Weapon Pool

The Weapon Pool enables the player to use weapons from one mission in others.

e.g.
addMagazinePool
fillWeaponsFromPool
queryMagazinePool

Weapons

Weapon related commands.

e.g.
addMagazine
ammo
weapons

--->