onTeamSwitch: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
m (Text replacement - "{{Inline code|" to "{{ic|") |
||
Line 14: | Line 14: | ||
{{Feature|Informative|Since '''Arma 3''' ''v1.57'' a stackable version of this EH is available: [[Arma_3:_Event_Handlers/addMissionEventHandler#TeamSwitch|TeamSwitch]]}} | {{Feature|Informative|Since '''Arma 3''' ''v1.57'' a stackable version of this EH is available: [[Arma_3:_Event_Handlers/addMissionEventHandler#TeamSwitch|TeamSwitch]]}} | ||
<br> | <br> | ||
{{Feature | Informative | When player switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it (with {{ | {{Feature | Informative | When player switches and leaves behind AI unit, you need to enable "TeamSwitch" AI on it (with {{ic|[[onTeamSwitch]] { _from [[enableAI]] "TeamSwitch" };}}) so that the unit continues with [[waypoints]]. }} | ||
| [[onTeamSwitch]] commandset | | [[onTeamSwitch]] commandset |
Revision as of 18:12, 27 February 2021
Description
- Description:
- Description needed
- Groups:
- Team SwitchEvent Handlers
Syntax
- Syntax:
- Syntax needed
- Parameters:
- commandset: String or Code
- Return Value:
- Return value needed
Examples
- Example 1:
onTeamSwitch { [_from, _to] execVM "myTeamSwitchScript.sqf"; };
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note