BIS fnc removeRespawnPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|0.50 | |0.50 | ||
|gr1= Respawn | |gr1= Respawn | ||
|eff= global |MPeff= | |eff= global |MPeff= | ||
| Remove a respawn position added by [[BIS_fnc_addRespawnPosition]]. | | Remove a respawn position added by [[BIS_fnc_addRespawnPosition]]. | ||
| [target,id] call [[BIS_fnc_removeRespawnPosition]]; | | [target,id] call [[BIS_fnc_removeRespawnPosition]]; | ||
|p1= '''target''': [[Namespace]] or [[Side]] or [[Group]] or [[Object]] | |p1= '''target''': [[Namespace]] or [[Side]] or [[Group]] or [[Object]] | ||
|p2= '''id''': [[Number]] | |p2= '''id''': [[Number]] | ||
| [[Boolean]] | | [[Boolean]] | ||
|x1= <code><nowiki>[</nowiki>[[west]], 1] [[call]] [[BIS_fnc_removeRespawnPosition]];</code> | |x1= <code><nowiki>[</nowiki>[[west]], 1] [[call]] [[BIS_fnc_removeRespawnPosition]];</code> | ||
|x2= <code>myRespawn = [<nowiki/>[[missionNamespace]],"arena"] [[call]] [[BIS_fnc_addRespawnPosition]]; | |x2= <code>myRespawn = [<nowiki/>[[missionNamespace]],"arena"] [[call]] [[BIS_fnc_addRespawnPosition]]; | ||
myRespawn [[call]] [[BIS_fnc_removeRespawnPosition]]; | myRespawn [[call]] [[BIS_fnc_removeRespawnPosition]]; | ||
</code> | </code> | ||
| [[BIS_fnc_addRespawnPosition]], [[Arma 3 Respawn]] | | [[BIS_fnc_addRespawnPosition]], [[Arma 3 Respawn]] | ||
}} | }} |
Revision as of 23:40, 17 January 2021
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 or Side or 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_addRespawnPositionArma 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