BIS fnc respawnManager: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma2oa * +\| *1.([0-9]{2}) * *\|([^g]|g[^a])" to "| arma2oa |1.$1 |game2= tkoh |version2= 1.00 |game3= arma3 |version3= 0.50 |$2") |
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=function | {{RV|type=function | ||
| arma2oa | |game1= arma2oa | ||
|1.50 | |version1= 1.50 | ||
|game2= tkoh | |game2= tkoh | ||
Line 12: | Line 12: | ||
|gr1= Respawn | |gr1= Respawn | ||
| <pre> | |descr= <pre> | ||
/******************************************************************************* | /******************************************************************************* | ||
Version: 2.0 | Version: 2.0 | ||
Line 39: | Line 39: | ||
{{Wiki|placeholder}} | {{Wiki|placeholder}} | ||
|s1= <!-- [] call [[BIS_fnc_respawnManager]]; --> | |s1= <!-- [] call [[BIS_fnc_respawnManager]] --> | ||
|r1= | |||
|x1= <!-- <sqf>[] call BIS_fnc_respawnManager;</sqf> --> | |||
|seealso= | |||
}} | }} | ||
Latest revision as of 13:09, 5 May 2022
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 information 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) *******************************************************************************/
- Execution:
- call
- Groups:
- Respawn
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
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