BIS fnc curatorRespawn: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Curator(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Curator |GROUP1= | |gr1 = Curator |GROUP1= | ||
|Restore unit for curators after respawn. | |Restore unit for curators after respawn. | ||
Line 13: | Line 11: | ||
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= | |Description= | ||
| [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]] |Syntax= | | [newUnit,oldUnit] call [[BIS_fnc_curatorRespawn]] |Syntax= | ||
Line 22: | Line 19: | ||
| [[Boolean]]|Return value= | | [[Boolean]]|Return value= | ||
|x1= <code>[BIS_newUnit,BIS_oldUnit] [[call]] [[BIS_fnc_curatorRespawn]];</code>|Example 1= | |x1= <code>[BIS_newUnit,BIS_oldUnit] [[call]] [[BIS_fnc_curatorRespawn]];</code>|Example 1= | ||
| [[Curator]] |See also= | | [[Curator]] |See also= |
Revision as of 23:09, 16 January 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:
- 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