Ceeeb/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
actions again....
[[user:Ceeeb]]


== Undocumented script commands - Arma 3 1.11.115723 ==
* [[cbSetChecked]]
* [[enableSimulationGlobal]]
* [[addScoreSide]]
* [[getOwnedDlcs]]
* [[backpackMagazines]]
* [[cbChecked]]
* [[enableDiagLegend]]
* [[getChosenCont]]
* [[getObjectDlcs]]
* [[queryItemsPool]]
* [[soldierMagazines]]
* [[uniformMagazines]]
* [[vestMagazines]]




= Introduction =


Actions are events that are usually executed in-game by the player by using the action menu, or by using the action sub-menu of the command menu when executing them upon AI in the the player's group. Actions can also be performed by and upon arbitrary units using the [[action]] script command. Executing an action in this way will generally create only the basic effect of that seen when starting actions using the action menu, so it may be necessary to script additional effects to achieve the same effect as the game's default action menu, and to maintain immersion. For example, scripted use of the [[#DEACTIVATE|"deactivate"]] action will not check the distance between the satchel and the collecting unit, allowing it to be used to pick up a satchel that is many kilometres away. Note that most actions can be executed by a different unit than the target unit, although in many cases it makes more sense to use the same unit. The unit executing the action will generally bend down as if to pick something up, with the action effects happening to the target after this animation completes. A game logic unit can be used to perform such actions without any animation or delay.
== All BIS functions - Arma 3 build 1.11.115723 ==
* [[BIS_fnc_3Dcredits]]
* [[BIS_fnc_AAN]]
* [[BIS_fnc_absSpeed]]
* [[BIS_fnc_activateAddons]]
* [[BIS_fnc_addClassOO]]
* [[BIS_fnc_addCommMenuItem]]
* [[BIS_fnc_addCuratorAreaFromTrigger]]
* [[BIS_fnc_addCuratorChallenge]]
* [[BIS_fnc_addCuratorIcon]]
* [[BIS_fnc_addEvidence]]
* [[BIS_fnc_addRespawnInventory]]
* [[BIS_fnc_addRespawnPosition]]
* [[BIS_fnc_addScore]]
* [[BIS_fnc_addScriptedEventHandler]]
* [[BIS_fnc_addStackedEventHandler]]
* [[BIS_fnc_addSupportLink]]
* [[BIS_fnc_addToPairs]]
* [[BIS_fnc_addWeapon]]
* [[BIS_fnc_advHint]]
* [[BIS_fnc_advHintArg]]
* [[BIS_fnc_advHintCall]]
* [[BIS_fnc_advHintCredits]]
* [[BIS_fnc_alignTabs]]
* [[BIS_fnc_allSynchronizedObjects]]
* [[BIS_fnc_ambientAnim]]
* [[BIS_fnc_ambientAnimCombat]]
* [[BIS_fnc_ambientAnimGetParams]]
* [[BIS_fnc_ambientBlacklist]]
* [[BIS_fnc_ambientBlacklistAdd]]
* [[BIS_fnc_ambientBoats]]
* [[BIS_fnc_ambientFlyby]]
* [[BIS_fnc_ambientHelicopters]]
* [[BIS_fnc_ambientPlanes]]
* [[BIS_fnc_ambientPostprocess]]
* [[BIS_fnc_animalBehaviour]]
* [[BIS_fnc_animalSiteSpawn]]
* [[BIS_fnc_animType]]
* [[BIS_fnc_animViewer]]
* [[BIS_fnc_areEqual]]
* [[BIS_fnc_areFriendly]]
* [[BIS_fnc_arithmeticMean]]
* [[BIS_fnc_arrayCompare]]
* [[BIS_fnc_arrayFindDeep]]
* [[BIS_fnc_arrayInsert]]
* [[BIS_fnc_arrayPop]]
* [[BIS_fnc_arrayPush]]
* [[BIS_fnc_arrayPushStack]]
* [[BIS_fnc_arrayShift]]
* [[BIS_fnc_arrayShuffle]]
* [[BIS_fnc_arrayUnShift]]
* [[BIS_fnc_assignPlayerRole]]
* [[BIS_fnc_basicTask]]
* [[BIS_fnc_blackIn]]
* [[BIS_fnc_blackOut]]
* [[BIS_fnc_bleedTickets]]
* [[BIS_fnc_bloodEffect]]
* [[BIS_fnc_boundingBoxCorner]]
* [[BIS_fnc_boundingBoxDimensions]]
* [[BIS_fnc_boundingBoxMarker]]
* [[BIS_fnc_boundingCircle]]
* [[BIS_fnc_briefingAnimate]]
* [[BIS_fnc_briefingInit]]
* [[BIS_fnc_buildingPositions]]
* [[BIS_fnc_call]]
* [[BIS_fnc_callScriptedEventHandler]]
* [[BIS_fnc_camera]]
* [[BIS_fnc_cameraOld]]
* [[BIS_fnc_camFollow]]
* [[BIS_fnc_changeSupportRadioChannel]]
* [[BIS_fnc_cinemaBorder]]
* [[BIS_fnc_classMagazine]]
* [[BIS_fnc_classWeapon]]
* [[BIS_fnc_codePerformance]]
* [[BIS_fnc_colorConfigToRGBA]]
* [[BIS_fnc_colorRGBAtoHTML]]
* [[BIS_fnc_colorRGBAtoTexture]]
* [[BIS_fnc_colorRGBtoHTML]]
* [[BIS_fnc_commsMenuCreate]]
* [[BIS_fnc_commsMenuToggleAvailability]]
* [[BIS_fnc_commsMenuToggleVisibility]]
* [[BIS_fnc_completedCuratorChallengesCount]]
* [[BIS_fnc_conditionalSelect]]
* [[BIS_fnc_configPath]]
* [[BIS_fnc_configviewer]]
* [[BIS_fnc_consolidateArray]]
* [[BIS_fnc_convertUnits]]
* [[BIS_fnc_countdown]]
* [[BIS_fnc_counter]]
* [[BIS_fnc_createLogRecord]]
* [[BIS_fnc_createMenu]]
* [[BIS_fnc_createObjectOO]]
* [[BIS_fnc_credits]]
* [[BIS_fnc_credits_movie]]
* [[BIS_fnc_credits_movieConfig]]
* [[BIS_fnc_credits_movieSupport]]
* [[BIS_fnc_crewCount]]
* [[BIS_fnc_crossProduct]]
* [[BIS_fnc_crows]]
* [[BIS_fnc_ctrlFitToTextHeight]]
* [[BIS_fnc_ctrlSetScale]]
* [[BIS_fnc_ctrlTextHeight]]
* [[BIS_fnc_curatorAttributes]]
* [[BIS_fnc_curatorAutomatic]]
* [[BIS_fnc_curatorAutomaticPositions]]
* [[BIS_fnc_curatorChallengeDestroyVehicle]]
* [[BIS_fnc_curatorChallengeFindIntel]]
* [[BIS_fnc_curatorChallengeFireWeapon]]
* [[BIS_fnc_curatorChallengeGetInVehicle]]
* [[BIS_fnc_curatorChallengeIlluminate]]
* [[BIS_fnc_curatorChallengeSpawnLightning]]
* [[BIS_fnc_curatorObjectEdited]]
* [[BIS_fnc_curatorObjectPlaced]]
* [[BIS_fnc_curatorObjectRegistered]]
* [[BIS_fnc_curatorObjectRegisteredTable]]
* [[BIS_fnc_curatorPinged]]
* [[BIS_fnc_curatorRespawn]]
* [[BIS_fnc_curatorVisionModes]]
* [[BIS_fnc_customGPS]]
* [[BIS_fnc_customGPSVideo]]
* [[BIS_fnc_cutDecimals]]
* [[BIS_fnc_damageChanged]]
* [[BIS_fnc_damagePulsing]]
* [[BIS_fnc_dbClassCheck]]
* [[BIS_fnc_dbClassId]]
* [[BIS_fnc_dbClassIndex]]
* [[BIS_fnc_dbClassList]]
* [[BIS_fnc_dbClassRemove]]
* [[BIS_fnc_dbClassReturn]]
* [[BIS_fnc_dbClassSet]]
* [[BIS_fnc_dbConfigPath]]
* [[BIS_fnc_dbImportConfig]]
* [[BIS_fnc_dbImportXML]]
* [[BIS_fnc_dbisClass]]
* [[BIS_fnc_dbisValue]]
* [[BIS_fnc_dbPrint]]
* [[BIS_fnc_dbSymbolClass]]
* [[BIS_fnc_dbSymbolValue]]
* [[BIS_fnc_dbValueCheck]]
* [[BIS_fnc_dbValueId]]
* [[BIS_fnc_dbValueIndex]]
* [[BIS_fnc_dbValueList]]
* [[BIS_fnc_dbValueRemove]]
* [[BIS_fnc_dbValueReturn]]
* [[BIS_fnc_dbValueSet]]
* [[BIS_fnc_deleteTask]]
* [[BIS_fnc_destroyCity]]
* [[BIS_fnc_diagAAR]]
* [[BIS_fnc_diagAARrecord]]
* [[BIS_fnc_diagAnim]]
* [[BIS_fnc_diagBulletCam]]
* [[BIS_fnc_diagConfig]]
* [[BIS_fnc_diagFindMissingAuthors]]
* [[BIS_fnc_diagHit]]
* [[BIS_fnc_diagKey]]
* [[BIS_fnc_diagKeyLayout]]
* [[BIS_fnc_diagKeyTest]]
* [[BIS_fnc_diagKnownAsTarget]]
* [[BIS_fnc_diagKnownTargets]]
* [[BIS_fnc_diagLoop]]
* [[BIS_fnc_diagMacros]]
* [[BIS_fnc_diagMacrosAuthor]]
* [[BIS_fnc_diagMacrosMapSize]]
* [[BIS_fnc_diagMacrosNameSound]]
* [[BIS_fnc_diagMacrosVerify]]
* [[BIS_fnc_diagMissionPositions]]
* [[BIS_fnc_diagMissionWeapons]]
* [[BIS_fnc_diagPreview]]
* [[BIS_fnc_diagPreviewCycle]]
* [[BIS_fnc_diagPreviewVehicleCrew]]
* [[BIS_fnc_diagRadio]]
* [[BIS_fnc_diagVehicleIcons]]
* [[BIS_fnc_diagWiki]]
* [[BIS_fnc_diaryHints]]
* [[BIS_fnc_diaryMaps]]
* [[BIS_fnc_dirIndicator]]
* [[BIS_fnc_dirtEffect]]
* [[BIS_fnc_dirTo]]
* [[BIS_fnc_disableSaving]]
* [[BIS_fnc_displayClouds]]
* [[BIS_fnc_displayColorGet]]
* [[BIS_fnc_displayColorSet]]
* [[BIS_fnc_displayControls]]
* [[BIS_fnc_displayLoading]]
* [[BIS_fnc_displayMission]]
* [[BIS_fnc_displayName]]
* [[BIS_fnc_displayResize]]
* [[BIS_fnc_distance2D]]
* [[BIS_fnc_distance2Dsqr]]
* [[BIS_fnc_dotProduct]]
* [[BIS_fnc_drawAO]]
* [[BIS_fnc_drawCuratorDeaths]]
* [[BIS_fnc_drawCuratorLocations]]
* [[BIS_fnc_drawCuratorRespawnMarkers]]
* [[BIS_fnc_drawMinefields]]
* [[BIS_fnc_dynamicText]]
* [[BIS_fnc_effectFired]]
* [[BIS_fnc_effectFiredArtillery]]
* [[BIS_fnc_effectFiredFlares]]
* [[BIS_fnc_effectFiredHeliRocket]]
* [[BIS_fnc_effectFiredLongSmoke]]
* [[BIS_fnc_effectFiredRifle]]
* [[BIS_fnc_effectFiredRocket]]
* [[BIS_fnc_effectFiredSmokeLauncher]]
* [[BIS_fnc_effectFiredSmokeLauncher_boat]]
* [[BIS_fnc_effectKilled]]
* [[BIS_fnc_effectKilledAirDestruction]]
* [[BIS_fnc_effectKilledAirDestructionStage2]]
* [[BIS_fnc_effectKilledSecondaries]]
* [[BIS_fnc_effectPlankton]]
* [[BIS_fnc_enableSaving]]
* [[BIS_fnc_endLoadingScreen]]
* [[BIS_fnc_endMission]]
* [[BIS_fnc_endMissionServer]]
* [[BIS_fnc_enemyDetected]]
* [[BIS_fnc_enemySides]]
* [[BIS_fnc_enemyTargets]]
* [[BIS_fnc_error]]
* [[BIS_fnc_errorMsg]]
* [[BIS_fnc_establishingShot]]
* [[BIS_fnc_estimatedTimeLeft]]
* [[BIS_fnc_execFSM]]
* [[BIS_fnc_execRemote]]
* [[BIS_fnc_executeStackedEventHandler]]
* [[BIS_fnc_execVM]]
* [[BIS_fnc_exportCfgMagazines]]
* [[BIS_fnc_exportCfgPatches]]
* [[BIS_fnc_exportCfgVehicles]]
* [[BIS_fnc_exportCfgWeapons]]
* [[BIS_fnc_exportCuratorCostTable]]
* [[BIS_fnc_exportGroupFormations]]
* [[BIS_fnc_fadeEffect]]
* [[BIS_fnc_fatigueEffect]]
* [[BIS_fnc_feedbackInit]]
* [[BIS_fnc_feedbackMain]]
* [[BIS_fnc_filterString]]
* [[BIS_fnc_findExtreme]]
* [[BIS_fnc_findInPairs]]
* [[BIS_fnc_findNestedElement]]
* [[BIS_fnc_findOverwatch]]
* [[BIS_fnc_findSafePos]]
* [[BIS_fnc_finishCuratorChallenge]]
* [[BIS_fnc_fixDate]]
* [[BIS_fnc_flamesEffect]]
* [[BIS_fnc_flies]]
* [[BIS_fnc_forceCuratorInterface]]
* [[BIS_fnc_forceEnd]]
* [[BIS_fnc_formatCuratorChallengeObjects]]
* [[BIS_fnc_fps]]
* [[BIS_fnc_friendlySides]]
* [[BIS_fnc_FTLmanager]]
* [[BIS_fnc_functionMeta]]
* [[BIS_fnc_functionPath]]
* [[BIS_fnc_functionsDebug]]
* [[BIS_fnc_GC]]
* [[BIS_fnc_GCinit]]
* [[BIS_fnc_genericSentence]]
* [[BIS_fnc_genericSentenceInit]]
* [[BIS_fnc_geometricMean]]
* [[BIS_fnc_getCfgData]]
* [[BIS_fnc_getCfgDataArray]]
* [[BIS_fnc_getCfgDataBool]]
* [[BIS_fnc_getCfgDataObject]]
* [[BIS_fnc_getCfgDataPool]]
* [[BIS_fnc_getCfgIsClass]]
* [[BIS_fnc_getCfgSubClasses]]
* [[BIS_fnc_getFactions]]
* [[BIS_fnc_getFromPairs]]
* [[BIS_fnc_getIDC]]
* [[BIS_fnc_getIDD]]
* [[BIS_fnc_getLineDist]]
* [[BIS_fnc_getParamValue]]
* [[BIS_fnc_getPitchBank]]
* [[BIS_fnc_getRespawnInventories]]
* [[BIS_fnc_getRespawnMarkers]]
* [[BIS_fnc_getRespawnPositions]]
* [[BIS_fnc_getServerVariable]]
* [[BIS_fnc_getTurrets]]
* [[BIS_fnc_greatestNum]]
* [[BIS_fnc_groupIndicator]]
* [[BIS_fnc_groupVehicles]]
* [[BIS_fnc_GUIbackground]]
* [[BIS_fnc_GUIeditor]]
* [[BIS_fnc_guiEffectTiles]]
* [[BIS_fnc_GUIgrid]]
* [[BIS_fnc_GUIgridToProfile]]
* [[BIS_fnc_GUIhint]]
* [[BIS_fnc_GUImessage]]
* [[BIS_fnc_GUInewsfeed]]
* [[BIS_fnc_halo]]
* [[BIS_fnc_halt]]
* [[BIS_fnc_healing]]
* [[BIS_fnc_healthEffects]]
* [[BIS_fnc_helicopterCanFly]]
* [[BIS_fnc_helicopterDamage]]
* [[BIS_fnc_helicopterGetHitpoints]]
* [[BIS_fnc_helicopterSeat]]
* [[BIS_fnc_helicopterSeatMove]]
* [[BIS_fnc_helicopterType]]
* [[BIS_fnc_help]]
* [[BIS_fnc_HUDLimits]]
* [[BIS_fnc_importImageLinks]]
* [[BIS_fnc_inAngleSector]]
* [[BIS_fnc_incapacitatedEffect]]
* [[BIS_fnc_indicateBleeding]]
* [[BIS_fnc_infoText]]
* [[BIS_fnc_initCuratorAttribute]]
* [[BIS_fnc_initExpo]]
* [[BIS_fnc_initIntelObject]]
* [[BIS_fnc_initModules]]
* [[BIS_fnc_initMultiplayer]]
* [[BIS_fnc_initParams]]
* [[BIS_fnc_initPlayable]]
* [[BIS_fnc_initRespawn]]
* [[BIS_fnc_initRespawnBackpack]]
* [[BIS_fnc_initVirtualUnit]]
* [[BIS_fnc_inString]]
* [[BIS_fnc_instructorFigure]]
* [[BIS_fnc_interpolateWeather]]
* [[BIS_fnc_inTrigger]]
* [[BIS_fnc_inv]]
* [[BIS_fnc_invAdd]]
* [[BIS_fnc_invCodeToArray]]
* [[BIS_fnc_invRemove]]
* [[BIS_fnc_invSlots]]
* [[BIS_fnc_invSlotsEmpty]]
* [[BIS_fnc_invSlotType]]
* [[BIS_fnc_invString]]
* [[BIS_fnc_isBuildingEnterable]]
* [[BIS_fnc_isCampaign]]
* [[BIS_fnc_isCurator]]
* [[BIS_fnc_isCuratorEditable]]
* [[BIS_fnc_isDemo]]
* [[BIS_fnc_isForcedCuratorInterface]]
* [[BIS_fnc_isInFrontOf]]
* [[BIS_fnc_isInsideArea]]
* [[BIS_fnc_isInZoom]]
* [[BIS_fnc_isLeapYear]]
* [[BIS_fnc_isLoading]]
* [[BIS_fnc_isLocalized]]
* [[BIS_fnc_isPosBlacklisted]]
* [[BIS_fnc_isUnitVirtual]]
* [[BIS_fnc_itemType]]
* [[BIS_fnc_jukebox]]
* [[BIS_fnc_kbCanSpeak]]
* [[BIS_fnc_kbCreateDummy]]
* [[BIS_fnc_kbIsSpeaking]]
* [[BIS_fnc_kbMenu]]
* [[BIS_fnc_kbPriority]]
* [[BIS_fnc_kbSentence]]
* [[BIS_fnc_kbSkip]]
* [[BIS_fnc_kbTell]]
* [[BIS_fnc_kbTellLocal]]
* [[BIS_fnc_kbTopicConfig]]
* [[BIS_fnc_keyCode]]
* [[BIS_fnc_keypointsExport]]
* [[BIS_fnc_keypointsExportFromKML]]
* [[BIS_fnc_KMLimport]]
* [[BIS_fnc_limitSupport]]
* [[BIS_fnc_linearConversion]]
* [[BIS_fnc_listCuratorPlayers]]
* [[BIS_fnc_listPlayers]]
* [[BIS_fnc_liveFeed]]
* [[BIS_fnc_liveFeedEffects]]
* [[BIS_fnc_liveFeedModuleEffects]]
* [[BIS_fnc_liveFeedModuleInit]]
* [[BIS_fnc_liveFeedModuleSetSource]]
* [[BIS_fnc_liveFeedModuleSetTarget]]
* [[BIS_fnc_liveFeedSetSource]]
* [[BIS_fnc_liveFeedSetTarget]]
* [[BIS_fnc_liveFeedTerminate]]
* [[BIS_fnc_loadClass]]
* [[BIS_fnc_loadEntry]]
* [[BIS_fnc_loadFunctions]]
* [[BIS_fnc_loadInventory]]
* [[BIS_fnc_localize]]
* [[BIS_fnc_locationDescription]]
* [[BIS_fnc_locations]]
* [[BIS_fnc_locWeaponInfo]]
* [[BIS_fnc_log]]
* [[BIS_fnc_logFormat]]
* [[BIS_fnc_lowestNum]]
* [[BIS_fnc_magnitude]]
* [[BIS_fnc_magnitudeSqr]]
* [[BIS_fnc_manageCuratorAddons]]
* [[BIS_fnc_manageCuratorChallenges]]
* [[BIS_fnc_mapSize]]
* [[BIS_fnc_markerCreate]]
* [[BIS_fnc_markerParams]]
* [[BIS_fnc_markerPath]]
* [[BIS_fnc_markerToTrigger]]
* [[BIS_fnc_markWaypoints]]
* [[BIS_fnc_maxDiffArray]]
* [[BIS_fnc_mirrorCuratorSettings]]
* [[BIS_fnc_miscanim]]
* [[BIS_fnc_missileLaunchPositionFix]]
* [[BIS_fnc_missionConversations]]
* [[BIS_fnc_missionConversationsLocal]]
* [[BIS_fnc_missionFlow]]
* [[BIS_fnc_missionHandlers]]
* [[BIS_fnc_missionRespawnType]]
* [[BIS_fnc_missionTasks]]
* [[BIS_fnc_missionTasksLocal]]
* [[BIS_fnc_missionTimeLeft]]
* [[BIS_fnc_moduleAI]]
* [[BIS_fnc_moduleAmmo]]
* [[BIS_fnc_moduleAnimals]]
* [[BIS_fnc_moduleBleedTickets]]
* [[BIS_fnc_moduleChat]]
* [[BIS_fnc_moduleCombatGetIn]]
* [[BIS_fnc_moduleCountdown]]
* [[BIS_fnc_moduleCoverMap]]
* [[BIS_fnc_moduleCreateDiaryRecord]]
* [[BIS_fnc_moduleCreateProjectile]]
* [[BIS_fnc_moduleCurator]]
* [[BIS_fnc_moduleCuratorAddAddons]]
* [[BIS_fnc_moduleCuratorAddCameraArea]]
* [[BIS_fnc_moduleCuratorAddEditableObjects]]
* [[BIS_fnc_moduleCuratorAddEditingArea]]
* [[BIS_fnc_moduleCuratorAddEditingAreaPlayers]]
* [[BIS_fnc_moduleCuratorAddIcon]]
* [[BIS_fnc_moduleCuratorAddPoints]]
* [[BIS_fnc_moduleCuratorSetAttributes]]
* [[BIS_fnc_moduleCuratorSetCamera]]
* [[BIS_fnc_moduleCuratorSetCoefs]]
* [[BIS_fnc_moduleCuratorSetCosts]]
* [[BIS_fnc_moduleCuratorSetEditingAreaType]]
* [[BIS_fnc_moduleCuratorSetObjectCost]]
* [[BIS_fnc_moduleDamage]]
* [[BIS_fnc_moduleDate]]
* [[BIS_fnc_moduleDiary]]
* [[BIS_fnc_moduleDoorOpen]]
* [[BIS_fnc_moduleEffectsEmitterCreator]]
* [[BIS_fnc_moduleEffectsFire]]
* [[BIS_fnc_moduleEffectsPlankton]]
* [[BIS_fnc_moduleEffectsSmoke]]
* [[BIS_fnc_moduleEndMission]]
* [[BIS_fnc_moduleExecute]]
* [[BIS_fnc_moduleFDCPClear]]
* [[BIS_fnc_moduleFDCPIn]]
* [[BIS_fnc_moduleFDCPOut]]
* [[BIS_fnc_moduleFDFadeMarker]]
* [[BIS_fnc_moduleFDSkeetDestruction]]
* [[BIS_fnc_moduleFDStatsClear]]
* [[BIS_fnc_moduleFiringDrill]]
* [[BIS_fnc_moduleFriendlyFire]]
* [[BIS_fnc_moduleFuel]]
* [[BIS_fnc_moduleGenericRadio]]
* [[BIS_fnc_moduleGroupID]]
* [[BIS_fnc_moduleHandle]]
* [[BIS_fnc_moduleHealth]]
* [[BIS_fnc_moduleHQ]]
* [[BIS_fnc_moduleInit]]
* [[BIS_fnc_moduleLightning]]
* [[BIS_fnc_moduleMine]]
* [[BIS_fnc_moduleMode]]
* [[BIS_fnc_moduleModules]]
* [[BIS_fnc_moduleMPTypeDefense]]
* [[BIS_fnc_moduleMPTypeGameMaster]]
* [[BIS_fnc_moduleMPTypeSectorControl]]
* [[BIS_fnc_moduleMPTypeSeize]]
* [[BIS_fnc_moduleObjective]]
* [[BIS_fnc_moduleObjectiveFind]]
* [[BIS_fnc_moduleObjectiveMove]]
* [[BIS_fnc_moduleObjectiveNeutralizeProtect]]
* [[BIS_fnc_moduleObjectiveSector]]
* [[BIS_fnc_modulePositioning]]
* [[BIS_fnc_modulePoster]]
* [[BIS_fnc_modulePostprocess]]
* [[BIS_fnc_moduleProjectile]]
* [[BIS_fnc_moduleRadioChannelCreate]]
* [[BIS_fnc_moduleRank]]
* [[BIS_fnc_moduleRating]]
* [[BIS_fnc_moduleRemoteControl]]
* [[BIS_fnc_moduleRespawnPosition]]
* [[BIS_fnc_moduleRespawnTickets]]
* [[BIS_fnc_moduleRespawnVehicle]]
* [[BIS_fnc_moduleSaveGame]]
* [[BIS_fnc_moduleSector]]
* [[BIS_fnc_moduleSFX]]
* [[BIS_fnc_moduleShowHide]]
* [[BIS_fnc_moduleSimulationManager]]
* [[BIS_fnc_moduleSkill]]
* [[BIS_fnc_moduleSkiptime]]
* [[BIS_fnc_moduleSound]]
* [[BIS_fnc_moduleStrategicMapImage]]
* [[BIS_fnc_moduleStrategicMapInit]]
* [[BIS_fnc_moduleStrategicMapMission]]
* [[BIS_fnc_moduleStrategicMapOpen]]
* [[BIS_fnc_moduleStrategicMapORBAT]]
* [[BIS_fnc_moduleTaskCreate]]
* [[BIS_fnc_moduleTaskSetDescription]]
* [[BIS_fnc_moduleTaskSetDestination]]
* [[BIS_fnc_moduleTaskSetState]]
* [[BIS_fnc_moduleTracers]]
* [[BIS_fnc_moduleTrident]]
* [[BIS_fnc_moduleTriggers]]
* [[BIS_fnc_moduleUnits]]
* [[BIS_fnc_moduleUnlockArea]]
* [[BIS_fnc_moduleUnlockObject]]
* [[BIS_fnc_moduleVolume]]
* [[BIS_fnc_moduleWeather]]
* [[BIS_fnc_moduleZoneProtection]]
* [[BIS_fnc_moduleZoneRestriction]]
* [[BIS_fnc_monthDays]]
* [[BIS_fnc_moveIn]]
* [[BIS_fnc_moveToRespawnPosition]]
* [[BIS_fnc_MP]]
* [[BIS_fnc_MPexec]]
* [[BIS_fnc_music]]
* [[BIS_fnc_nearestHelipad]]
* [[BIS_fnc_nearestNum]]
* [[BIS_fnc_nearestPosition]]
* [[BIS_fnc_nearestRoad]]
* [[BIS_fnc_neutralizeUnit]]
* [[BIS_fnc_noFlyZone]]
* [[BIS_fnc_noFlyZonesCreate]]
* [[BIS_fnc_noFlyZonesExport]]
* [[BIS_fnc_numberDigits]]
* [[BIS_fnc_numberText]]
* [[BIS_fnc_objectHeight]]
* [[BIS_fnc_objectsGrabber]]
* [[BIS_fnc_objectSide]]
* [[BIS_fnc_objectsMapper]]
* [[BIS_fnc_objectType]]
* [[BIS_fnc_objectVar]]
* [[BIS_fnc_onDiaryChanged]]
* [[BIS_fnc_onEnd]]
* [[BIS_fnc_onLoad]]
* [[BIS_fnc_onPlayerConnected]]
* [[BIS_fnc_ORBATAddGroupOverlay]]
* [[BIS_fnc_ORBATAnimate]]
* [[BIS_fnc_ORBATConfigPreview]]
* [[BIS_fnc_ORBATGetGroupParams]]
* [[BIS_fnc_ORBATOpen]]
* [[BIS_fnc_ORBATRemoveGroupOverlay]]
* [[BIS_fnc_ORBATSetGroupFade]]
* [[BIS_fnc_ORBATSetGroupParams]]
* [[BIS_fnc_ORBATTooltip]]
* [[BIS_fnc_ordinalNumber]]
* [[BIS_fnc_overviewAuthor]]
* [[BIS_fnc_overviewDifficulty]]
* [[BIS_fnc_overviewMission]]
* [[BIS_fnc_overviewTerrain]]
* [[BIS_fnc_overviewTimeTrial]]
* [[BIS_fnc_packStaticWeapon]]
* [[BIS_fnc_param]]
* [[BIS_fnc_paramCountdown]]
* [[BIS_fnc_paramDaytime]]
* [[BIS_fnc_paramGuerFriendly]]
* [[BIS_fnc_paramIn]]
* [[BIS_fnc_paramRespawnTickets]]
* [[BIS_fnc_paramWeather]]
* [[BIS_fnc_parseNumber]]
* [[BIS_fnc_phoneticalWord]]
* [[BIS_fnc_PIP]]
* [[BIS_fnc_playEndMusic]]
* [[BIS_fnc_playerName]]
* [[BIS_fnc_playerSideFaction]]
* [[BIS_fnc_playMusic]]
* [[BIS_fnc_playSound]]
* [[BIS_fnc_playVideo]]
* [[BIS_fnc_posDegtoUTM]]
* [[BIS_fnc_posDegToWorld]]
* [[BIS_fnc_position]]
* [[BIS_fnc_posToGrid]]
* [[BIS_fnc_posUTMToDeg]]
* [[BIS_fnc_preload]]
* [[BIS_fnc_prepareAO]]
* [[BIS_fnc_progressLoadingScreen]]
* [[BIS_fnc_quotations]]
* [[BIS_fnc_radialRed]]
* [[BIS_fnc_radialRedOut]]
* [[BIS_fnc_radioSetChannel]]
* [[BIS_fnc_radioSetPlaylist]]
* [[BIS_fnc_radioSetTrack]]
* [[BIS_fnc_randomIndex]]
* [[BIS_fnc_randomInt]]
* [[BIS_fnc_randomNum]]
* [[BIS_fnc_randomPos]]
* [[BIS_fnc_randomPosTrigger]]
* [[BIS_fnc_rankParams]]
* [[BIS_fnc_recompile]]
* [[BIS_fnc_refreshCommMenu]]
* [[BIS_fnc_registerCuratorObject]]
* [[BIS_fnc_relativeDirTo]]
* [[BIS_fnc_relPos]]
* [[BIS_fnc_relPosObject]]
* [[BIS_fnc_relScaledDist]]
* [[BIS_fnc_removeAllScriptedEventHandlers]]
* [[BIS_fnc_removeCommMenuItem]]
* [[BIS_fnc_removeCuratorIcon]]
* [[BIS_fnc_removeDestroyedCuratorEditableObjects]]
* [[BIS_fnc_removeFromPairs]]
* [[BIS_fnc_removeIndex]]
* [[BIS_fnc_removeNestedElement]]
* [[BIS_fnc_removeRespawnInventory]]
* [[BIS_fnc_removeRespawnPosition]]
* [[BIS_fnc_removeScriptedEventHandler]]
* [[BIS_fnc_removeStackedEventHandler]]
* [[BIS_fnc_removeSupportLink]]
* [[BIS_fnc_respawnBase]]
* [[BIS_fnc_respawnConfirm]]
* [[BIS_fnc_respawnCounter]]
* [[BIS_fnc_respawnEndMission]]
* [[BIS_fnc_respawnGroup]]
* [[BIS_fnc_respawnInstant]]
* [[BIS_fnc_respawnManager]]
* [[BIS_fnc_respawnMenuInventory]]
* [[BIS_fnc_respawnMenuPosition]]
* [[BIS_fnc_respawnMenuSpectator]]
* [[BIS_fnc_respawnNone]]
* [[BIS_fnc_respawnRounds]]
* [[BIS_fnc_respawnSeagull]]
* [[BIS_fnc_respawnSide]]
* [[BIS_fnc_respawnSpectator]]
* [[BIS_fnc_respawnTickets]]
* [[BIS_fnc_respawnTimePenalty]]
* [[BIS_fnc_respawnWave]]
* [[BIS_fnc_respect]]
* [[BIS_fnc_returnChildren]]
* [[BIS_fnc_returnConfigEntry]]
* [[BIS_fnc_returnGroupComposition]]
* [[BIS_fnc_returnNestedElement]]
* [[BIS_fnc_returnParents]]
* [[BIS_fnc_returnVehicleTurrets]]
* [[BIS_fnc_romanNumeral]]
* [[BIS_fnc_rotateVector2D]]
* [[BIS_fnc_roundDir]]
* [[BIS_fnc_roundNum]]
* [[BIS_fnc_rscLayer]]
* [[BIS_fnc_sandstorm]]
* [[BIS_fnc_saveGame]]
* [[BIS_fnc_sayMessage]]
* [[BIS_fnc_sceneAreaClearance]]
* [[BIS_fnc_sceneCheckWeapons]]
* [[BIS_fnc_sceneCreateSceneTrigger]]
* [[BIS_fnc_sceneCreateSoundEntities]]
* [[BIS_fnc_sceneGetObjects]]
* [[BIS_fnc_sceneGetParticipants]]
* [[BIS_fnc_sceneGetPositionByAngle]]
* [[BIS_fnc_sceneIntruderDetector]]
* [[BIS_fnc_sceneMiscStuff]]
* [[BIS_fnc_sceneRotate]]
* [[BIS_fnc_sceneSetAnimationsForGroup]]
* [[BIS_fnc_sceneSetBehaviour]]
* [[BIS_fnc_sceneSetObjects]]
* [[BIS_fnc_sceneSetPosFormation]]
* [[BIS_fnc_scriptedMove]]
* [[BIS_fnc_secondsToString]]
* [[BIS_fnc_selectCrew]]
* [[BIS_fnc_selectRandom]]
* [[BIS_fnc_selectRandomWeighted]]
* [[BIS_fnc_selectRespawnTemplate]]
* [[BIS_fnc_setCuratorAttributes]]
* [[BIS_fnc_setCuratorCamera]]
* [[BIS_fnc_setCuratorVisionModes]]
* [[BIS_fnc_setDate]]
* [[BIS_fnc_setFog]]
* [[BIS_fnc_setHeight]]
* [[BIS_fnc_setIDCStreamFriendly]]
* [[BIS_fnc_setNestedElement]]
* [[BIS_fnc_setObjectTexture]]
* [[BIS_fnc_setOvercast]]
* [[BIS_fnc_setPitchBank]]
* [[BIS_fnc_setPPeffectTemplate]]
* [[BIS_fnc_setRank]]
* [[BIS_fnc_setRespawnDelay]]
* [[BIS_fnc_setServerVariable]]
* [[BIS_fnc_setTask]]
* [[BIS_fnc_setTaskLocal]]
* [[BIS_fnc_setToPairs]]
* [[BIS_fnc_shakeGauges]]
* [[BIS_fnc_showCuratorAttributes]]
* [[BIS_fnc_showCuratorFeedbackMessage]]
* [[BIS_fnc_showMarkers]]
* [[BIS_fnc_showNotification]]
* [[BIS_fnc_showRespawnMenu]]
* [[BIS_fnc_showTime]]
* [[BIS_fnc_showUnitInfo]]
* [[BIS_fnc_shutdown]]
* [[BIS_fnc_sideColor]]
* [[BIS_fnc_sideID]]
* [[BIS_fnc_sideName]]
* [[BIS_fnc_sideType]]
* [[BIS_fnc_singleMissionConfig]]
* [[BIS_fnc_singleMissionKeys]]
* [[BIS_fnc_singleMissionName]]
* [[BIS_fnc_skirmishTrigger]]
* [[BIS_fnc_sortAlphabetically]]
* [[BIS_fnc_sortBy]]
* [[BIS_fnc_sortNum]]
* [[BIS_fnc_spawn]]
* [[BIS_fnc_spawnCrew]]
* [[BIS_fnc_spawnEnemy]]
* [[BIS_fnc_spawnGroup]]
* [[BIS_fnc_spawnObjects]]
* [[BIS_fnc_spawnVehicle]]
* [[BIS_fnc_splitString]]
* [[BIS_fnc_spotter]]
* [[BIS_fnc_startLoadingScreen]]
* [[BIS_fnc_strategicMapAnimate]]
* [[BIS_fnc_strategicMapMouseButtonClick]]
* [[BIS_fnc_strategicMapOpen]]
* [[BIS_fnc_subClasses]]
* [[BIS_fnc_subSelect]]
* [[BIS_fnc_supplydrop]]
* [[BIS_fnc_supplydropService]]
* [[BIS_fnc_swapVars]]
* [[BIS_fnc_taskAttack]]
* [[BIS_fnc_taskChildren]]
* [[BIS_fnc_taskCompleted]]
* [[BIS_fnc_taskCreate]]
* [[BIS_fnc_taskCurrent]]
* [[BIS_fnc_taskDefend]]
* [[BIS_fnc_taskDescription]]
* [[BIS_fnc_taskDestination]]
* [[BIS_fnc_taskExists]]
* [[BIS_fnc_taskHandler]]
* [[BIS_fnc_taskHint]]
* [[BIS_fnc_taskParent]]
* [[BIS_fnc_taskPatrol]]
* [[BIS_fnc_taskReal]]
* [[BIS_fnc_taskSetCurrent]]
* [[BIS_fnc_taskSetDescription]]
* [[BIS_fnc_taskSetDestination]]
* [[BIS_fnc_taskSetState]]
* [[BIS_fnc_taskState]]
* [[BIS_fnc_taskVar]]
* [[BIS_fnc_teamColor]]
* [[BIS_fnc_terrainGradAngle]]
* [[BIS_fnc_textTiles]]
* [[BIS_fnc_textureMarker]]
* [[BIS_fnc_textureVehicleIcon]]
* [[BIS_fnc_threat]]
* [[BIS_fnc_timeToString]]
* [[BIS_fnc_titlecard]]
* [[BIS_fnc_titleText]]
* [[BIS_fnc_toggleCuratorVisionMode]]
* [[BIS_fnc_toUpperDisplayTexts]]
* [[BIS_fnc_trackMissionTime]]
* [[BIS_fnc_transportService]]
* [[BIS_fnc_tridentClient]]
* [[BIS_fnc_tridentExecute]]
* [[BIS_fnc_tridentGetRelationship]]
* [[BIS_fnc_tridentHandleDamage]]
* [[BIS_fnc_tridentSetRelationship]]
* [[BIS_fnc_triggerToMarker]]
* [[BIS_fnc_trimString]]
* [[BIS_fnc_typeText]]
* [[BIS_fnc_typeText2]]
* [[BIS_fnc_uniqueClasses]]
* [[BIS_fnc_unitAddon]]
* [[BIS_fnc_unitCapture]]
* [[BIS_fnc_unitCaptureFiring]]
* [[BIS_fnc_unitCaptureSimple]]
* [[BIS_fnc_unitPlay]]
* [[BIS_fnc_unitPlayFiring]]
* [[BIS_fnc_unitPlaySimple]]
* [[BIS_fnc_unitVector]]
* [[BIS_fnc_unpackStaticWeapon]]
* [[BIS_fnc_updatePlayerArray]]
* [[BIS_fnc_validateParametersOO]]
* [[BIS_fnc_variableSpaceAdd]]
* [[BIS_fnc_variableSpaceRemove]]
* [[BIS_fnc_vectorAdd]]
* [[BIS_fnc_vectorDiff]]
* [[BIS_fnc_vectorFromXToY]]
* [[BIS_fnc_vectorMultiply]]
* [[BIS_fnc_vehicleRoles]]
* [[BIS_fnc_version]]
* [[BIS_fnc_weaponAddon]]
* [[BIS_fnc_weaponComponents]]
* [[BIS_fnc_worldArea]]
* [[BIS_fnc_zzRotate]]


== Broken/Non-functional? Script Commands in ArmA 1.14 ==


= General Syntax =
[[airportSide]]


'''''person'' [[action]] [''"actionType"'', ''parameter(s)'']'''
[[assignToAirport]]


:{|style="background:transparent"
[[setAirportSide]]
|-valign=top
|''person'' :           ||[[object#person|Object]].
|-valign=top
|''"actionType"'' :              ||[[String]]. Not case sensitive.
|-valign=top
|''parameter(s)'' :              ||Various [[Data_Types|data types]], dependant on the action used. Some actions require multiple parameters.
|}


= Actions =


== AUTOHOVER ==
Toggles auto-hovering on and off. Note that while the auto-hover status can be toggled on an AI crewed or even an empty vehicle, it will only affect a vehicle controlled by a human pilot.


'''Syntax:''' ''unit'' action ["autoHover", ''targetVehicle'']<br />
== Commands which local/global args/effects are not certain ==
Where ''unit'' is any unit (no action animation is performed) and ''targetVehicle'' is any vehicle that is capable of hovering.


Example:
[[setVehicleInit]], [[clearVehicleInit]] and [[processInitCommands]] - topic at [[http://www.ofpec.com/forum/index.php?topic=33008.0| OFPEC forums]]
<code>unitOne action ["autoHover", ChopperOne]</code>




== CANCELACTION ==
== Arma 2 OA 1.62.98866 new commands ==
Cancels an action in progress. The target unit will complete it's current animation, although the action itself will not be performed.
* b:BOOL && CODE
* b:BOOL || CODE
* b:BOOL and CODE
* b:BOOL or CODE
* b:CONTROL [[setObjectArguments]] ARRAY
* b:CONTROL [[setGearSlotAmmoCount]] SCALAR
* b:OBJECT [[addMagazine]] ARRAY
* b:OBJECT [[setOwner]] SCALAR
* b:OBJECT [[setUnitRecoilCoefficient]] SCALAR
* b:SCALAR [[publicVariableClient]] STRING
* b:SCALAR [[setIDCAmmoCount]] SCALAR
* b:STRING [[setToneMappingParams]] ARRAY
* n:[[libraryCredits]]
* n:[[libraryDisclaimers]]
* n:[[moonIntensity]]
* n:[[profileNamespace]]
* n:[[saveProfileNamespace]]
* n:[[productVersion]]
* n:[[sunOrMoon]]
* u:[[entities]]
* u:[[aimPos]] OBJECT
* u:[[ASLToATL]] ARRAY
* u:[[ATLToASL]] ARRAY
* u:[[deActivateKey]] STRING
* u:[[entities]] STRING
* u:[[eyeDirection]] OBJECT
* u:[[eyePos]] OBJECT
* u:[[gearIDCAmmoCount]] SCALAR
* u:[[gearSlotAmmoCount]] CONTROL
* u:[[onEachFrame]]
* u:[[groupFromNetId]] STRING
* u:[[lineIntersects]] ARRAY
* u:[[lineIntersectsWith]] ARRAY
* u:[[nearestBuilding]] ARRAY
* u:[[nearestBuilding]] OBJECT
* u:[[netId]] GROUP
* u:[[netId]] OBJECT
* u:[[objectFromNetId]] STRING
* u:[[publicVariableServer]] STRING
* u:[[systemChat]] STRING
* u:[[sendAUMessage]] ARRAY
* u:[[setEyeAdaptMax]] SCALAR
* u:[[setEyeAdaptMin]] SCALAR
* u:[[setEyeAdaptMinMaxDefault]] SCALAR
* u:[[setToneMapping]] STRING
* u:[[terrainIntersect]] ARRAY
* u:[[terrainIntersectASL]] ARRAY
* u:[[unitRecoilCoefficient]] OBJECT
* u:[[visiblePositionASL]] OBJECT


'''Syntax:''' ''unit'' action ["cancelAction", ''targetUnit'']'''
== Arma 3 Alpha 0.53.103342 new commands ==
* t:JCLASS
* t:NetObject
* t:SUBGROUP
* b:OBJECT [[swimInDepth]] SCALAR
* b:OBJECT [[addGoggles]] STRING
* b:OBJECT [[addItem]] STRING
* b:OBJECT [[setLightIntensity]] SCALAR
* b:OBJECT [[setVehicleAmmoDef]] SCALAR
* b:OBJECT [[setFatigue]] SCALAR
* b:SCALAR [[setGusts]] SCALAR
* b:OBJECT [[forceWeaponFire]] ARRAY
* b:SCALAR [[setLightnings]] SCALAR
* b:OBJECT [[linkItem]] STRING
* b:ARRAY [[inRangeOfArtillery]] ARRAY
* b:OBJECT [[addHeadgear]] STRING
* b:SIDE [[revealMine]] OBJECT
* b:OBJECT [[assignAsCargoIndex]] ARRAY
* b:OBJECT [[setBleedingRemaining]] SCALAR
* b:OBJECT [[enableFatigue]] BOOL
* b:OBJECT [[customRadio]] ARRAY
* b:SCALAR [[setWindDir]] SCALAR
* b:OBJECT [[setOxygenRemaining]] SCALAR
* b:ARRAY,OBJECT [[distanceSqr]] ARRAY,OBJECT
* b:LOCATION [[distanceSqr]] LOCATION
* b:LOCATION [[distanceSqr]] ARRAY
* b:ARRAY [[distanceSqr]] LOCATION
* b:NetObject [[!=]] NetObject
* b:ARRAY [[setWaypointName]] STRING
* b:SCALAR [[setWindStr]] SCALAR
* b:OBJECT [[setUserActionText]] ARRAY
* b:OBJECT [[isFlashlightOn]] STRING
* b:OBJECT [[assignItem]] STRING
* b:OBJECT [[disableCollisionWith]] OBJECT
* b:OBJECT,GROUP [[enableGunLights]] STRING
* b:ARRAY,OBJECT [[doArtilleryFire]] ARRAY
* b:OBJECT [[addItemCargoGlobal]] ARRAY
* b:ARRAY,OBJECT [[commandArtilleryFire]] ARRAY
* b:OBJECT [[removeItem]] STRING
* b:OBJECT [[setLightFlareSize]] SCALAR
* b:OBJECT [[addPrimaryWeaponItem]] STRING
* b:OBJECT [[animateDoor]] ARRAY
* b:OBJECT [[enableCopilot]] BOOL
* b:OBJECT [[addUniform]] STRING
* b:OBJECT [[setRandomLip]] BOOL
* b:OBJECT [[doorPhase]] STRING
* b:OBJECT [[addSecondaryWeaponItem]] STRING
* b:OBJECT [[lock]] SCALAR
* b:SCALAR [[radioChannelRemove]] ARRAY
* b:OBJECT [[setLightDayLight]] BOOL
* b:OBJECT [[setCenterOfMass]] ARRAY
* b:OBJECT [[enableCollisionWith]] OBJECT
* b:OBJECT [[customChat]] ARRAY
* b:STRING [[setDebriefingText]] ARRAY
* b:OBJECT [[assignAsTurret]] ARRAY
* b:OBJECT [[setLightAttenuation]] ARRAY
* b:OBJECT [[removeAllActions]] SCALAR
* b:OBJECT [[setLightFlareMaxDistance]] SCALAR
* b:OBJECT [[setMass]] SCALAR,ARRAY
* b:OBJECT [[isIRLaserOn]] STRING
* b:OBJECT [[removeItems]] STRING
* b:SCALAR [[ppEffectForceInNVG]] BOOL
* b:OBJECT [[addMagazines]] ARRAY
* b:OBJECT [[addVest]] STRING
* b:OBJECT [[addHandgunItem]] STRING
* b:OBJECT [[setEquipFailure]] SCALAR
* b:SCALAR [[radioChannelSetLabel]] STRING
* b:SCALAR [[setWaves]] SCALAR
* b:STRING [[createSite]] ARRAY
* b:SCALAR [[setWindForce]] SCALAR
* b:OBJECT [[weaponAccessories]] STRING
* b:OBJECT [[setAmmo]] ARRAY
* b:SCALAR [[radioChannelSetCallSign]] STRING
* b:OBJECT [[setLightUseFlare]] BOOL
* b:STRING [[setPiPEffect]] ARRAY
* b:CONTROL [[ctrlSetChecked]] BOOL
* b:OBJECT [[removeItemFromPrimaryWeapon]] STRING
* b:OBJECT [[camSetDir]] ARRAY
* b:LOCATION [[distance]] LOCATION
* b:LOCATION [[distance]] ARRAY
* b:ARRAY [[distance]] LOCATION
* b:OBJECT [[getHitPointDamage]] STRING
* b:NetObject [[==]] NetObject
* b:SCALAR [[setRainbow]] SCALAR
* b:OBJECT [[unassignItem]] STRING
* b:OBJECT [[addItemCargo]] ARRAY
* b:ARRAY,OBJECT [[nearSupplies]] SCALAR,ARRAY
* b:OBJECT [[setParticleClass]] STRING
* b:OBJECT [[setHitPointDamage]] ARRAY
* b:SCALAR [[radioChannelAdd]] ARRAY
* b:OBJECT [[setObjectMaterial]] ARRAY
* b:OBJECT [[setPosASLW]] ARRAY
* u:[[clearItemCargoGlobal]] OBJECT
* u:[[backpackCargo]] OBJECT
* u:[[uniform]] OBJECT
* u:[[SimulSetMieAsymmetry]] SCALAR
* u:[[getFatigue]] OBJECT
* u:[[SimulSetNoisePeriod]] SCALAR
* u:[[incapacitatedState]] OBJECT
* u:[[ctrlIDC]] CONTROL
* u:[[SimulSetExtinction]] SCALAR
* u:[[SimulSetWrap]] BOOL
* u:[[enableSatNormalOnDetail]] BOOL
* u:[[ctrlIDD]] DISPLAY
* u:[[SimulSetCloudWidth]] SCALAR
* u:[[SimulSetNoisePersistence]] SCALAR
* u:[[removeHeadgear]] OBJECT
* u:[[backpack]] OBJECT
* u:[[loadUniform]] OBJECT
* u:[[actionName]] STRING
* u:[[SimulSetRandomSeed]] SCALAR
* u:[[ctrlChecked]] CONTROL
* u:[[SimulSetOvercastBaseKm]] SCALAR
* u:[[stance]] OBJECT
* u:[[SimulSetNoiseOctaves]] SCALAR
* u:[[SimulSetHelperGrid]] ARRAY
* u:[[setHudMovementLevels]] ARRAY
* u:[[simulCloudOcclusion]] ARRAY
* u:[[setSimulWeatherLayers]] SCALAR
* u:[[removeVest]] OBJECT
* u:[[primaryWeaponItems]] OBJECT
* u:[[isLocalized]] STRING
* u:[[magazinesDetail]] OBJECT
* u:[[removeUniform]] OBJECT
* u:[[SimulSetDiffusivity]] SCALAR
* u:[[removeMissionEventHandler]] ARRAY
* u:[[vestItems]] OBJECT
* u:[[playSound3D]] ARRAY
* u:[[SimulSetMieEccentricity]] SCALAR
* u:[[setWindDir]] ARRAY
* u:[[SimulSetHumidity]] SCALAR
* u:[[SimulSetSelfShadowScale]] SCALAR
* u:[[SimulSetHazeScaleHeightKm]] SCALAR
* u:[[loadBackpack]] OBJECT
* u:[[radioChannelCreate]] ARRAY
* u:[[className]] LOCATION
* u:[[SimulSetCentreX]] SCALAR
* u:[[addMissionEventHandler]] ARRAY
* u:[[secondaryWeaponItems]] OBJECT
* u:[[SimulSetCentreY]] SCALAR
* u:[[DBGetFirstObject]] OBJECT
* u:[[assignedItems]] OBJECT
* u:[[isNull]] NetObject
* u:[[firstBackpack]] OBJECT
* u:[[isTouchingGround]] OBJECT
* u:[[velocityModelSpace]] OBJECT
* u:[[getShadowDistance]] ANY
* u:[[getOxygenRemaining]] OBJECT
* u:[[SimulSetCloudBaseZ]] SCALAR
* u:[[DBG_removeAllItemsFromActiveGnd]] OBJECT
* u:[[setDetailMapBlendPars]] ARRAY
* u:[[ctrlHTMLLoaded]] CONTROL
* u:[[addMusicEventHandler]] ARRAY
* u:[[handgunItems]] OBJECT
* u:[[waypointName]] ARRAY
* u:[[load]] OBJECT
* u:[[enableCaustics]] BOOL
* u:[[isBleeding]] OBJECT
* u:[[setObjectViewDistance]] SCALAR
* u:[[setObjectViewDistance]] ARRAY
* u:[[setShadowDistance]] SCALAR
* u:[[isBurning]] OBJECT
* u:[[setLocalWindParams]] ARRAY
* u:[[setHorizonSunColorationScale]] SCALAR
* u:[[SimulSetSecondaryLightResponse]] SCALAR
* u:[[deleteSite]] OBJECT
* u:[[SimulSetOvercastRangeKm]] SCALAR
* u:[[SimulSetFog]] ARRAY
* u:[[resetSubgroupDirection]] OBJECT
* u:[[mineActive]] OBJECT
* u:[[loadAbs]] OBJECT
* u:[[vest]] OBJECT
* u:[[backpackItems]] OBJECT
* u:[[uniformItems]] OBJECT
* u:[[SimulSetLightResponse]] SCALAR
* u:[[SimulSetThinLayer]] BOOL
* u:[[SimulSetFractalWavelength]] SCALAR
* u:[[goggles]] OBJECT
* u:[[headgear]] OBJECT
* u:[[setSystemOfUnits]] SCALAR
* u:[[dbg_vestMagazines]] OBJECT
* u:[[getBleedingRemaining]] OBJECT
* u:[[SimulSetHelperNearCloudFade]] SCALAR
* u:[[setSkyFogColorationStart]] SCALAR
* u:[[synchronizedTriggers]] ARRAY
* u:[[weaponLowered]] OBJECT
* u:[[removeAllContainers]] OBJECT
* u:[[showChat]] BOOL
* u:[[clearBackpackCargo]] OBJECT
* u:[[SimulSetHazeBaseHeightKm]] SCALAR
* u:[[SimulSetFractalAmplitude]] SCALAR
* u:[[SimulSetAtmosphereThickness]] SCALAR
* u:[[SimulSetAmbientLightResponse]] SCALAR
* u:[[SimulSetMinimumLightElevationDegrees]] SCALAR
* u:[[buldozer_LoadNewRoads]] STRING
* u:[[underwater]] OBJECT
* u:[[SimulSetOvercast]] SCALAR
* u:[[setCompassOscillation]] ARRAY
* u:[[SimulSetGridHeight]] SCALAR
* u:[[SimulSetNoiseResolution]] SCALAR
* u:[[SimulSetAlphaSharpness]] SCALAR
* u:[[currentMagazineDetail]] OBJECT
* u:[[ctrlTextHeight]] CONTROL
* u:[[SimulSetCloudHeight]] SCALAR
* u:[[SimulSetHaze]] SCALAR
* u:[[removeGoggles]] OBJECT
* u:[[getItemCargo]] OBJECT
* u:[[getDescription]] OBJECT
* u:[[clearAllItemsFromBackpack]] OBJECT
* u:[[setHorizonFogColorationStart]] SCALAR
* u:[[getArtilleryAmmo]] ARRAY
* u:[[setAIS]] ARRAY
* u:[[setMusicEventHandler]] ARRAY
* u:[[SimulSetGridLength]] SCALAR
* u:[[SimulSetOpticalDensity]] SCALAR
* u:[[setHorizonParallaxCoef]] SCALAR
* u:[[SimulInClouds]] ARRAY
* u:[[SimulSetCloudLength]] SCALAR
* u:[[removeAllMusicEventHandlers]] STRING
* u:[[cancelSimpleTaskDestination]] TASK
* u:[[SimulSetHelperDetail]] ARRAY
* u:[[isAbleToBreathe]] OBJECT
* u:[[removeMusicEventHandler]] ARRAY
* u:[[groupID]] GROUP
* u:[[handgunWeapon]] OBJECT
* u:[[drawLine3D]] ARRAY
* u:[[drawIcon3D]] ARRAY
* u:[[removeAllMissionEventHandlers]] STRING
* u:[[isCopilotEnabled]] OBJECT
* u:[[getBurningValue]] OBJECT
* u:[[boundingBoxReal]] OBJECT
* u:[[SimulCloudDensity]] ARRAY
* u:[[SimulSetGridWidth]] SCALAR
* u:[[itemCargo]] OBJECT
* u:[[clearItemCargo]] OBJECT
* u:[[debriefingText]] STRING
* u:[[SimulSetLightDetail]] SCALAR
* u:[[weaponCargo]] OBJECT
* u:[[loadVest]] OBJECT
* u:[[DBG_magazinesLoaded]] OBJECT
* u:[[magazineCargo]] OBJECT
* u:[[removeAllAssignedItems]] OBJECT
* u:[[synchronizedWaypoints]] OBJECT
* u:[[synchronizedWaypoints]] ARRAY
* u:[[setAmbProcessTime]] SCALAR
* u:[[linearConversion]] ARRAY
* u:[[getPosASLW]] OBJECT
* u:[[setApertureNew]] ARRAY
* n:[[opfor]]
* n:[[allSites]]
* n:[[lightnings]]
* n:[[freeLook]]
* n:[[SimulWeatherSync]]
* n:[[humidity]]
* n:[[blufor]]
* n:[[rainbow]]
* n:[[particlesQuality]]
* n:[[saveJoysticks]]
* n:[[HUDMovementLevels]]
* n:[[buldozer_reloadOperMap]]
* n:[[isTutHintsEnabled]]
* n:[[shownArtilleryComputer]]
* n:[[language]]
* n:[[windDir]]
* n:[[allMapMarkers]]
* n:[[independent]]
* n:[[gusts]]
* n:[[getArtilleryComputerSettings]]
* n:[[windStr]]
* n:[[netObjNull]]
* n:[[waves]]
* n:[[allDeadMen]]
* n:[[systemOfUnits]]
* n:[[isPipEnabled]]
* n:[[profileName]]


Where ''unit'' is be any unit (no action animation is performed) and ''targetUnit'' is any unit that is in the process of performing an action.
[[Category:Sandbox]]
 
Example:
<code>unitOne action ["CANCELACTION", unitTwo]</code>
 
 
== CANCELLAND ==
Cancels autopilot landing for an aircraft, including AI controlled aircraft.
 
'''Syntax:''' ''unit'' action ["cancelAction", ''targetVehicle'']'''
 
Where ''unit'' is any unit (no action animation is performed) and ''targetVehicle'' is any vehicle that is currently performing an autopilot landing.
 
Example:
<code>driver planeOne action ["cancelLand", planeOne]</code>
 
 
== CANCELTAKEFLAG ==
Cancels taking of a flag. The unit will complete the taking/action animation, but the flag will remain attached to it's current object. This action needs to be executed while the flag is being taken (which happens after the unit completes the taking/action animation) to prevent a unit taking the flag.
 
'''Syntax:''' ''unit'' action '''["cancelTakeFlag", ''targetFlag'']'''
 
Where ''unit'' is any unit (no action animation is performed) and ''targetFlag''' is a flag.
 
Example:
<code>westSoldierOne action ["cancelTakeFlag", eastFlag]</code>
 
 
== DEACTIVATE ==
'''unitOne action ["DEACTIVATE", unitTwo,<object>]'''
 
Soldier 'unitOne' will bend down as if to deactivate a satchel charge that has been placed by unitTwo.<br>
This can happen from any distance (i.e. unitOne will not walk up to the charge to deactivate it, but do it 'remotely').<br>
If unitTwo is nearby the charge when it is being deactivated it return to its inventory.
 
Example:
<code>soldierOne action ["DEACTIVATE", SoldierOne, mySatchelCharge]</code>
 
 
== DEACTIVATEMINE ==
'''unitOne action ["DEACTIVATEMINE", unitTwo]'''
 
UnitOne will bend down. The mine closest to unitTwo will be deactivated, so long as it is within around 2 meters.
 
== DIARY ==
'''["DIARY", <target>]'''
 
 
== DROPWEAPON / DROPMAGAZINE ==
'''unitname action ["DROPMAGAZINE", (vehiclename or unitname) ,"MAGAZINENAME"]'''<br>
'''unitname action ["DROPWEAPON", (vehiclename or unitname) ,"WEAPONNAME"]''' ...drops weapon and ammo
Soldier 'unitname' will put a magazine or weapon ([[:Category: Weapons|see list]]) on the ground (Weaponholder) or into named vehicle (ammo box, car, etc.).
 
Example:
<code>SoldierOne action ["DROPMAGAZINE", CarOne, "AK74"]</code>
 
 
== EJECT ==
'''unitName action ["EJECT", vehicleName]'''
 
Soldier 'unitName' will jump out of 'vehicleName'. (Via parachute in case of planes & helicopters.)
 
'''MP Note:''' Has global effect when used on a local unit.
 
Example:
<code>SoldierOne action ["EJECT", ChopperOne]</code>
 
== ENGINEON / ENGINEOFF ==
'''unitName action ["ENGINEON", vehicleName]'''<br>
'''unitName action ["ENGINEOFF", vehicleName]'''
 
Soldier 'unitName' will turn engine of 'vehicleName' either on or off.<br>
 
Example:
<code>SoldierOne action ["ENGINEON", ChopperOne]</code>
 
 
== FIREINFLAME / FIREPUTDOWN ==
'''unitname action ["FIREINFLAME", firename]'''<br>
'''unitname action ["FIREPUTDOWN", firename]'''
 
Soldier 'unitname' will ignite ("FIREINFLAME") or extinguish ("FIREPUTDOWN") fireplace 'firename'.
 
Example:
<code>SoldierOne action ["FIREINFLAME", Fire1]</code>
 
 
== FLAPSUP / FLAPSDOWN ==
'''unit action ["FLAPSUP", <target>]'''<br />
'''unit action ["FLAPSDOWN", <target>]'''
 
AI pilots will instantly change flaps to what they think is suitable.
 
 
== GETINCOMMANDER / GETINDRIVER / GETINGUNNER / GETINCARGO / GETINPILOT / GETINTURRET ==
'''unitname action ["GETINCOMMANDER", vehiclename]'''<br />
'''unitname action ["GETINDRIVER", vehiclename]'''<br />
'''unitname action ["GETINGUNNER", vehiclename]'''<br />
'''unitname action ["GETINCARGO", vehiclename]'''<br />
'''unitname action ["GETINPILOT", vehiclename]'''<br />
'''unitname action ["GETINTURRET", vehiclename, [turret path]]'''
 
Soldier 'unitname' will be teleported next to 'vehiclename', play the entering animation, and then be assigned as either commander, driver or gunner.
 
'''Notes'''
 
'Turret path' is an array that defines the particular turret you want the unit to occupy.
 
TurretPath [0,0] moves the soldier into the first turret of the first turret of a vehicle. Similarly [1,0] would move the unit to the first turret of the second turret of the vehicle.
 
TurretPath [0, 2, 1] would move him to the second turret of the third turret of the first turret, [1] moves him to the second turret of a vehicle.
 
Turret order has to be defined in the class CfgVehicles of the Config.
 
'''Examples''':
<code>SoldierOne action ["GETINCOMMANDER", CarOne]</code>
 
<code>SoldierOne action ["GETINTURRET", UH-60One, [0]];SoldierTwo action ["GETINTURRET", UH-60One, [1]]</code>
UH-60One is the name given to a 'UH60MG' class vehicle. SoldierOne mounts the port-side weapon, and SoldierTwo mounts the starboard-side weapon.
 
== GETOUT ==
'''unitname action ["GETOUT", vehiclename]'''
 
Soldier 'unitname' will jump out of 'vehiclename'. (No parachute in case of planes & helicopters.)
 
Example:
<code>SoldierOne action ["GETOUT", ChopperOne]</code>
 
 
== HANDGUNON / HANDGUNOFF ==
'''unitname action ["HANDGUNOFF", unitname]'''<br>
'''unitname action ["HANDGUNON", unitname]'''
 
Soldier 'unitname' will switch to primary ("handgun off") or secondary ("handgun on") weapon.
 
Example:
<code>SoldierOne action ["HANDGUNON", SoldierOne]</code>
 
 
== HEAL ==
'''unitname action ["HEAL", unitname2]'''
 
Medic 'unitname2' will teleport to 'unitname' and heal him.
 
Example:
<code>SoldierOne action ["HEAL", MedicOne]</code>
 
 
== HIDEBODY ==
'''unitname action ["HIDEBODY", bodyname2]'''
 
Soldier 'unitname' will hide (bury) 'unitname2'.
 
Example:
<code>SoldierOne action ["HIDEBODY", SoldierTwo]</code>
 
 
== INGAMEMENU ==
'''["INGAMEMENU", <target>]'''
 
 
== LADDERDOWN / LADDERUP ==
'''unitname action ["LADDERDOWN", building1]'''
'''unitname action ["LADDERDOWN", object ID]'''
'''unitname action ["LADDERUP", building1]'''
'''unitname action ["LADDERUP", object ID]'''
 
'''unitName action ["LADDERDOWN", <target object>, <ladder index>, <position>]'''<br>
'''unitName action ["LADDERUP", <target object>, <ladder index>, <position>]'''<br>
 
Soldier 'unitName' will play the climbing onto ladder animation, then appear at the specified ladder location. If he is controlled by the AI, he will then either climb up or down the ladder and get off.
 
Example:
<code>unit1 action ["ladderOnUp", (position player nearestObject 452221), 0, 0]</code>
 
 
== LADDEROFF ==
'''unitName action ["LADDEROFF", <target object>]'''
 
Soldier 'unitName' will get off any ladder on <target object> he happens to be on.
 
Example:
<code>unit1 action ["LADDEROFF", (position player nearestObject 452221)]</code>
 
 
== LADDERONUP / LADDERONDOWN ==
'''unitName action ["LADDERONUP", <target object>, <ladder index>, <ladder position>]'''
'''unitName action ["LADDERONDOWN", <target object>, <ladder index>, <ladder position>]'''
 
UnitName will play the appropriate getting on ladder animation and appear upon the ladder at the position given. If he is AI controlled, he will climb to the other end of the ladder and get off.
 
 
== LAND ==
'''unit action ["LAND", <target>]'''
Turns on the landing autopilot.
 
 
== LANDGEAR ==
'''unitName action ["LANDGEAR", planeName]'''
 
Toggle landing gear on 'planename'.<br>
Only works if player is pilot.
 
Example:
<code>PlaneOne action ["LANDGEAR", PlaneOne]</code>
 
 
== LIGHTOFF / LIGHTON ==
'''vehiclename action ["LIGHTON", vehiclename]'''<br>
'''vehiclename action ["LIGHTOFF", vehiclename]'''
 
Turns lights of 'vehiclename' either on or off.<br>
The lights will only stay ''on'' if the driver is in SAFE or CARELESS mode.<br>
The lights will not stay ''off'' if the driver is in SAFE or CARELESS mode.
 
Example:
<code>[[driver]] CarOne [[setBehaviour]] "safe";<br>
CarOne [[action]] ["LIGHTON", CarOne];</code>
 
 
== LOADMAGAZINE ==
'''["LOADMAGAZINE", <target>, <magazine creator>, <magazine id>, <weapon name>, <muzzle name>]'''
 
 
== MANUALFIRE ==
'''unitName action ["MANUALFIRE",<vehicle>]'''
 
Toggles manual fire mode if player is driver or commander of vehicle.
 
Example:
<code>player action ["MANUALFIRE", vehicle player]</code>
 
 
== MARKENTITY ==
'''["MarkEntity", <target>]'''
 
 
== MOVETOCARGO / MOVETOCOMMANDER / MOVETODRIVER / MOVETOGUNNER / MOVETOPILOT ==
'''unitname action ["MOVETOCARGO", vehiclename]'''<br>
'''unitname action ["MOVETOCOMMANDER", vehiclename]'''<br>
'''unitname action ["MOVETODRIVER", vehiclename]'''<br>
'''unitname action ["MOVETOGUNNER", vehiclename]'''<br>
'''unitname action ["MOVETOPILOT", vehiclename]'''
 
Moves 'unitname' into cargo, commander, driver or gunner position.<br>
If that position was occupied before, the units will swap places.
 
Example:
<code>SoldierOne action ["MOVETODRIVER", CarOne]</code>
 
 
== NONE ==
'''["NONE", <target>]'''
 
 
== NVGOGGLES / NVGOGGLESOFF ==
'''unitName action ["NVGOGGLES", unitName2]'''<br>
'''unitName action ["NVGOGGLESOFF", unitName2]'''
 
unitName puts his night vision goggles on/off. UnitName2 is apparently not used, but action requires a two element array.
 
Example:
<code>player action ["NVGOGGLES",ANYTHING]</code>
 
 
== REARM / REFUEL / REPAIR ==
'''vehiclename action ["REARM", vehiclename2]'''
'''vehiclename action ["REFUEL", vehiclename2]'''
'''vehiclename action ["REPAIR", vehiclename2]'''
 
Vehiclename will receive weapons/fuel/repair from 'vehicle2' immediately and via teleportation.
 
Example:
<code>SoldierOne action ["REARM", TruckOne]</code>
 
 
== RETURNFLAG ==
'''unitname action ["RETURNFLAG", flagname]'''
 
Soldier 'unitname' returns 'flagname' to base.
 
Example:
<code>SoldierOne action ["RETURNFLAG", FlagOne]</code>
 
 
== SALUTE ==
'''unitOne action ["SALUTE", unitTwo]'''
 
UnitOne does nothing. UnitTwo salutes. If unitTwo is in safe or careless mode, salute will be held, otherwise it is only momentary.
 
Example:
<code>SoldierOne action ["SALUTE", SoldierOne]</code>
 
 
== SCUD LAUNCH / SCUD START / SCUD CANCEL ==
'''scudname action ["SCUD LAUNCH"]'''<br />
'''scudname action ["SCUD START"]'''<br />
'''scudname action ["SCUD CANCEL"]'''
 
Scudname launches or fires its missile.<br>
The launch process takes about 10.5 seconds. There is no Scud in ArmA.
 
Example:
<code>ScudOne action ["SCUD START"]</code>
 
 
== SETTIMER ==
'''unitOne action ["SETTIMER", unitTwo, <bombName>]'''
 
Soldier 'unitOne' plays the action animation. UnitTwo activates and adds thirty seconds to the timer for a satchel charge. Neither unit needs to be near the satchel.
Charge has to be places first using ''unitname Fire ["pipebombmuzzle", "pipebombmuzzle", "pipebomb"]'' command.
 
 
== SITDOWN ==
'''unitOne action ["SITDOWN", unitTwo]'''
 
Soldier 'unitTwo' sits down.<br>
Sitting position will only be held if unitTwo is in SAFE and CARELESS mode.
 
Example:
<code>SoldierOne action ["SITDOWN", SoldierOne]</code>
 
 
== STROKEFIST ==
'''unitname action ["STROKEFIST"]'''
 
Soldier 'unitname' performs a boxing animation. Apparently not working in ArmA.
 
Example:
<code>SoldierOne action ["STROKEFIST"]</code>
 
 
== STROKEGUN ==
'''unitname action ["STROKEGUN"]'''
 
Soldier 'unitname' performs a hitting animation with his weapon. Apparently not working in ArmA.
 
Example:
<code>SoldierOne action ["STROKEGUN"]</code>
 
 
== SWITCHWEAPON ==
'''unitOne action ["SWITCHWEAPON", <target unit>, <target unit>, <muzzle index>]'''
 
UnitOne plays the action animation. Target unit switches to the given muzzle index. Second element might be target vehicle, as seen with "USEWEAPON".
 
Example:
<code>unit2 action ["SWITCHWEAPON",unit1,unit1,7]</code>
 
 
== TAKEFLAG ==
'''unitname action ["TAKEFLAG", flag1]'''
 
Soldier 'unitname' takes control of 'flag1'. He must be close to the flagpole and it must belong to an enemy side.
 
Example:
<code>SoldierOne action ["TAKEFLAG", FlagOne]</code>
 
 
== TAKEMAGAZINE / TAKEWEAPON ==
'''unitname action ["TAKEMAGAZINE", (vehiclename or unitname), "MAGAZINENAME"]'''<br>
'''unitname action ["TAKEWEAPON", (vehiclename or unitname), "WEAPONNAME"]'''
 
Soldier 'unitname' takes one magazine/weapon of specified type ([[:Category: Weapons|see list]]) from  the ground (Weaponholder) or from named vehicle (ammo box, car, etc.).<br>
Transfer happens immediately and via teleportation. Unit1 plays pickup animation at its current position, no matter where 'weapon or magazine' is.
 
Example:
<code>SoldierOne action ["TAKEMAGAZINE", SoldierTwo, "RPGLAUNCHER"]</code>
 
 
== TAKEMINE ==
'''unitName action ["TAKEMINE", <target unit>]'''
 
UnitName will perform the action animation. The closest mine that is within two meters of the target unit will be placed into the target unit's inventory.
 
Example:
<code>unit1 action ["takeMine",unit2]</code>
 
 
== TALK ==
'''["TALK", <target>]'''
 
 
== TOUCHOFF ==
'''unitOne action ["TOUCHOFF", unitTwo]'''
 
Soldier 'unitOne' plays the action animation. UnitTwo's satchels are "touched off". UnitTwo must be within range (300m) of his satchels to touch them off.
 
Example:
<code>unitname action ["TOUCHOFF", unitname]</code>
 
 
== TURNIN / TURNOUT ==
'''unitName action ["TURNIN", vehicleName]'''<br>
'''unitName action ["TURNOUT", vehicleName]'''
 
Crew of 'vehiclename' turns in/out (gets in and out of hatches). UnitName must be a player in effective commander of vehicleName. AI will automatically turn in/out based on their current behaviour mode.
 
Examples:
<code>TankOne action ["TURNIN", TankOne]
player action ["TURNOUT,vehicle player]</code>
 
 
== USEMAGAZINE ==
'''["USEMAGAZINE", <target>, <magazine creator>, <magazine id>]'''
 
Expects a 5 element array?
 
 
== USER ==
'''unitName ["USER", <target unit>, <action index>]'''
 
Soldier 'unitName' does nothing. Executes the custom action with the given index of the the target unit. Indexes are based upon the order in which the actions are added to the unit. See [[addAction]].
 
Example:
<code>gameLogic action ["USER", player, 3]</code>
 
 
== USERTYPE ==
'''["USERTYPE", <target>, <action index>]'''
 
As of ArmA version 1.08, using this action type will cause ArmA to crash to desktop.
 
 
== USEWEAPON ==
'''unitOne ["USEWEAPON", <target vehicle>, <target unit>, <weapon index>]'''
 
Soldier 'unitOne' will play the action animation. Target unit will fire the specified unit's position in the target vehicle's (can be the unit itself) weapon mode index. The indexes seem to be based upon the order in which weapons are added to the unit/vehicle, with each weapon's muzzle's fire mode having an unique index. Weapons can be fired in this way from a not-readied position (eg, firing a rifle on a soldiers back). Pistols will fire from the current weapon's proxy. It can also be used to sound the horn on AI controlled vehicles.
 
Examples:
<code>gameLogic action ["useWeapon",unit1,unit1,16]
gameLogic action ["useWeapon",vehicle unit1,unit1,0]
gameLogic action ["useWeapon",myTank,gunner myTank,1]
gameLogic action ["useWeapon",myTank,commander myTank,0]</code>
 
 
== WEAPONINHAND / WEAPONONBACK ==
'''unitName action ["WEAPONINHAND",<target unit>]'''<br>
'''unitName action ["WEAPONONBACK",<target unit>]'''
 
Soldier 'unitName' does nothing, 'target unit' moves his weapon from/to the safety position (gun held across chest pointing at the ground).
Change is persistent with player, but AI units will change back to suit their current [[setBehaviour|behaviour mode]]. AI generally keep their rifles safe unless moving or targeting.
 
Example:
<code>SoldierOne action ["WEAPONONBACK", SoldierTwo]</code>
 
 
<!-- Here's the list with the correct syntaxes... everyone is called to update the stuff above!
 
["None", <target>]
["GetInCommander", <target>]
["GetInDriver", <target>]
["GetInGunner", <target>]
["GetInCargo", <target>]
["Heal", <target>]
["Repair", <target>]
["Refuel", <target>]
["Rearm", <target>]
["GetOut", <target>]
["LightOn", <target>]
["LightOff", <target>]
["EngineOn", <target>]
["EngineOff", <target>]
["SwitchWeapon", <target>, <weapon index>]
["UseWeapon", <target>, <weapon index>]
["LoadMagazine", <target>, <magazine creator>, <magazine id>, <weapon name>, <muzzle
name>]
["TakeWeapon", <target>, <weapon name>]
["TakeMagazine", <target>, <magazine type name>]
["TakeFlag", <target>]
["ReturnFlag", <target>]
["TurnIn", <target>]
["TurnOut", <target>]
["WeaponInHand", <target>, <weapon name>]
["WeaponOnBack", <target>, <weapon name>]
["SitDown", <target>]
["Land", <target>]
["CancelLand", <target>]
["Eject", <target>]
["MoveToDriver", <target>]
["MoveToGunner", <target>]
["MoveToCommander", <target>]
["MoveToCargo", <target>]
["HideBody", <target>]
["TouchOff", <target>]
["SetTimer", <target>]
["Deactivate", <target>]
["NVGoggles", <target>]
["ManualFire", <target>]
["AutoHover", <target>]
["StrokeFist", <target>]
["StrokeGun", <target>]
["LadderUp", <target>, <ladder index>, <ladder position>]
["LadderDown", <target>, <ladder index>, <ladder position>]
["LadderOnDown", <target>, <ladder index>, <ladder position>]
["LadderOnUp", <target>, <ladder index>, <ladder position>]
["LadderOff", <target>, <ladder index>]
["FireInflame", <target>]
["FirePutDown", <target>]
["LandGear", <target>]
["FlapsDown", <target>]
["FlapsUp", <target>]
["Salute", <target>]
["ScudLaunch", <target>]
["ScudStart", <target>]
["ScudCancel", <target>]
["User", <target>, <action index>]
["DropWeapon", <target>, <weapon name>]
["DropMagazine", <target>, <magazine type name>]
["UserType", <target>, <action index>]
["HandGunOn", <target>, <weapon name>]
["HandGunOff", <target>, <weapon name>]
["TakeMine", <target>]
["DeactivateMine", <target>]
["UseMagazine", <target>, <magazine creator>, <magazine id>]
["IngameMenu", <target>]
["CancelTakeFlag", <target>]
["CancelAction", <target>]
["MarkEntity", <target>]
["Talk", <target>]
["Diary", <target>]
 
-->
 
[[Category: Actions]]
[[Category: Scripting Topics]]

Revision as of 17:52, 21 May 2021

user:Ceeeb

Undocumented script commands - Arma 3 1.11.115723


All BIS functions - Arma 3 build 1.11.115723

Broken/Non-functional? Script Commands in ArmA 1.14

airportSide

assignToAirport

setAirportSide


Commands which local/global args/effects are not certain

setVehicleInit, clearVehicleInit and processInitCommands - topic at [OFPEC forums]


Arma 2 OA 1.62.98866 new commands

Arma 3 Alpha 0.53.103342 new commands