mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
90f5674a74
More work on Dynamic HUD and hudConfigs are now found in CfgEpochClient. Animal spawn table now found in CfgEpochClient. Two new functions added to handle get(In|Out)Man Event Handlers. moved forced disabling of build mode when getting in vehicle to getInMan EH function. removed a few unused files.
25 lines
617 B
Plaintext
25 lines
617 B
Plaintext
/*
|
|
Author: Aaron Clark - EpochMod.com
|
|
|
|
Contributors:
|
|
|
|
Description:
|
|
Get In handler for A3 Epoch
|
|
|
|
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/compile/EPOCH_getInMan_EH.sqf
|
|
*/
|
|
params ["_unit","_position","_vehicle"];
|
|
if (_unit == player) then {
|
|
// Disable build mode
|
|
if (EPOCH_buildMode > 0) then {
|
|
EPOCH_buildMode = 0;
|
|
EPOCH_snapDirection = 0;
|
|
["BUILD MODE: DISABLED", 5] call Epoch_message;
|
|
EPOCH_Target = objNull;
|
|
};
|
|
};
|