BIS fnc removeRespawnPosition: Difference between revisions

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


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


|gr1= Respawn
|gr1= Respawn
Line 9: Line 8:
|eff= global
|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>
|x1= <sqf>[west, 1] call BIS_fnc_removeRespawnPosition;</sqf>


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


| [[BIS_fnc_addRespawnPosition]], [[Arma 3 Respawn]]
|seealso= [[BIS_fnc_addRespawnPosition]] [[Arma 3: Respawn]]
}}
}}
[[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