BIS fnc respawnManager: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name " to "|Game name= ")
m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?(call|spawn) \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>")
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2oa
____________________________________________________________________________________________
|version1= 1.50


| arma2oa |Game name=
|game2= tkoh
|version2= 1.00


|1.00|= Game version
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| <pre>
|gr1= Respawn
 
|descr= <pre>
/*******************************************************************************
/*******************************************************************************
Version: 2.0
Version: 2.0
Line 19: Line 23:
- RemoveCheckpoint
- RemoveCheckpoint
2) parameter for the function
2) parameter for the function
For more informations see https://wiki.bistudio.com/index.php/RespawnManager
For more information see https://wiki.bistudio.com/index.php/RespawnManager
RETURNED VALUE: depends on the function called
RETURNED VALUE: depends on the function called
Line 31: Line 35:
-add functionality for 3 parameters function call - DONE
-add functionality for 3 parameters function call - DONE
-vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint)
-vlastni lokalni checkpointy(markery) pro hratelne postavy(AddCheckpoint/RemoveCheckpoint)
*******************************************************************************/
*******************************************************************************/</pre>
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |DESCRIPTION=
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_RespawnManager]]; --> |SYNTAX=
{{Wiki|placeholder}}


|p1= |PARAMETER1=
|s1= <!-- [] call [[BIS_fnc_respawnManager]] -->


| |RETURNVALUE=
|r1=
____________________________________________________________________________________________


|x1= <code></code> |=
|x1= <!-- <sqf>[] call BIS_fnc_respawnManager;</sqf> -->
____________________________________________________________________________________________
 
| |SEEALSO=


|seealso=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Systems|{{uc:RespawnManager}}]]
[[Category:Functions|{{uc:RespawnManager}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:RespawnManager}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:RespawnManager}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:RespawnManager}}]]

Latest revision as of 13:09, 5 May 2022

Hover & click on the images for description

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)
*******************************************************************************/
🏗
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

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