BIS fnc removeRespawnPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "")
m (Some wiki formatting)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


| arma3
|game1= arma3
 
|version1= 0.50
|0.50


|gr1= Respawn
|gr1= Respawn


|eff= global |MPeff=
|eff= global


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


| [target,id] call [[BIS_fnc_removeRespawnPosition]];
|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]]
|r1= [[Boolean]]
 
|x1= <code><nowiki>[</nowiki>[[west]], 1] [[call]] [[BIS_fnc_removeRespawnPosition]];</code>


|x2= <code>myRespawn = [<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]]
|x2= <sqf>
myRespawn = [missionNamespace,"arena"] call BIS_fnc_addRespawnPosition;
myRespawn call BIS_fnc_removeRespawnPosition;
</sqf>


|seealso= [[BIS_fnc_addRespawnPosition]] [[Arma 3: Respawn]]
}}
}}
[[Category:Functions|{{uc:removeRespawnPosition}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:removeRespawnPosition}}]]

Latest revision as of 13: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