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 (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.16


| arma3 |= Game name
|gr1= Curator


|1.16|= Game version
|descr= 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.


| <pre>/*
|s1= [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]]


Description:
|p1= newUnit: [[Object]] - new unit
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.


Parameter(s):
|p2= oldUnit [[Object]] - old, dead unit
0: OBJECT - new unit
1: OBJECT - old (dead) unit


Returns:
|r1= [[Boolean]]
BOOL
*/


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|x1= <sqf>[BIS_newUnit,BIS_oldUnit] call BIS_fnc_curatorRespawn;</sqf>
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_curatorRespawn]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[Arma 3: Curator]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Curator|{{uc:curatorRespawn}}]]
[[Category:Functions|{{uc:curatorRespawn}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:curatorRespawn}}]]

Latest revision as of 14:04, 5 May 2022

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:
Curator

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:
Arma 3: 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