Difference between revisions of "Triggers"
(→List of all Actions: Corrected descriptions of airfield actions, they do work and are used in EC mode for airplanes and since you can apply multiplayer properties to a singleplayer mission that means you can use them in SP missions too) |
(→List of all Actions: Added more actions) |
||
Line 1,060: | Line 1,060: | ||
|<div class="mw-collapsible mw-collapsed" style="width:100%">Gets the maximum amount of players allowed in the game (set before mission is launched) and assigns it to a variable<div class="mw-collapsible-content"> | |<div class="mw-collapsible mw-collapsed" style="width:100%">Gets the maximum amount of players allowed in the game (set before mission is launched) and assigns it to a variable<div class="mw-collapsible-content"> | ||
'''Fields:''' | '''Fields:''' | ||
− | * input_Var: The | + | * input_Var: The integer variable to store the max number of players in |
</div></div> | </div></div> | ||
| MP Only | | MP Only | ||
| Yes | | Yes | ||
|- | |- | ||
− | | | + | | missionGetMaxRespawns |
|<div class="mw-collapsible mw-collapsed" style="width:100%">Gets the maximum number of respawns and assigns it to a variable (unclear if working currently)<div class="mw-collapsible-content"> | |<div class="mw-collapsible mw-collapsed" style="width:100%">Gets the maximum number of respawns and assigns it to a variable (unclear if working currently)<div class="mw-collapsible-content"> | ||
'''Fields:''' | '''Fields:''' | ||
Line 1,073: | Line 1,073: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | + | | missionHint | |
− | | | + | | This action does not appear to currently be functional |
− | |||
− | |||
− | |||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionEnableMapAutoScale |
− | | | + | | Enables auto scalling of the ingame map |
− | |||
− | |||
− | |||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionFailed |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Sets the mission as failed for the selected team, ends the battle<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * team: Which team fails the mission (the failing team) |
+ | * debtiefingTimer: If the timer option is disabled, amount of time in seconds to wait before sending the players back to the hangar | ||
+ | * timer: If a timer should be displayed until the mission ends and the player is returned to the hangar (if enabled it gives option to continue playing after the mission has ended, if disabled that option is not available) | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionKillEffects |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Removes effects from the selected areas<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * area: Select in which areas you want to remove all effects |
+ | * effect: If checked will remove all effects like smoke, fire or explosion | ||
+ | * wreckage: If checked will remove all killed (destroyed) units | ||
+ | * bullets: If checked will remove all fired shells and bullets | ||
+ | * rockets: If checked will remove all fired rockets and missiles | ||
+ | * bombs: If checked will remove all dropped bombs | ||
+ | * torpedoes: If checked will remove all launched torpedoes | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionForceMusic |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Forces playing selected sound track<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * evName: Write down which sound track do you want to play |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionForceUpdate |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Functionality unknown<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target_type: Select target type |
+ | * dt: unknown | ||
+ | * timeToUpdate: unknown | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionDisableRadiochat |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Disabled ingame radio messages (for example '''Cover me''' etc.)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * doDisable: If checked will disable all radio messages |
</div></div> | </div></div> | ||
− | | | + | | MP |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionMarkAsCaptureZone |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Creates capture zone in selected area<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Choose area for your capture zone |
+ | * iconIndex: Select letter for you capture zone (0 - '''A''', 1 - '''B''', '''2 - C''', 3 - '''D''') | ||
+ | * army: Select which team will own selected capture zone (0 - Neutral, 1 - A, 2 - B) | ||
+ | * capCaptureOnGround: If checked will allow capturing the zone by staying on the ground (disabled by default) | ||
+ | * playArfieldSound: Toggle "airfield captured" and "zone captured" sound upon capturing the zone | ||
+ | * canCaptureInAir: If checked will allow air units to capture the zone | ||
+ | * canCapturebyGm: If checked will allow ground units to capture the zone | ||
+ | * onlyPlayersCanCapture: If checked will allow players only to capture the zone | ||
+ | * zoneType: Select one of capture zone types (supremacy - team which has more units in the zone will start capturing it, without tickets bleeding and with capture end effect) | ||
+ | * silentMode: Remove any central screen messages and indication about capturing status and progress | ||
+ | * auto_smoke: If checked will automatically generate a smoke effect over the zone, it's painted in the owning team color | ||
+ | * timeMultiplier: Changes the required time to capture the zone | ||
+ | * disableZone: Disables capture zone | ||
+ | * airfield: Unknown | ||
+ | * createRespawnBaseFromAirfield: Unknown | ||
+ | * respawnBase: Creates respawn assigned to your capture zone (for example if team A captures it then it will be able to spawn there, the same happens when the other team will recapture it) | ||
+ | * name_for_respawn_base: Select name for respawn bases | ||
+ | * makeRespawnBaseAsDefault: Unknown | ||
+ | * captureNoPenalty: Disabled ticket drain when one of teams captures it | ||
+ | * markUnitPreset: Select if it's meant to be for tanks or ships (if for ships it will create buoys around it, if for tank it will show a circle on the ground) | ||
+ | * tags: Select which unit types should be able to capture it | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionMarkAsLandingZone |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * Unknown |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionMarkAsWaypoint |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Creates a circle (waypoint) in selected area<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select area for your waypoint |
+ | * visible: If checked will show a circle | ||
+ | * primary: If checked will show first circle type, if unchecked will show second circle type | ||
+ | * oriented: If checked the circle will always face you | ||
+ | * ignoreDifficulty: If checked will show circles in every gamemode (even SB) | ||
+ | * team: Select for which team circles should be visible | ||
+ | * scale: Select the size of circle | ||
+ | ''Note: waypoint will not disappear when you touch it, you need another action do disable it (by unchecking '''visible''' option)'' | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionMarkUnitsForStrike |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,161: | Line 1,192: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionMarkAsRespawnPoint |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Creates spawn zones in selected areas<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select area for your spawn zone |
+ | * object_type: unknown | ||
+ | * spawnArrangeTo: Will turn spawn icon and units to '''target''', instead using axis | ||
+ | * posRecalcDelay: If spawnArrangeTo active makes delay for icon possition and arrange changing | ||
+ | * useForTriggerFiltered: Will affect only those area that meet the ```Conditions``` | ||
+ | * loc_name: Select name for created spawn zone | ||
+ | * spawnEffect: Unknown | ||
+ | * isStrictSpawn: Players will respawn on areas in order in which they are listed in squad | ||
+ | * resetStrictSpawnIndex: Allow to reset spawn zones index for isStrictSpawn mode | ||
+ | * isAirfield: Will make the respawn point an airfield spawn, so you can spawn an aircraft there | ||
+ | * isUnit: Makes it possible to assign the spawn position to selected unit | ||
+ | * forceCreate: Will create a spawn even if there is already a spawn on this point or unit | ||
+ | * useExisting: Will use existing spawn if it already exists (with the same name) | ||
+ | * isIndividual: Unknown | ||
+ | * removeAreas: Unknown | ||
+ | * replaceAreas: Unknown (Needs to be ON if you use useExisting) | ||
+ | * canSpawnOnNeutral: Makes it possible to spawn units when it doesn't belong to any teams (team 0) | ||
+ | * showOnMap: If checked will show your spawn zones on the map | ||
+ | * team: Select which team will be able to use spawn zones | ||
+ | * awardByBodyHP: unknown | ||
+ | * disableAfter: Removes spawn zones after specified time (seconds) | ||
+ | * spawnOffset: Sets an offset of how many meters from the spawn's center the unit will spawn away from, allows making a few spawns in the same one area but with some shifting | ||
+ | * spawnOffsetSpace: Sets the offset type (in object coordinates or in world coordinates) | ||
+ | * tags: Select which unit types will be able to use spawn zones | ||
</div></div> | </div></div> | ||
− | | | + | | MP |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionMarkAsRearmZone |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Creates a rearm zone for airplanes (only for players)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * area_name: Area in which you will be able to rearm the airplane |
+ | * army: Sets which team will be able to rearm their units | ||
+ | * enabled: If checked will enable created rearm zone | ||
+ | * restoreWhenNoAmmoLeft: Rearms units that are out of ammo | ||
+ | * hideMarkers: Unknown | ||
+ | * tags: Set which unit types will be able to rearm in the rearm zone | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionMarkAsExitZone |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Creates a zone where the player can safely quit (bailout)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * area_name: Area in which you will be able to quit |
+ | * army: Sets which team will be able to quit in created area | ||
+ | * enabled: If checked will enable the exit zone | ||
+ | * tags: Sets which unit types will be able to use the exit zone | ||
</div></div> | </div></div> | ||
− | | | + | | MP |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionShowMapLine |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Shows a single line on the map<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * show: If checked will make the line appear on the map |
+ | * team: Select for which team the line will be visible | ||
+ | * areaNameFrom: Select starting point for the line | ||
+ | * areaNameTo: Select ending point for the line | ||
+ | * areaFromSide: Select from which side will the line appear (starting point) | ||
+ | * areaToSide: Select from which side will the line appear (ending point) | ||
+ | * colorCode: Set the color of created line | ||
+ | * transparency: Line transparency, 0 - visible line, 100 - invisible line | ||
+ | * scale: Set the size of created line | ||
+ | * simplification: Set how much curved it will be | ||
+ | * curve: If checked will make it curved | ||
+ | * arrow: If checked will create an arrow instead of a line | ||
+ | * clear: Removes the line | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionShowMapIcon |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Shows a single icon on the map<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * show: If checked will make the icon appear on the map |
+ | * team: Select for which team the icon will be visible | ||
+ | * iconName: Select which icon should be displayed ([https://drive.google.com/file/d/0B13lP7fCwX73dGpLM2pHZUVOdk0/view?usp=sharing full list of icons], example of use: ui/gameuiskin#objective_capturezone_next_default) | ||
+ | * areaName: Select in which area will the icon appear | ||
+ | * colorCode: Set the color of created icon | ||
+ | * scale: Set the size of created icon | ||
+ | * scaleWithMap: Unknown | ||
+ | * opacity: Icon transparency (?) | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionCreatePickUps |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Creates a small area where you can rearm your unit with an icon above it for ground units<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Area or unit in which it will be created |
+ | * preset: Set the type of rearm zone | ||
+ | * count: Unknown | ||
+ | * count_var: Unknown | ||
+ | * minDistanceFromBattleAreaEdge: Unknown | ||
</div></div> | </div></div> | ||
− | | | + | | MP |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionCreateRespawnBasesByTemplate |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
</div></div> | </div></div> | ||
− | | | + | | MP |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionPlayDialogue |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,225: | Line 1,310: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionSetBattleRoyaleArea |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
</div></div> | </div></div> | ||
− | | | + | | MP |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionSetBombingArea |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Add a bombing area in selected area<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select area for the bombing area |
+ | * army: Select to which team will it belong (0 - neutral, 1 - A, 2 - B) | ||
+ | * use_army_variable: Select to which team will it belong by using an integer variable | ||
+ | * var_army: Select the integer variable | ||
+ | * hp: Set the HP amount for the bombing area | ||
+ | * hpFireMult: Unknown | ||
+ | * firespeed: Unknown | ||
+ | * use_variable: Unknown | ||
+ | * airfield: Unknown | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionBombingAreaDamage |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Inflict some damage to selected bombing area<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select which bombing area should be damaged |
+ | * damageHP: Set by how much it should be damaged | ||
+ | * damageHP_var: Set by how much it should be damaged but by using a real variable | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionSetEndReason |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Set the reason of ending the mission<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * endReason: Select one of reasons for ending the mission |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionSetFade |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Add fading in or fading out of screen to the mission<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * mode: Select if you want to fade in or fade out |
+ | * color: Set the color | ||
+ | * time: Set how long will it take to fade | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionSetFailText |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Set the text after failing the mission<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * value: Set the text |
+ | * team: Select for which team it will be displayed | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionSetProperties |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * shouldShareTargets: Unknown |
+ | * shouldRespawnLower: Unknown | ||
+ | * ignoreGmObstaclesInMp: Unknown | ||
+ | * useDVOinCutscene: Unknown | ||
+ | * respawnAtBattleCenter: Unknown | ||
+ | * respawnUnderAlt: Unknown | ||
+ | * deathPenaltyMul: Set the multiplier of amount of tickets which will be removed after someone dies (by default it's set to 1, 1 death = 100 tickets) | ||
+ | * deathPenaltyMulVar: Set the multiplier of amount of tickets which will be removed after someone dies using a real variable | ||
+ | * scoreLimit: Set the amount of tickets for the mission | ||
+ | * scoreLimitVar: Set the amount of tickets for the mission using integer variable | ||
+ | * ctaCaptureZoneEqualPenaltyMult: Set the multiplier of amount of tickets which will be drained after someone captures the zone (?) | ||
+ | * ctaCaptureZoneDiffPenaltyExp: Unknown | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionSetTimeIndicator |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Show a time indicator in the bottom left corner<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * var: Integer variable used for showing the indicator |
+ | * team: Select for which team it should be displayed | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionSetTimeSpeed |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Changes the mission time speed<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * speed: Set the time multiplier (1.0 - default, 9.99 - maximum) |
+ | * realTimeTriggers: If checked then triggers will use real time instead of mission time | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | missionSetTargetsIndicator |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Shows icons with a number of remaining units in the bottom left corner<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select which units will be displayed (their number) |
+ | * target_type: Select the state of showed units | ||
+ | * var: Overwrite current settings and display a selected integer number instead | ||
+ | * delta: Unknown | ||
+ | * icon: Select one if icons which will be shown next to the number | ||
+ | * icon_army: Select the color of the shown icon (red, blue) | ||
+ | * set: If checked will show the number and the icon | ||
+ | * team: Select for which team it will be displayed | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | MissionStartCutscene |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,313: | Line 1,431: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | MissionStartGuiScene |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * Unknown |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | MissionStopCutscene |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Stops the cutscene started by using '''MissionStartCutscene''' action<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * endFade: Select the time (start / stop) |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionStopSpeech |
− | | | + | | Stops any ongoing dialogs |
− | |||
− | |||
− | |||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | missionControlJIP |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Enable or disable join in pogress function<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * enable: If checked will enable JIP |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | moAddMissionObjective |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Adds a new objective (if it haven't been shown yet)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select objective |
+ | * unit_or_area: Unknown | ||
+ | * object_type: Unknown | ||
+ | * object_var_comp_op: Unknown | ||
+ | * object_var_name: Unknown | ||
+ | * object_var_value: Unknown | ||
+ | * input_var: Unknown | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | moSetObjectiveStatus |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Change the status of selected objective<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select objective |
+ | * status: Select status (0 - ?, 1 - ?, 2 - completed, 3 - failed) | ||
+ | * extendedEnding: Show objective text for task completing or failing message | ||
+ | * team: Select which team will complete or fail it | ||
+ | * unit_or_area: Unknown | ||
+ | * object_type: Unknown | ||
+ | * object_var_comp_op: Unknown | ||
+ | * object_var_name: Unknown | ||
+ | * object_var_value: Unknown | ||
+ | * input_var: Unknown | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | objectGroupSetAirfield |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * army: Unknown |
+ | * target: Unknown | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | playerControls |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Enables or Disables selected control keys<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * control: Set which control key should be enabled or disabled (You can find all of them [https://wiki.warthunder.com/CDK_Reference here]) |
+ | * setStatus: Set the status (disable or enable) | ||
+ | * team: Select which team should be affected | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
− | | | + | | Yes |
|- | |- | ||
− | | | + | | playerEmulateShortcut |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Presses selected control key<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * control: Select which control key should be pressed |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
− | | | + | | Yes |
|- | |- | ||
− | | | + | | playerForceMoveToRespawnScreen |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Unknown |
+ | * target_type: Unknown | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | playerLockTarget |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Locks selected target (it's only related to the UI, not missiles)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select which unit should be locked |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | playerOptions |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * currentView: Unknown |
+ | * currentMode: Unknown | ||
+ | * currentMissile: Doesn't work | ||
+ | * respawnHydras: Doesn't work | ||
+ | * respawnHellfires: Doesn't work | ||
+ | * respawnStingers: Doesn't work | ||
+ | * respawnBullets: Doesn't work | ||
+ | * aiGunnerEnabled: If unchecked will disable AI gunners | ||
+ | * stateAIGun: Unknown | ||
+ | * allowAutoTargeting: Unknown | ||
+ | * tankVRCamera: Unknown | ||
+ | * tankVRCameraGunnerId: Unknown | ||
+ | * tankVRCameraOffset: Unknown | ||
+ | * allowBailout: If unchecked won't allow the player to jump out of his airplane | ||
+ | * team: Unknown | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
− | | | + | | Yes |
|- | |- | ||
− | | | + | | playHint |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Shows a message on screen<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * hintType: Select type of showed message ('''standard''' - on the center, '''tutorialHint''' - special, can be used to even show videos and custom fonts, mainly used in War Thunder tutorial missions, '''bottom''' - on the bottom) |
+ | * name: Set the text which will be displayed (you assign it to text in csv. files, example - ''mission_hint_01'' showing ''Fly to the A point'' or string variables by adding '''@''' before text, example - ''@mission_hint_01'' showing ''Drive to the A point'') | ||
+ | * var_name: Use string variables to show the text | ||
+ | * item: Show the control key (used in tutorials for pressing selected control keys) | ||
+ | * action: Set the state or type of the message ('''show''' - show it on screen, '''hide''' - hide it, '''warning''' - change it's color to red) | ||
+ | * shouldBlink: If checked will make the message blink | ||
+ | * shouldFadeOut: Unknown | ||
+ | * isOverFade: Unknown | ||
+ | * warningTime: Sets for how long will be displayed the message if you set it's '''action''' to '''warning''' | ||
+ | * time: Sets for how long will be displayed the message | ||
+ | * priority: Sets priority of the message (message with lower (for example 0) priority will make the other one with higher (for example 5) disappear) | ||
+ | * target: Unknown | ||
+ | * target_type: Unknown | ||
+ | * object_var_name: Unknown | ||
+ | * object_var_comp_op: Unknown | ||
+ | * object_var_value: Unknown | ||
+ | * useForTriggerFiltered: Will affect only those units that meet the ```Conditions``` | ||
+ | * team: Select for which team it should be displayed | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | playerToggleHero |
− | | | + | | This action does not appear to currently be functional |
− | + | | SP | |
− | + | | No | |
− | |||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | playSound |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Will play a selected sound<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * name: Directory path of sound file that you want to play |
+ | * loop: If checked will make the sound play again when it ends | ||
+ | * start: If checked will start playing the sound (unchecked will stop) | ||
+ | * team: Select which team will be able to hear it | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | raceRangeEnable |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * object: Select the unit |
+ | * object_type: Selec the unit type | ||
+ | * object_var_name: Unknown | ||
+ | * object_var_comp_op: Unknown | ||
+ | * object_var_value: Unknown | ||
+ | * from: Starting area name (for example waypoint_01) | ||
+ | * to: Ending area name (for example waypoint_07) | ||
+ | * enable: Unknown | ||
+ | * all: Unknown | ||
+ | * useForTriggerFiltered: Will affect only those units that meet the ```Conditions``` | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | spawnOnAirfield |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Spawn selected units on the airfield (on the ground)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * runwayName: Select the airfield object (objectGroups starting with '''dynaf_''') or area |
+ | * objects: Select which air units should be spawned | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
− | | | + | | Yes |
|- | |- | ||
− | | | + | | systemLog |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown functionality<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * value: Unknown |
+ | * logtype: Unknown | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | systemStats |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown functionality<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * value: Unknown |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | systemCommand |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown functionality<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * value: Unknown |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | systemShakeCamera |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown functionality<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * value: Unknown |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | systemPlayRumble |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown functionality<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * value: Unknown |
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | triggerActivate |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Activates selected trigger<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select the trigger |
+ | * activate_type: Select if it should check or ignore conditions | ||
+ | * check_trigger_status: Unknown | ||
+ | * after_activation: Select what should happen to the trigger when it completes it's task (disable, enable, doNotChange) | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | triggerDisable |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Disables selected triggers<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select the trigger |
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | triggerEnable |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Enables selected triggers<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select the trigger |
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | tutorialArtilleryShootAtPos |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,521: | Line 1,700: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | tutorialArtilleryShowWarning |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,529: | Line 1,708: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | tacticalMapForceZoom |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,537: | Line 1,716: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | tacticalMapSetIconProperty |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,545: | Line 1,724: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | unitBlinkPart |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Shows selected part of the ground unit (can be used to show for example tank crew position)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select the ground unit |
+ | * blink: If checked will make selected part blink | ||
+ | * part: Select one of parts which should be displayed | ||
+ | * time: Set for how long it will be visible | ||
+ | * freq: Set frequency of blinking | ||
+ | * color: Set the color of showed part | ||
</div></div> | </div></div> | ||
− | | | + | | SP |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | unitDamage |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Damage or destroy selected unit<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select the unit |
+ | * randomTargetsCount: If set to 1 will give the kill to the last person who managed to damage the '''target''' | ||
+ | * partName: Select which part should be damaged | ||
+ | * power: Set how much it should be damaged | ||
+ | * fireAmmo: Set the target one fire (?) | ||
+ | * explodeAmmo: Make all ammunition explode (often results in cooking off and it's turret flying away) | ||
+ | * doExplosion: Will make the selected unit explode | ||
+ | * useForTriggerFiltered: Will affect only those units that meet the ```Conditions``` | ||
+ | * delayForObjects: Set the random time delay in seconds (for example - 1, 5, so it will take 1 to 5 seconds to for example destroy the unit) | ||
+ | * target_type: Set which unit types this action should affect | ||
+ | * useEffect: If checked will spawn additional smoke/fire effect | ||
+ | * countEffects: Unknown | ||
+ | * delay: Unknown | ||
+ | * offset: Unknown | ||
+ | * radiusOffset: Unknown | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | unitDestroyMissile |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown functionality<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Unknown |
+ | * radius: Unknown | ||
+ | * hellfire_chance: Unknown | ||
+ | * stinger_chance: Unknown | ||
+ | * hydra_chance: Unknown | ||
+ | * timeBetweenRockets: Unknown | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | unitDoBailout |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Select which air units should bailout (doesn't spawn any effects and doesn't destroy the airplane)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * object: Select the air unit |
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | UnitDropAmmo |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Makes the unit drop all of it's bombs, fire all rockets and set it's ammunition amount to 0<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * object: Select which unit should loose all of it's ammunition |
+ | * useForTriggerFiltered: Will affect only those units that meet the ```Conditions``` | ||
+ | * triggerGround: Select which trigger group should the unit loose (primary, secondary, coaxial, machinegun, special, torpedoes) | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | unitFire |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Unknown functionality (probably doesn't work)<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * objects: Unknown |
+ | * target: Unknown | ||
+ | * fireType: Unknown | ||
+ | * trigger: Unknown | ||
+ | * ignoreFlare: Unknown | ||
+ | * ignoreEnvCollision: Unknown | ||
</div></div> | </div></div> | ||
| Unknown | | Unknown | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | unitForceRearmSpeed |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Set the rearm speed multiplier for Arcade Battles midair reload mechanics<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * target: Select which air units it should affect |
+ | * rearmSpeed: Reload speed multiplier | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | unitGetDistanceToVar |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,609: | Line 1,820: | ||
| Unknown | | Unknown | ||
|- | |- | ||
− | | | + | | unitGetRandomNameFromSquad |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Saves the name of a squad or specific unit from it in a string variable<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * string_var: Select in which variable will be saved the name |
+ | * squad: Select which squad you want to check | ||
+ | * getSquadName: If checked will save the squad name instead of unit name | ||
+ | * object_type: Select which unit type it should check | ||
+ | * check_objects: Select if you want to check all or only specific objects (it's the best to set it to '''any''') | ||
+ | * useForTriggerFiltered: Will check only those units that meet the ```Conditions``` | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | unitLandOnAirfield |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Orders the AI unit to land on the airfield or water<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * runwayName: Select on which you want the AI to land |
+ | * objects: Select which AI units you want to land | ||
+ | * useForTriggerFiltered: Will affect only those units that meet the ```Conditions``` | ||
+ | * onWater: Check it if you want the AI to land on water | ||
+ | * rearmOnAirield: If checked will rearm the AI on the airfield | ||
+ | * disappearAfterLanding: If checked will make the AI disappear (hide, '''put to sleep''') | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | | unitLoadBehTree |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Loads specific AI behaviour presets<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
− | * | + | * objects: Select what unit you want to change (it's AI behaviour preset) |
+ | * loadtype: Select if you want to load only a single node (a single maneuver) or the entire tree (an entire preset) | ||
+ | * name: Set the name of node or tree | ||
+ | * playerAutopilot: If checked will make the player's unit be controlled by the AI | ||
+ | |||
+ | Available '''trees''' (AI behaviour presets): | ||
+ | :* missionFighter | ||
+ | :* missionBomber | ||
+ | :* missionAssault | ||
+ | :* missionTransport | ||
+ | :* missionKamikaze | ||
+ | :* missionFlight | ||
+ | :* missionRacer | ||
+ | :* missionHitThePoint | ||
+ | :* missionAssault_torpedo_all | ||
+ | :* missionAssaultT | ||
+ | :* cutsceneFighterVsFighter | ||
+ | :* cutsceneFighterVsBomber | ||
+ | :* cutsceneDiveBombTarget | ||
+ | :* testFighterVsFighter | ||
+ | :* testFighterVsFighterDM | ||
+ | :* missionTargetEliminator | ||
+ | :* collisionAvoidance | ||
+ | :* coopBot | ||
+ | :* coopBotAttempt | ||
+ | :* coopBomberAttempt | ||
+ | :* coopBomber | ||
+ | :* leftTurn | ||
+ | :* rightTurn | ||
+ | :* instructorBeh | ||
+ | :* commonBomber | ||
+ | :* commonFighter | ||
+ | :* testAI | ||
+ | :* diveBomber | ||
+ | :* defaultCTABot | ||
+ | :* assaultBot | ||
+ | :* captureBot | ||
+ | :* assistCaptureBot | ||
+ | :* defenderBot | ||
+ | :* seekerBot | ||
+ | :* idleBot | ||
+ | :* rearmingBot | ||
+ | :* tankBot | ||
+ | :* shipBot | ||
+ | :* HLBCapture | ||
+ | |||
+ | Available '''nodes''': | ||
+ | :* | ||
</div></div> | </div></div> | ||
− | | | + | | Both |
− | | | + | | Yes |
|- | |- | ||
− | | | + | <!--| unitRespawn |
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Respawn the unit in selected area<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,642: | Line 1,910: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,650: | Line 1,918: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,658: | Line 1,926: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,666: | Line 1,934: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,674: | Line 1,942: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,682: | Line 1,950: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,690: | Line 1,958: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,698: | Line 1,966: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,706: | Line 1,974: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,714: | Line 1,982: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,722: | Line 1,990: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,730: | Line 1,998: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,738: | Line 2,006: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,746: | Line 2,014: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,754: | Line 2,022: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,762: | Line 2,030: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,770: | Line 2,038: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,778: | Line 2,046: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,786: | Line 2,054: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,794: | Line 2,062: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,802: | Line 2,070: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,810: | Line 2,078: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,818: | Line 2,086: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,826: | Line 2,094: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,834: | Line 2,102: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,842: | Line 2,110: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,850: | Line 2,118: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,858: | Line 2,126: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,866: | Line 2,134: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,874: | Line 2,142: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,882: | Line 2,150: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,890: | Line 2,158: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,898: | Line 2,166: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,906: | Line 2,174: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,914: | Line 2,182: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,922: | Line 2,190: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,930: | Line 2,198: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,938: | Line 2,206: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,946: | Line 2,214: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,954: | Line 2,222: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,962: | Line 2,230: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,970: | Line 2,238: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,978: | Line 2,246: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,986: | Line 2,254: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 1,994: | Line 2,262: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,002: | Line 2,270: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,010: | Line 2,278: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,018: | Line 2,286: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,026: | Line 2,294: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,034: | Line 2,302: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,042: | Line 2,310: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,050: | Line 2,318: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,058: | Line 2,326: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,066: | Line 2,334: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,074: | Line 2,342: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,082: | Line 2,350: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,090: | Line 2,358: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,098: | Line 2,366: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,106: | Line 2,374: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,114: | Line 2,382: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,122: | Line 2,390: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,130: | Line 2,398: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,138: | Line 2,406: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder | ||
Line 2,146: | Line 2,414: | ||
|- | |- | ||
| placeholder | | placeholder | ||
− | |<div class="mw-collapsible mw- | + | |<div class="mw-collapsible mw-collapsed" style="width:100%">Placeholder<div class="mw-collapsible-content"> |
'''Fields:''' | '''Fields:''' | ||
* placeholder | * placeholder |
Revision as of 13:43, 24 October 2019
Triggers are an integral part of anything but the most basic of User Missions. This article cover the basic operation of triggers and what each available component does.
Contents
Overview
Triggers are a feature of the Mission Editor which allow for vastly more complicated missions to be be created, they can used for scripted events, as well as for enabling more advanced mission features such as capture points, spawn points, visible way-points, and much more. As well as being useful for making more advanced single player missions an understanding of triggers is a necessity for creating multi-player user missions, as such missions require triggers in order to function.
Triggers consist of three main components (also known as elements): Events, Conditions, and Actions. An event is what causes the trigger to executed, for example the "periodicEvent" event will execute the trigger once every user defined period of time (for example once a second, or once every 15 seconds). Once a trigger is executed a condition determines whether the trigger should continue on to carry out the actions assigned to it, or should not do anything / carry out any else actions assigned to it; for example the "UnitInArea" condition will carry out the triggers actions if the specified unit is within the specified area at the moment the trigger is executed. Finally actions define what the trigger actually does once it is executed and the condition is met; for example "playHint" displays a message on the user's screen and "unitDamage" can be used to damage part of, or completely destroy a unit. Actions can also can also be assigned as "elseActions" which instead of being carried out when the condition is met, will be carried out when the trigger is executed, but the condition is not met. If there are no elseActions then the trigger will do nothing when the condition is not met. Triggers can be assigned multiple event, conditions and actions. If a trigger is created with no conditions then it will carry out its actions whenever it is executed, this is useful for triggers which always need to run, for example a trigger to draw various lines on the mini-map at the start of the mission. Be aware that if a trigger is created without conditions and "enableAfterComplete" is ticked then the trigger will run for ever, repeatedly every time tis event occurs (for a default trigger this means it would carry out its actions once a second, every second for the entirety of the mission, unless it is disabled by another trigger).
Creating Triggers
The Basics
In order to make a trigger you first need to display the trigger window in the mission editor, this can be done by clicking the "Properties and Triggers / Mission Obj. info" button (looks like ) on the mission editor bar at the top of the editor. This will open the "Triggers / Mission Obj. Info" window (from here on known as the "trigger window") at the right hand edge of your screen, this window is where you can edit triggers and mission objectives (for the time being it will be blank). Now in the properties window (where your mission settings are) scroll down until you reach the Triggers / Mission Ob. Navigation section and expand it if necessary.
This window is where all the triggers and objectives of your mission will be stored, organized under the (currently empty) "Triggers" and "Mission Objectives" folders. There are a number of buttons at the bottom of this section:
Trigger This button will create a new trigger, either inside the root "Triggers" folder inside the currently selected category.
Category This button will create a new category, either inside the root "Triggers" folder inside the currently selected category. Categories are essentially folders for triggers, functionally they serve no purpose to the mission and exist in order to allow you to organise your triggers. Categories can be created inside other categories and form folder trees which can be collapsed in order to hide triggers not currently of interest (collapsing categories will not disable or remove their contents). If a category is disabled all of its contents (including stuff in sub-categories) will be disabled.
Mission Obj This button will create a mission objective in the "Mission Objectives" folder. Mission objectives are described in other guides.
Copy and Paste The Copy button will copy the selected trigger of mission objective. If a mission objective is selected and the copy button is pressed then a duplicate mission objective will be created. If a trigger is selected when the copy button is pressed then the Paste button will become available this allows you to select a different category for the trigger to be pasted into, once the destination is selected pressing the Paste button will create a duplicate of the copied trigger there.
Del This button will delete the selected trigger or mission objective.
Up and Down These buttons will move the selected trigger, category or mission objective up or down in the list, this has no effect on the operation of the mission and is used in order to keep the lists organised.
In order to create your first trigger click the "Trigger" button, this will create your first trigger "Trigger_01" and display it in the trigger window. What you see will look similar to the image to the right (you will only have "Trigger_01" whereas the image has several other triggers, categories and objectives for demonstration purposes). At the top of the window is the triggers name, this can be changed to whatever you want (however should not the the same as any other triggers), it is best to pick a descriptive name such as "Setup" or "Teleport Player" to keep it clear what everything does, however this is completely optional. The next option is an "Enabled" check box by default all triggers start enabled, disabling a trigger effective stops it's event from functioning so it will never be executed; triggers can be enabled and disabled during the mission by other triggers. The next field is a comments box, this has no effect on the trigger's operation and is just for documenting what it does, it is completely optional.
Next is the trigger properties section this contains the following fields:
actionsType By default this is set to "PERFORM_ONE_BY_ONE" meaning the actions will be completed in the order they are present in the actions list of the trigger. This option can be changed to "PERFORM_ALL" where all actions are completed at the same time.
conditionsType By default this is set to "ALL", but can be changed to "ANY". For triggers with multiple conditions this determines whether all of the conditions need to be met in order for the trigger to carry out its actions, or if any of the conditions being me is enough for the trigger to carry out it's action.
enableAfterComplete By default this is set unchecked, meaning that once the trigger has carried out its actions it becomes disabled, if it is checked then the trigger will carry out its actions every time it is executed and the condition is met, instead of just the first time.
Now we have reached the "Elements" section, and below it the "Element" section (Gaijin could have come up with better names) this is where you build your trigger; the "Elements" section is where you create the events, conditions, actions, and else actions of your trigger, while the "Element" section is where you modify the properties of each component. The elements area consists of a window with four folders where the contents of your trigger will be displayed, and underneath a collection of buttons:
Event, Condition, Action and ElseAction These buttons will display a new window with a list off all the available events, conditions and actions, depending on what button is pressed (the Action and elseAction buttons display the same list of actions, but will insert them into either the Actions or ElseActions area. There is a search box which will find the first item matching the phrase entered, it will only return the first entry in the list however, there may be more matches further down. To inset a component select it from the list and click "Ok".
Up and Down These buttons will move the selected element up and down in the list. Changing the order of components only has an affect on the Actions and ElseActions area where the actions will be carried out in the order they appear in the list, if actionsType is set to "PERFORM_ONE_BY_ONE" (the default setting) in the trigger properties area.
Delete This button will delete the selected trigger component.
Copy' This will copy the selected trigger component, multiple components can be coped from different triggers (or the same one) without needing to press "Paste ..." each time.
Paste ... This button will display a list of all the copied components (grouped by type) and allow you to select one to paste into the currently selected trigger.
The "Element" section at the bottom will update with different fields and buttons depending on the currently selected trigger component.
Worked Example Trigger
In this example we are going to make a simple trigger which will teleport the player to a new location when the player enters a specific area. For this example the player unit will be in a tank (placed as "tankModels" in the editor) called "Player", there will be an area called "Teleport_Area" and another called "Destination_Area" (exact setup can be seen in the image to the right). When the player tank enters "Teleport_Area" we want it to be teleported to "Destination_Area".
To follow along with this example create a "tankModels" unit type, assign it as the player's vehicle, call it "Player" and set it to a tank you own. Create two box areas for the teleport and destination areas (called "Teleport_Area" and "Destination_Area"). If not already present from reading the previous section create a new trigger.
You should now have a fresh trigger (likely called Trigger_01 or similar), we will begin by renaming the trigger to something more descriptive so if we come back to the mission later it is nice and clear what it does; to do this select the name field, delete the old name and type a new name for the trigger, for example "Teleport Player". We will leave leave most of the properties as default, however we will tick "enableAfterComplete" as we want the player to be teleported every time they enter the area, not just the first time. We will then select the "periodicEvent" event and set its time field in the Element area to 0.1, this means the trigger will be executed and check if the player is in the area every 0.1 seconds.
Next we will click the "Condition" button and look for the "unitWhenInArea" condition and insert it into the trigger, this condition allows us to check whether a chosen unit is within a specified area at the moment the trigger is executed. When the condition is added it should automatically become selected in the "Element" section, scroll down in the trigger window so that all of the settings can be seen. The "object" field is what the condition is going to act on, in our case we want to check the player's unit to see if it is in the area, so we will set this field to the player unit (in this example called "Player"); to do this simply click the field and select the player's unit from the list of available units. The "+ object" button will create another object field, allowing you to check if multiple units are in the area. The target field in this case refers to what area we are checking the unit is in, so we will set this to "Teleport_Area". The "+ target" button does the same thing for targets that the "+ objects" button does for objects. We will leave all other settings at defaults, but for future reference here is what they do:
Math allows you to specify how the unit is checked to be in the area; by default it is set to "3D" so the unit must we within the area, if it is set to 2D then along as the unit is within the 2D footprint of the area it doesn't matter how high up the unit is (this setting is mainly useful for triggers aimed at aircraft). This field can also be set to "notNear2D" or "notNear3D", these work the same as "2D" and "3D", but will activate the trigger when the unit is not within the area, instead of when the unit is within the area. The "object_type" and "unit_type_ex" settings allow you to specify criteria about the unit, by default it is set to "isAlive" which means the condition will be met as long as the unit is alive while it is in the area, this can be changed to other settings such as "isDamaged" so the trigger will only activate if the player is both within the area and has damage to their vehicle. Finally check_objects comes in useful if you have specified multiple units to check, it allows you to say whether the trigger should activate if any of the units are in the area, or if all of the specified units must be in the area for the trigger to carry out its actions. This also works if a squad has been set as the object instead of an individual unit, it let you choose whether a single unit from the squad or the entire squad is required to be in the area.
Next click the "Action" button and from the list select "unitMoveTo" and insert it into your trigger. This action can be used to do various things relating to unit movement (such as telling AI to move to a certain place in a certain way), but we will use it for its ability to teleport units, in this case the player. Once inserted set the object to the player's unit and target to "Destination_Area", then click the "+ move_type" button to add the move_type field to the trigger and set the field to "teleport". There are a lot of other fields here which will be useful for when you make more advanced missions, but they are outside the scope of this basic guide.
Our trigger is now complete; every 0.1 seconds (10 times a second) it will check if the player's unit is within the "Teleport_Area" area and if it is it will teleport the player to the "Destination_Area" area, if the player is not in the teleport area it won't do anything. Now finish off the mission (give it a name, assign the player unit as the player, set the map to the correct map, that sort of stuff) and test it out in game.
List of all Events
For each item in the table click [Expand] for more details on implementation and available settings.
Event | Description | Available in SP or MP? |
---|---|---|
periodicEvent | Will execute the trigger repeatedly at a user defined interval
Fields:
|
Both |
timeExpires | Will execute the trigger once after a set number of seconds from mission start
Fields:
|
Both |
initMission | Trigger will be executed once at the start of the mission | Both |
List of all Conditions
For each item in the table click [Expand] for more details on implementation and available settings. Note: This section lists the intended functionality (where known) for each condition, some (a minority) may be legacy features, or just broken, and may not work properly if at all. "SP only", "MP only", "Both" and "Unknown" show whether the trigger component only works in Single-player missions, only works in Multi-player missions, works in both types of missions, or that the component is currently non-function / not enough is known about it to say.
Condition | Description | Available in SP or MP? |
---|---|---|
airfieldIsModuleHP | Condition does not appear to currently be functional | Unknown |
gameWhenDifficulty | Will check what the current game-mode is (AB, RB, SB or custom)
Fields:
|
Both |
gameWhenControlMode | Will check what the control mode the user has selected (mouse-aim, etc.)
Fields:
|
SP only |
gameWhenControlWarning | Condition does not appear to currently be functional | Unknown |
gameWhenHintIsNotActive | Will check if a hint is currently being displayed on the UI | Unknown |
gameWhenManualGear | Will activate trigger if the user currently has "Autocontrol of landing gear" turned off in game controls | SP only |
gameWhenObjectivesNotDisplayed | Will activate trigger if no mission objective is currently being displayed on screen | Unknown |
infantryTroopWhenKilledByPlayerMatches | Will check if the number of infantry units killed by the player matches a specified value
Fields:
|
SP only |
isAllPlayersInGame | Will activate trigger if all the players are in the game | MP only |
misObjStatus | Will activate trigger if a specified objective's current status matches a specified value
Fields:
|
Both |
missionNamePostfix | Condition does not appear to currently be functional | Unknown |
missionIsBombingAreaDestroyed | Will activate the trigger if the specified bombing area is destroyed
Fields:
|
Both |
missionIsLZCaptured | Will activate trigger if a specified landing zone is captured by a specified team (unclear if / how LZs currently work)
Fields:
|
Unknown |
missionIsRespawnAllowed | Checks if respawns are allowed in mission settings | Unknown |
missionIsSuccess | Activates trigger if mission is completed successfully | Both |
missionIsZoneCaptured | Will activate trigger if a specified zone is captured by a specified team
It may be possible to make this trigger work in single player, but requires certain mission settings to be set. Fields:
|
MP only |
missionWhenAdditionalTime | Will activate trigger if a specified amount of time has passed since the successful completion of the mission
When a (single player) mission is marked as successfully completed the player has the option to return to the hangar or continue playng, this condition will activate the trigger once a specified amount of time has passed from the completion of the mission, if the player chooses to continue playing. Fields:
|
SP only |
missionWhenInBattleArea | Will activate the trigger if any units are within the defined battle area
Fields:
|
Both |
missionWhenTime | Will activate the trigger if a specified amount of time has passed since the start of the mission
Fields:
|
Both |
objectExists | Functionality unknown | Unknown |
objGroupWhenStatus | Functionality unknown | Unknown |
playersDistanceBetween | Will activate the trigger if the player is within a set distance of a set object
Fields:
|
Both |
playersWhenEnemyNear | Will activate the trigger if the player is within a set distance of an enemy
Fields:
|
Both |
playersWhenInArea | Will activate the trigger if the player is within a set area
Fields:
|
Both |
playerWhenSpawn | Will activate when the player spawns
This condition is best used with the "useForTriggerFiltered" option on actions to allow the trigger to act only on units which have just spawned. Fields:
|
Both |
playersWhenOnLZ | Checks if a player is within the landing zone (unclear if / how LZs currently work)
It is currently unclear if this trigger works Fields:
|
Unknown |
playersWhenReachHeight | Checks if a player has reached a specified altitude
Fields:
|
Both |
playersWhenStatus | Checks the status of the player
Fields:
|
Both |
playersWhenManeuver | Checks what maneuver the player is carrying out
Fields:
|
Unknown |
playersWhenOptions | Checks what options the player is currently has using
This condition has a list of check boxes and drop downs to let you act on the players settings such as if they are currently in cockpit mode, currently zoomed in, are using a touch screen to play, are using mouse aim, are using a joystick, etc. Some or all settings may not work and some such as "currentMissileType" are left over from previous Gaijin games on the same engine and not relevant to War Thunder. |
Unknown |
playersWhenOrientation | Checks what orientation the player is currently at
Fields:
|
Unknown |
playersWhenCameraState | Checks what orientation the of the camera (in free look mode)
Fields:
|
Unknown |
playersWhenCursorIn | Functionality unknown
This appears to relate to how the mouse cursor is being used (mouse-aim, on-screen joystick, control of tank cross-hair etc.), but no functionality has been established after testing. |
Unknown |
playersWhenCurrentBullet | Checks which ammo slot the player has selected and activate trigger if it matches set value
As this condition only is believed to only work in single player, this effectively lets you check what ammo type the user is using as in single player missions you assign ammo to the player, so know what slot each shell is in. Fields:
|
Unknown |
triggerStatus | Checks the status of another trigger and activates trigger if it matches a set value
Fields:
|
Both |
unitDistanceBetween | Will activate the trigger if a unit is within a set distance of a set object
Fields:
|
Both |
unitFuelLess | Activates the trigger when the specified units remaining fuel is below a specified amount (may be bugged / non-functional)
Fields:
|
Unknown |
unitAnyLess | Activates trigger if at least one unit from those specified does not match the given status
Fields:
|
Both |
unitWhenControls | Activates trigger if the units control positions match a given value
Fields:
|
Both |
unitWhenCountMatches | Activates trigger when the number of units meeting the condition is equal to the number set
All units assigned under the object field of this condition are counted together, including units which have had their count increased. For example if two units have been assigned and one has had its count increased to 5 then the trigger will consider the status of all 5 sub units and the other unit, for a total of 6. If the object_type is set to isAlive with the function less than 3 then the death of any four units will activate the trigger. Fields:
|
Both |
unitWhenEnemyNear | Will activate the trigger if the specified unit is within a set distance of an enemy
Fields:
|
Both |
unitWhenInArea | Will activate the trigger if the specified unit is within the specified area
Fields:
|
Both |
unitWhenOnLZ | Checks if a unit is within the landing zone (unclear if / how LZs currently work)
It is currently unclear if this trigger works Fields:
|
Unknown |
unitWhenPartHp | Checks the health of a part of a unit
Using this trigger requires knowing the names of different parts of a unit's damage model, finding this information is up to you. Fields:
|
Unknown |
unitWhenProperties | Activates the trigger if a unit's current properties match specified values
Fields:
|
Both |
unitWhenReachHeight | Checks if the specified unit has reached a specified altitude
Fields:
|
Both |
unitWhenStatus | Checks the status of the specified unit
Fields:
|
Both |
unitCheckTag | Checks the tags of a specified unit
Each unit in the game has various tags assigned to it which describe it, such as what unit type it is (fighter, bomber, tank, ship, etc.) and what country it is. Working out what the tags are for a specific unit has is a fairly easy task and is done by just thinking about the unit, e.g. a spitfire will probably have the "type_fighter" and "country_britain" tags. Fields:
|
Both |
unitWhenHit | Will activate the trigger if the specified unit is hit (shot) with the option of specifying which unit hit it
Fields:
|
Both |
unitWhenKilled | Will activate the trigger if the specified unit is killed
Fields:
|
Both |
unitsInLineOfSight | Checks if two units have line of sight with each other
Fields:
|
Both |
unitsInSearchLight | Checks if unit is caught in a search light
Fields:
|
Both |
varCompareBool | Activates the trigger if the specified boolean variable matches the specified value
Fields:
|
Both |
varCompareInt | Activates the trigger if the specified integer variable matches the specified value
Fields:
|
Both |
varCompareReal | Activates the trigger if the specified real (decimal number) variable matches the specified value
Fields:
|
Both |
varCompareString | Activates the trigger if the specified string variable matches the specified value
Fields:
|
Both |
playerShortcutPressed | Activates the trigger if player presses a specified control
Fields:
|
SP only |
playerSeesUnit | Checks if player can see a specified unit
This appears to work like "unitsInLineOfSight", only requiring LOS between the player and the target unit, the player does not need to be looking at the unit. Fields:
|
SP only |
playerAxisValueReached | Checks if player has reached a certain value on a specified control axis
Fields:
|
SP only |
destructibleInArea | Checks the number of objects destroyed within a specified area
Fields:
|
Unknown |
airDropsNear | Checks if an airDrop is near a unit (unclear if / how air drops currently work)
Fields:
|
Unknown |
areaWhenInArea | Checks if an area is within another area
Fields:
|
Both |
List of all Actions
This is a list of all Actions and their known behaviour. Note: This list is user-provided, there could be missing actions or the described behaviour could be incorrect
Action | Description | MP/SP | Working |
---|---|---|---|
addAirfield | Adds a virtual airfield using the given areas
This trigger is used to make an airfield already present as part of the map a functioning airfield in the mission, use of this trigger is not needed for aircraft carriers and airfields made using the "dynaf_" object groups. Fields:
|
Both | Yes |
addTextToUnit | Adds text on the given unit
Fields:
|
Both | Yes |
airfieldSetIndication | Makes airfield flash green on map / radar
Fields:
|
Both | Yes |
airfieldSetVisibility | This action does not appear to currently be functional
Presumably this action should change the airfield's visibility on the map / radar, but it currently appears to do nothing. Fields:
|
Both | Yes |
airfieldGetModuleHP | Gets the HP of a part of a modular airfield and save it to a real (decimal number) variable.
Fields:
|
Both | Yes |
airfieldSetModuleHP | Sets the HP of a part of a modular airfield and save it to a real (decimal number) variable.
Fields:
|
Both | Yes |
airfieldAddModuleHP | Adds a set number to the HP of a part of a modular airfield and save it to a real (decimal number) variable.
Fields:
|
Both | Yes |
airfieldSetFuelMul | Applies a multiplier to the rate at which the aircraft is refueled when it's on a modular airfield.
Fields:
|
Both | Yes |
airfieldSetReloadMul | Applies a multiplier to the rate at which the aircraft is reloaded when it's on a modular airfield.
Fields:
|
Both | Yes |
airfieldSetRepairMul | Applies a multiplier to the rate at which the aircraft is refueled when it's on a modular airfield.
Fields:
|
Both | Yes |
awardAchievement | Functionality unknown
Presumably this action is designed to award achievements to the player, but in testing it has had effect. Fields:
|
Unknown | Unknown |
changeUnit | This action does not appear to currently be functional | Unknown | Unknown |
checkEntity | Functionality unknown
Fields:
|
Unknown | Unknown |
comment | Adds comments to the trigger for documentation purposes
This action has no effect, it is coloured green in the editor and is used to simply add text comments to the trigger in the editor to document what it does. Fields:
|
Both | Yes |
countUnitsKilledByTeam | Counts the number of units killed by the specified team and assigns the value to a variable
Fields:
|
Both | Yes |
beginRaceMode | Starts a plane or tank race with the given settings
Fields:
|
Both | Yes |
bigQueryAddRecord | Functionality unknown | Unknown | Unknown |
getOwnArea | Functionality unknown | Unknown | Unknown |
hangarGetCountryNum | Functionality unknown | Unknown | Unknown |
makeSquad | Creates a squad from the given unit
Fields:
|
Both | Unknown |
makeSquadFromUnits | Same than makeSquad but with more options
Additional fields:
|
Both | Unknown |
setHeadSquad | Same than above, but instead creates the head (leading) squad
Additional fields:
|
Both | Unknown |
missionAttempts | Allows you to modify how many attempts the player gets at a mission
Each time a player dies in a single player mission they loose one attempt (by default you get 5, so 4 respawns); this trigger allows you to modify how many they have left. NOTE: The game works by counting deaths, so using "set" and "1" will set the player to 1 death (3 respawns remaining), not set the to 1 attempt left. Fields:
|
SP Only | Yes |
missionBattleArea | Allows you to restrict the battle area to within a specified area
This action is used to either restrict the map to a certain area (make it smaller), or specify areas where players will be killed / spotted if they enter. Notes:
Fields:
|
Both | Yes |
missionComplete | Sets the mission as complete (victory) for the selected team, ends the battle
Fields:
|
Both | Yes |
missionCustomArtillery | Enables custom artillery (which can be set in Mission Settings/Versus params/customSuperArtillery)
Fields:
|
Unknown | Unknown |
missionDebriefing | Forces the player back to the hangar, works only after mission has been completed | Unknown | Yes |
missionDestroyArea | Marks the given area(s) as destruction objectives
Fields:
|
Both | Unknown |
missionGetBalanceLevel | Gets the mission's balance level (1-25) and stores it in the given variable
Fields:
|
Both | Unknown |
missionGetBombingAreaHP | Gets the remaining HP of a bombing area and assigns it to a variable
Fields:
|
Both | Yes |
missionGetMaxPlayers | Gets the maximum amount of players allowed in the game (set before mission is launched) and assigns it to a variable
Fields:
|
MP Only | Yes |
missionGetMaxRespawns | Gets the maximum number of respawns and assigns it to a variable (unclear if working currently)
Fields:
|
Unknown | Unknown |
missionHint | This action does not appear to currently be functional | Unknown | Unknown |
missionEnableMapAutoScale | Enables auto scalling of the ingame map | Unknown | Unknown |
missionFailed | Sets the mission as failed for the selected team, ends the battle
Fields:
|
Both | Yes |
missionKillEffects | Removes effects from the selected areas
Fields:
|
Both | Yes |
missionForceMusic | Forces playing selected sound track
Fields:
|
Unknown | Yes |
missionForceUpdate | Functionality unknown
Fields:
|
Unknown | Unknown |
missionDisableRadiochat | Disabled ingame radio messages (for example Cover me etc.)
Fields:
|
MP | Yes |
missionMarkAsCaptureZone | Creates capture zone in selected area
Fields:
|
Both | Yes |
missionMarkAsLandingZone | Placeholder
Fields:
|
Unknown | Unknown |
missionMarkAsWaypoint | Creates a circle (waypoint) in selected area
Fields:
Note: waypoint will not disappear when you touch it, you need another action do disable it (by unchecking visible option) |
Both | Yes |
missionMarkUnitsForStrike | Placeholder
Fields:
|
Unknown | Unknown |
missionMarkAsRespawnPoint | Creates spawn zones in selected areas
Fields:
|
MP | Yes |
missionMarkAsRearmZone | Creates a rearm zone for airplanes (only for players)
Fields:
|
Both | Yes |
missionMarkAsExitZone | Creates a zone where the player can safely quit (bailout)
Fields:
|
MP | Yes |
missionShowMapLine | Shows a single line on the map
Fields:
|
Both | Yes |
missionShowMapIcon | Shows a single icon on the map
Fields:
|
Both | Yes |
missionCreatePickUps | Creates a small area where you can rearm your unit with an icon above it for ground units
Fields:
|
MP | Yes |
missionCreateRespawnBasesByTemplate | Placeholder
Fields:
|
MP | Yes |
missionPlayDialogue | Placeholder
Fields:
|
Unknown | Unknown |
missionSetBattleRoyaleArea | Placeholder
Fields:
|
MP | Yes |
missionSetBombingArea | Add a bombing area in selected area
Fields:
|
Both | Yes |
missionBombingAreaDamage | Inflict some damage to selected bombing area
Fields:
|
Both | Yes |
missionSetEndReason | Set the reason of ending the mission
Fields:
|
Unknown | Unknown |
missionSetFade | Add fading in or fading out of screen to the mission
Fields:
|
Both | Yes |
missionSetFailText | Set the text after failing the mission
Fields:
|
Unknown | Unknown |
missionSetProperties | Placeholder
Fields:
|
Both | Yes |
missionSetTimeIndicator | Show a time indicator in the bottom left corner
Fields:
|
Both | Yes |
missionSetTimeSpeed | Changes the mission time speed
Fields:
|
Both | Yes |
missionSetTargetsIndicator | Shows icons with a number of remaining units in the bottom left corner
Fields:
|
Both | Yes |
MissionStartCutscene | Placeholder
Fields:
|
Unknown | Unknown |
MissionStartGuiScene | Unknown
Fields:
|
Unknown | Unknown |
MissionStopCutscene | Stops the cutscene started by using MissionStartCutscene action
Fields:
|
Unknown | Unknown |
missionStopSpeech | Stops any ongoing dialogs | Unknown | Unknown |
missionControlJIP | Enable or disable join in pogress function
Fields:
|
Unknown | Unknown |
moAddMissionObjective | Adds a new objective (if it haven't been shown yet)
Fields:
|
Both | Yes |
moSetObjectiveStatus | Change the status of selected objective
Fields:
|
Both | Yes |
objectGroupSetAirfield | Unknown
Fields:
|
Unknown | Unknown |
playerControls | Enables or Disables selected control keys
Fields:
|
Unknown | Yes |
playerEmulateShortcut | Presses selected control key
Fields:
|
Unknown | Yes |
playerForceMoveToRespawnScreen | Unknown
Fields:
|
Unknown | Unknown |
playerLockTarget | Locks selected target (it's only related to the UI, not missiles)
Fields:
|
Unknown | Unknown |
playerOptions | Placeholder
Fields:
|
Unknown | Yes |
playHint | Shows a message on screen
Fields:
|
Both | Yes |
playerToggleHero | This action does not appear to currently be functional | SP | No |
playSound | Will play a selected sound
Fields:
|
Both | Yes |
raceRangeEnable | Placeholder
Fields:
|
Unknown | Unknown |
spawnOnAirfield | Spawn selected units on the airfield (on the ground)
Fields:
|
Unknown | Yes |
systemLog | Unknown functionality
Fields:
|
Unknown | Unknown |
systemStats | Unknown functionality
Fields:
|
Unknown | Unknown |
systemCommand | Unknown functionality
Fields:
|
Unknown | Unknown |
systemShakeCamera | Unknown functionality
Fields:
|
Unknown | Unknown |
systemPlayRumble | Unknown functionality
Fields:
|
Unknown | Unknown |
triggerActivate | Activates selected trigger
Fields:
|
Both | Yes |
triggerDisable | Disables selected triggers
Fields:
|
Both | Yes |
triggerEnable | Enables selected triggers
Fields:
|
Both | Yes |
tutorialArtilleryShootAtPos | Placeholder
Fields:
|
Unknown | Unknown |
tutorialArtilleryShowWarning | Placeholder
Fields:
|
Unknown | Unknown |
tacticalMapForceZoom | Placeholder
Fields:
|
Unknown | Unknown |
tacticalMapSetIconProperty | Placeholder
Fields:
|
Unknown | Unknown |
unitBlinkPart | Shows selected part of the ground unit (can be used to show for example tank crew position)
Fields:
|
SP | Yes |
unitDamage | Damage or destroy selected unit
Fields:
|
Both | Yes |
unitDestroyMissile | Unknown functionality
Fields:
|
Unknown | Unknown |
unitDoBailout | Select which air units should bailout (doesn't spawn any effects and doesn't destroy the airplane)
Fields:
|
Both | Yes |
UnitDropAmmo | Makes the unit drop all of it's bombs, fire all rockets and set it's ammunition amount to 0
Fields:
|
Both | Yes |
unitFire | Unknown functionality (probably doesn't work)
Fields:
|
Unknown | Unknown |
unitForceRearmSpeed | Set the rearm speed multiplier for Arcade Battles midair reload mechanics
Fields:
|
Both | Yes |
unitGetDistanceToVar | Placeholder
Fields:
|
Unknown | Unknown |
unitGetRandomNameFromSquad | Saves the name of a squad or specific unit from it in a string variable
Fields:
|
Both | Yes |
unitLandOnAirfield | Orders the AI unit to land on the airfield or water
Fields:
|
Both | Yes |
unitLoadBehTree | Loads specific AI behaviour presets
Fields:
Available trees (AI behaviour presets):
Available nodes: |
Both | Yes |