BIS fnc curatorRespawn: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...)
Line 1: Line 1:
{{Function|Comments=
{{Function


| arma3 |Game name=
| arma3


|1.16|Game version=
|1.16


|gr1 = Curator |GROUP1=
|gr1 = Curator


|Restore unit for curators after respawn.
|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=


| [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]] |Syntax=


|p1=newUnit: [[Object]] - New unit|Parameter 1=
| [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]]


|p2=oldUnit [[Object]] - Old, dead unit|Parameter 2=
|p1=newUnit: [[Object]] - New unit


| [[Boolean]]|Return value=
|p2=oldUnit [[Object]] - Old, dead unit


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


|x1= <code>[BIS_newUnit,BIS_oldUnit] [[call]] [[BIS_fnc_curatorRespawn]];</code>


| [[Curator]] |See also=
 
| [[Curator]]
}}
}}



Revision as of 00:00, 18 January 2021

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


Bottom Section