BIS fnc curatorRespawn: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *(\[.*)(call|spawn)(.*) " to "|s1=$1$2$3 ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 6: | Line 6: | ||
|gr1= Curator | |gr1= Curator | ||
|Restore unit for curators after respawn. | |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. | |||
|s1=[newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]] | |s1= [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]] | ||
|p1=newUnit: [[Object]] - | |p1= newUnit: [[Object]] - new unit | ||
|p2=oldUnit [[Object]] - | |p2= oldUnit [[Object]] - old, dead unit | ||
|r1= [[Boolean]] | |r1= [[Boolean]] |
Revision as of 18:47, 9 June 2021
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