Prepared (not used) more custom EH's

This commit is contained in:
He-Man 2018-06-06 19:57:22 +02:00
parent ea8ce419b3
commit 7b9ad23a76
5 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,15 @@
/*
Author: He-Man - EpochMod.com
Contributors:
Description:
Custom A3 Epoch FiredNear Eventhandler
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/custom/EPOCH_custom_EH_FiredNear.sqf
*/
params ["_unit", "_firer", "_distance", "_weapon", "_muzzle", "_mode", "_ammo", "_gunner"];

View File

@ -0,0 +1,15 @@
/*
Author: He-Man - EpochMod.com
Contributors:
Description:
Custom A3 Epoch Hit Eventhandler
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/custom/EPOCH_custom_EH_Hit.sqf
*/
params ["_unit", "_source", "_damage", "_instigator"];

View File

@ -0,0 +1,15 @@
/*
Author: He-Man - EpochMod.com
Contributors:
Description:
Custom A3 Epoch SeatSwitchedMan Eventhandler
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/custom/EPOCH_custom_EH_SeatSwitchedMan.sqf
*/
params ["_unit1", "_unit2", "_vehicle"];

View File

@ -225,14 +225,17 @@ class CfgClientFunctions
{
file = "epoch_code\customs";
class custom_EH_FiredMan {};
class custom_EH_FiredNear {};
class custom_EH_GetInMan {};
class custom_EH_GetOutMan {};
class custom_EH_Hit {};
class custom_EH_InventoryClosed {};
class custom_EH_InventoryOpened {};
class custom_EH_KeyDown {};
class custom_EH_KeyUp {};
class custom_EH_Killed {};
class custom_EH_Put {};
class custom_EH_SeatSwitchedMan {};
class custom_EH_Take {};
class custom_KeyMap {};
class custom_OnEachFrame {};

View File

@ -178,10 +178,12 @@ class CfgEpochClient
HandleDamage = "";
HandleHeal = "";
Dammaged = "";
Hit = "";
Hit = "_this call EPOCH_custom_EH_Hit";
HitPart = "";
GetInMan = "_this call EPOCH_getInMan;_this call Epoch_custom_EH_GetInMan";
GetOutMan = "_this call EPOCH_getOutMan;_this call Epoch_custom_EH_GetOutMan";
SeatSwitchedMan = "_this call EPOCH_custom_EH_SeatSwitchedMan";
FiredNear = "_this call EPOCH_custom_EH_FiredNear";
// suppress these units from spawning near Jammer or Traders
nonJammerAI[] = {"B_Heli_Transport_01_F","PHANTOM","EPOCH_Sapper_F","Epoch_SapperG_F","Epoch_SapperB_F","I_UAV_01_F","EPOCH_RyanZombie_1"};
nonTraderAI[] = {"B_Heli_Transport_01_F","PHANTOM","EPOCH_Sapper_F","Epoch_SapperG_F","Epoch_SapperB_F","I_UAV_01_F","Epoch_Cloak_F","GreatWhite_F","EPOCH_RyanZombie_1"};