setPlayable: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Broken Commands | |gr1= Broken Commands | ||
|gr2= Multiplayer | |gr2= Multiplayer | ||
| Create MP role for the unit. The roles created this way are used for [[Multiplayer Scripting#Join In Progress|Join In Progress]] and [[Team Switch]]. | | Create MP role for the unit. The roles created this way are used for [[Multiplayer Scripting#Join In Progress|Join In Progress]] and [[Team Switch]]. | ||
|pr= {{Warning | Doesn't work as intended - does currently nothing in {{arma3}}.}} | |pr= {{Warning | Doesn't work as intended - does currently nothing in {{arma3}}.}} | ||
| '''setPlayable''' unitName | | '''setPlayable''' unitName | ||
|p1= unitName: [[Object]] | |p1= unitName: [[Object]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[setPlayable]] _aPerson</code> | |x1= <code>[[setPlayable]] _aPerson</code> | ||
| | | | ||
}} | }} | ||
Revision as of 11:09, 18 January 2021
Description
- Description:
- Create MP role for the unit. The roles created this way are used for Join In Progress and Team Switch.
- Problems:
- Groups:
- Broken CommandsMultiplayer
Syntax
Examples
- Example 1:
setPlayable _aPerson
Additional Information
- See also:
- See also needed
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
Notes
- Posted on december 19, 2009 - 22:48
- Lou Montana
- if you want to add a TeamSwitchable unit (at least in Arma 2), better use addSwitchableUnit
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Broken Commands
- Command Group: Multiplayer
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands