Search the Community
Showing results for tags 'GetOutMan'.
Found 1 result
-
Troubles with "GetInMan" and "GetOutMan" event Handlers.
willithappen posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi all, Im trying to create a very simple log system to find out when a player gets in and out of a vehicle of a certain type. I have the below executed from initPlayerLocal. I have tried a few different combinations of player in the init and in the script itself with no success. The problem is weird as the Killed event handler works perfectly fine and displays output in the .rpt file. both GetIn/GetOut eventHandlers do nothing, there is no error nor log placed in the .rpt. What am I doing wrong? player execVM "WH_Logging.sqf"; WH_Logging.sqf // Kills - NAME Killed by NAME _this addEventHandler ["Killed", "diag_log format ['[--WH Logs--][**KILLS**]%1 Killed by %2',_this select 0,_this select 1]"]; // Vehicle GetIn/GetOut Logs - NAME SEAT VEHICLE _this addEventHandler ["GetInMan", "diag_log format ['[--WH Logs--][**GETIN**]%1 Enters %3 in %2 Seat',_this select 0,_this select 1,_this select 2]"]; _this addEventHandler ["GetOutMan", "diag_log format ['[--WH Logs--][**GETOUT**]%1 Exits %3 From %2 Seat',_this select 0,_this select 1,_this select 2]"];