setPlayable: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETPLAYABLE]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETPLAYABLE]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETPLAYABLE]]


| arma |= Game name


<h2 style="color:#000066">''' setPlayable ''unit'''''</h2>
|2.92|= Game version
____________________________________________________________________________________________


| Create MP role for the unit. The roles created this way are used for [[Join In Progress]] and [[Team Switch]]. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''setPlayable''' unit |= Syntax


'''unit:''' [[Object]]
|p1= unit: [[Object]] |= Parameter 1


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>setPlayable aP</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.92 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Create MP role for the unit.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETPLAYABLE]]
The roles created this way are used for [[Join In Progress]] and [[Team Switch]].
[[Category:Scripting Commands OFP Elite |SETPLAYABLE]]
 
[[Category:Scripting Commands ArmA|SETPLAYABLE]]
 
'''Example:'''
 
'''setPlayable''' aP

Revision as of 00:25, 2 August 2006

-wrong parameter ("Arma") defined!-2.92
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.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
setPlayable aP

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

Bottom Section