BIS fnc respawnManager: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" 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 | ||
| arma2oa | | arma2oa | ||
|1.00 | |1.00 | ||
|gr1 = Respawn | |gr1 = Respawn | ||
| <pre> | | <pre> | ||
Line 31: | Line 31: | ||
-vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint) | -vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint) | ||
*******************************************************************************/ | *******************************************************************************/ | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | ||
| <!-- [] call [[BIS_fnc_RespawnManager]]; --> | | <!-- [] call [[BIS_fnc_RespawnManager]]; --> | ||
|p1 | |p1= | ||
| | | | ||
|x1= <code></code> | |x1= <code></code> | ||
| | | | ||
}} | }} |
Revision as of 22:19, 17 January 2021
Description
- Description:
/******************************************************************************* Version: 2.0 Name: Respawn manager DESCRIPTION: All checkpoints must be markers with name prefix BIS_checkpointnr PARAMETERS: 1) function called - string, list of functions: - Init - Destroy - AddCheckpoint - RemoveCheckpoint 2) parameter for the function For more informations see https://wiki.bistudio.com/index.php/RespawnManager RETURNED VALUE: depends on the function called TODO: -performance: add markers positions to the array instead of the testing their positions every loop in _CheckNearestCheckpoint function - DONE -pridat funkci GetActualCheckpoint(character) - DONE -osetrit pripad, kdy postava neexistuje (je prave v respawnu/zahynula) - NEPOTREBUJEME -typy markeru podle modu: normal/debug - DONE -optional parameter marker name - DONE -optional prefix marker name as a parameter to the Init procedure -add functionality for 3 parameters function call - DONE -vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint) *******************************************************************************/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Example 1:
Additional Information
- See also:
- See also needed
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