Update GMS_fnc_spawnUnit.sqf
Line 164 can be call compiled to save even more server threads
This commit is contained in:
parent
4b933dcb73
commit
a583d3bbbe
@ -161,7 +161,7 @@ else
|
|||||||
|
|
||||||
// Infinite ammo
|
// Infinite ammo
|
||||||
_ai1 addeventhandler ["fired", {(_this select 0) setvehicleammo 1;}];
|
_ai1 addeventhandler ["fired", {(_this select 0) setvehicleammo 1;}];
|
||||||
_ai1 addEventHandler ["killed",{ [(_this select 0), (_this select 1)] execVM blck_EH_AIKilled;}]; // changed to reduce number of concurrent threads, but also works as spawn blck_AIKilled; }];
|
_ai1 addEventHandler ["killed",{ [(_this select 0), (_this select 1)] call compile preprocessfilelinenumbers blck_EH_AIKilled;}]; // changed to reduce number of concurrent threads, but also works as spawn blck_AIKilled; }];
|
||||||
//_ai addEventHandler ["HandleDamage",{ [(_this select 0), (_this select 1)] execVM blck_EH_AIHandleDamage;}];
|
//_ai addEventHandler ["HandleDamage",{ [(_this select 0), (_this select 1)] execVM blck_EH_AIHandleDamage;}];
|
||||||
|
|
||||||
switch (_skillLevel) do
|
switch (_skillLevel) do
|
||||||
|
Loading…
Reference in New Issue
Block a user