mirror of
https://github.com/Teh-Dango/Sarge-AI.git
synced 2024-08-30 16:32:11 +00:00
3ac749d64b
This is the latest stable version of Sarge AI for Arma 3: Exile.
22 lines
516 B
Plaintext
22 lines
516 B
Plaintext
/****************************************************************
|
|
File: UPSMON_GetRespawntime.sqf
|
|
Author: Azroul13
|
|
|
|
Description:
|
|
|
|
Parameter(s):
|
|
<--- UPSMON parameters
|
|
Returns:
|
|
Number
|
|
****************************************************************/
|
|
private["_Ucthis","_respawn","_respawntime"];
|
|
|
|
_Ucthis = _this select 0;
|
|
|
|
_respawntime = 0;
|
|
if ("RESPAWN" in _UCthis) then {_respawntime = 1;};
|
|
If ("RESPAWN:" in _UCthis) then {_respawntime = ["RESPAWN:",_respawntime,_UCthis] call UPSMON_getArg};
|
|
|
|
|
|
_respawntime
|