mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 09:10:27 +03:00
Update keyboard eventhandler and add rules.sqf
See: https://github.com/EpochModTeam/DayZ-Epoch/pull/1673
This commit is contained in:
@@ -654,6 +654,9 @@ class FSM
|
||||
"" \n
|
||||
"dayz_playerName = name player;" \n
|
||||
"_model call player_switchModel;" \n
|
||||
"diag_log [ 'resetting keyboard events',(MISSION_ROOT+'keyboard.sqf')];" \n
|
||||
"keyboard_keys = nil;" \n
|
||||
"[controlNull, 1, false,false,false] call compile preprocessFileLineNumbers (MISSION_ROOT+'keyboard.sqf');" \n
|
||||
"" \n
|
||||
"gear_done= true;" \n
|
||||
"player allowDamage false;" \n
|
||||
@@ -1086,7 +1089,6 @@ class FSM
|
||||
name = "Preload_Display";
|
||||
init = /*%FSM<STATEINIT""">*/"dayz_lastCheckBit = 0;" \n
|
||||
"" \n
|
||||
"(findDisplay 46) displayAddEventHandler [""KeyDown"",""_this call dayz_spaceInterrupt""];" \n
|
||||
"player disableConversation true;" \n
|
||||
"" \n
|
||||
"eh_player_killed = player addeventhandler [""FiredNear"",{_this call player_weaponFiredNear;} ];" \n
|
||||
|
||||
Reference in New Issue
Block a user