mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Prepared (not used) more custom EH's
This commit is contained in:
parent
ea8ce419b3
commit
7b9ad23a76
15
Sources/epoch_code/customs/EPOCH_custom_EH_FiredNear.sqf
Normal file
15
Sources/epoch_code/customs/EPOCH_custom_EH_FiredNear.sqf
Normal 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"];
|
15
Sources/epoch_code/customs/EPOCH_custom_EH_Hit.sqf
Normal file
15
Sources/epoch_code/customs/EPOCH_custom_EH_Hit.sqf
Normal 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"];
|
@ -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"];
|
@ -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 {};
|
||||
|
@ -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"};
|
||||
|
Loading…
Reference in New Issue
Block a user