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.
29 lines
517 B
Plaintext
29 lines
517 B
Plaintext
/****************************************************************
|
|
File: UPSMON_BackToNormal.sqf
|
|
Author: Azroul13
|
|
|
|
Description:
|
|
|
|
Parameter(s):
|
|
<--- group
|
|
Returns:
|
|
Nothing
|
|
****************************************************************/
|
|
private["_grp","_nosmoke"];
|
|
|
|
_grp = _this select 0;
|
|
_nosmoke = true;
|
|
|
|
If (random 100 > UPSMON_USE_SMOKE) then
|
|
{
|
|
If (_grp getvariable ["UPSMON_SmokeTime",0] < time) then
|
|
{
|
|
If (!(_grp getvariable ["UPSMON_NOSMOKE",false])) then
|
|
{
|
|
_nosmoke = false;
|
|
};
|
|
};
|
|
};
|
|
|
|
_nosmoke
|