BIS fnc removeRespawnPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3")
m (Some wiki formatting)
 
(2 intermediate revisions by the same user not shown)
Line 10: Line 10:
|descr= Remove a respawn position added by [[BIS_fnc_addRespawnPosition]].
|descr= Remove a respawn position added by [[BIS_fnc_addRespawnPosition]].


|s1=[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]]


|r1= [[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>


|seealso= [[BIS_fnc_addRespawnPosition]] [[Arma 3: Respawn]]
|seealso= [[BIS_fnc_addRespawnPosition]] [[Arma 3: Respawn]]
}}
}}

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