BIS fnc curatorRespawn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (GVI 1.00 --> 1.16 http://dev.arma3.com/post/spotrep-00023 (It's Zeus update, obvious))
m (pf)
Line 1: Line 1:
 
{{Function|Comments=
{{Function|= Comments
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma3 |= Game name
| arma3 |Game name=


|1.16|= Game version
|1.16|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <pre>/*
|Restore unit for curators after respawn.
 
Description:
Restore unit for curators after respawn.
When curator owner, it will transfer ownership to the new unit.
When curator owner, it will transfer ownership to the new unit.
When editable by curator, it will remove the dead unit and register the new one.
When editable by curator, it will remove the dead unit and register the new one.
|Description=
____________________________________________________________________________________________


Parameter(s):
| [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]] |Syntax=
0: OBJECT - new unit
1: OBJECT - old (dead) unit


Returns:
|p1=newUnit: [[Object]] - New unit|Parameter 1=
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|p2=oldUnit [[Object]] - Old, dead unit|Parameter 2=
 
| [[Boolean]]|Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_curatorRespawn]]; --> |= Syntax
|x1= <code>[BIS_newUnit,BIS_oldUnit] [[call]] [[BIS_fnc_curatorRespawn]];</code>|Example 1=


|p1= |= Parameter 1
| |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <code></code> |=  
| [[Curator]] |See also=
____________________________________________________________________________________________
}}
 
| |= See also


}}


<h3 style="display:none">Notes</h3>
<h3 style="display:none">Notes</h3>

Revision as of 17:04, 22 June 2018

Hover & click on the images for description

Description

Description:
Restore unit for curators after respawn. When curator owner, it will transfer ownership to the new unit. When editable by curator, it will remove the dead unit and register the new one.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[newUnit,oldUnit] call BIS_fnc_curatorRespawn
Parameters:
newUnit: Object - New unit
oldUnit Object - Old, dead unit
Return Value:
Boolean

Examples

Example 1:
[BIS_newUnit,BIS_oldUnit] call BIS_fnc_curatorRespawn;

Additional Information

See also:
Curator

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