BIS fnc setUnitInsignia: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added Arma 3 version number for multiplayer locality note)
m (note format)
Line 41: Line 41:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on July 28, 2014 - 12:58 (UTC)
<dt class="note>'''[[User:Sxp2hiiigh|Sxp2hiiigh]]'''
<dd class="note">Multiplayer locality (As of Arma 3 v1.24):
<br>- Effects of this function are local, it must be executed on all machines.
<br>- Insignias are gone after respawn, they have to be reapplied afterwards (On all machines again).
<br>
This would apply insignia "111thID" to player unit on all machines (incl. Join In Progress):
<code>[[ [[player]], "111thID"], "[[BIS_fnc_setUnitInsignia]]", nil, [[true]], [[true]]] [[call]] [[BIS_fnc_MP]];</code>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>
Line 51: Line 58:


<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on July 28, 2014 - 12:58 (UTC)</dd>
<dt class="note">[[User:Sxp2hiiigh|Sxp2hiiigh]]</dt>
<dd class="note">
Multiplayer locality (As of Arma 3 v1.24):
<br />- Effects of this function are local, it must be executed on all machines.
<br />- Insignias are gone after respawn, they have to be reapplied afterwards (On all machines again).
<br /><br />
This would apply insignia "111thID" to player unit on all machines (incl. Join In Progress):
<pre>[[player, "111thID"], "BIS_fnc_setUnitInsignia", nil, true, true] call BIS_fnc_MP;</pre>
</dd>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 07:44, 29 July 2014


Hover & click on the images for description

Description

Description:
/*

	Description:
	Set unit inisgnia (e.g., should insignia on soldiers)

	Parameter(s):
		0: OBJECT
		2: STRING - CfgUnitInsignia class

	Returns:
	BOOL - true if insignia was set
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

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 July 28, 2014 - 12:58 (UTC)
Sxp2hiiigh
Multiplayer locality (As of Arma 3 v1.24):
- Effects of this function are local, it must be executed on all machines.
- Insignias are gone after respawn, they have to be reapplied afterwards (On all machines again).
This would apply insignia "111thID" to player unit on all machines (incl. Join In Progress): [[ player, "111thID"], "BIS_fnc_setUnitInsignia", nil, true, true] call BIS_fnc_MP;

Bottom Section