1.7.5.D1216

This commit is contained in:
A Clark
2012-12-17 13:16:34 -06:00
parent 08793009ae
commit 0faab1b8ff
34 changed files with 641 additions and 469 deletions

View File

@@ -0,0 +1,18 @@
/*
Initial Idea by Daimyo
System test to see how this would handle in the game. Other systems will be brought in to play along side this if full permission is givin.
For now this is just a test system based on the idea.
*/
private["_dialog","_dangerNear","_inCombat","_inVehicle"];
_inCombat = player getVariable["startcombattimer",0];
_inVehicle = (vehicle player != player);
_dangerNear = (getPosATL player) nearEntities [["zZombie_Base","CAManBase"],30];
if (_inVehicle && (speed player != 0)) exitwith {};
if (count _dangerNear > 1) then {
player setVariable["startcombattimer", 1, true];
};