setPlayable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|=GROUP1" to "|GROUP1=")
Line 6: Line 6:
|1.00|Game version=
|1.00|Game version=


|gr1 = Multiplayer |GROUP1=
|gr1= Broken Commands |GROUP1=


|gr1= Broken Commands |GROUP1=
|gr2= Multiplayer |GROUP2=
|gr2= Multiplayer |GROUP2=
____________________________________________________________________________________________
____________________________________________________________________________________________
Line 16: Line 13:
| Create MP role for the unit. The roles created this way are used for [[Join In Progress]] and [[Team Switch]].  
| Create MP role for the unit. The roles created this way are used for [[Join In Progress]] and [[Team Switch]].  


'''NOTE:''' Currently in Arma 3 this command does nothing.
|pr= {{Warning | Doesn't work as intended - does currently nothing in {{arma3}}.}} |DESCRIPTION=
{{warning | Doesn't work as intended}}|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 27: Line 23:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>setPlayable _aPerson</pre> |EXAMPLE1=
|x1= <code>[[setPlayable]] _aPerson</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |SEEALSO=
|  |SEEALSO=
}}
}}


Line 39: Line 34:
<dd class="notedate">Posted on december 19, 2009 - 22:48
<dd class="notedate">Posted on december 19, 2009 - 22:48
<dt class="note">[[User:Lou Montana|Lou Montana]]
<dt class="note">[[User:Lou Montana|Lou Montana]]
<dd class="note">if you want to add a TeamSwitchable unit (at least in Arma2), better use [[addSwitchableUnit]]
<dd class="note">if you want to add a [[Team Switch|TeamSwitchable]] unit (at least in {{arma2}}), better use [[addSwitchableUnit]]




Line 47: Line 42:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SETPLAYABLE]]
[[Category:Scripting Commands OFP Elite |{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP Elite |SETPLAYABLE]]
[[Category:Scripting Commands Armed Assault|SETPLAYABLE]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 02:49, 25 September 2020

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Create MP role for the unit. The roles created this way are used for Join In Progress and Team Switch.
Problems:
Doesn't work as intended - does currently nothing in Arma 3.
Groups:
Broken CommandsMultiplayer

Syntax

Syntax:
setPlayable unitName
Parameters:
unitName: Object
Return Value:
Nothing

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


Bottom Section