BIS fnc removeRespawnPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Some wiki formatting)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 0.50


|0.50|= Game version
|gr1= Respawn


|eff= global |=
|eff= global
____________________________________________________________________________________________


| Remove a respawn position added by [[BIS_fnc_addRespawnPosition]]. |DESCRIPTION=
|descr= Remove a respawn position added by [[BIS_fnc_addRespawnPosition]].
____________________________________________________________________________________________


| [target,id] call [[BIS_fnc_removeRespawnPosition]]; |SYNTAX=
|s1= [target, id] call [[BIS_fnc_removeRespawnPosition]]


|p1= '''target''': [[Namespace]] or [[Side]] or [[Group]] or [[Object]]|=
|p1= '''target''': [[Namespace]], [[Side]], [[Group]] or [[Object]]
|p2= '''id''': [[Number]]|=
|p2= '''id''': [[Number]]


| [[Boolean]] |RETURNVALUE=
|r1= [[Boolean]]
____________________________________________________________________________________________
 
|x1= <code><nowiki>[</nowiki>[[west]], 1] [[call]] [[BIS_fnc_removeRespawnPosition]];</code> |=


|x2= <code>myRespawn = <nowiki>[</nowiki>[[missionNamespace]],"arena"] [[call]] [[BIS_fnc_addRespawnPosition]];
|x1= <sqf>[west, 1] call BIS_fnc_removeRespawnPosition;</sqf>
myRespawn [[call]] [[BIS_fnc_removeRespawnPosition]];
</code> |=
____________________________________________________________________________________________


| [[BIS_fnc_addRespawnPosition]], [[Arma 3 Respawn]] |SEEALSO=
|x2= <sqf>
myRespawn = [missionNamespace,"arena"] call BIS_fnc_addRespawnPosition;
myRespawn call BIS_fnc_removeRespawnPosition;
</sqf>


|seealso= [[BIS_fnc_addRespawnPosition]] [[Arma 3: Respawn]]
}}
}}
<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: Respawn|{{uc:removeRespawnPosition}}]]
[[Category:Functions|{{uc:removeRespawnPosition}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:removeRespawnPosition}}]]

Latest revision as of 12:43, 13 July 2022

Hover & click on the images for description

Description

Description:
Remove a respawn position added by BIS_fnc_addRespawnPosition.
Execution:
call
Groups:
Respawn

Syntax

Syntax:
[target, id] call BIS_fnc_removeRespawnPosition
Parameters:
target: Namespace, Side, Group or Object
id: Number
Return Value:
Boolean

Examples

Example 1:
[west, 1] call BIS_fnc_removeRespawnPosition;
Example 2:
myRespawn = [missionNamespace,"arena"] call BIS_fnc_addRespawnPosition; myRespawn call BIS_fnc_removeRespawnPosition;

Additional Information

See also:
BIS_fnc_addRespawnPosition Arma 3: Respawn

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