willithappen 194 Posted March 25, 2016 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]"]; Share this post Link to post Share on other sites
Nikander 122 Posted March 25, 2016 eventHandlers do nothing, there is no error nor log placed in the .rpt. What am I doing wrong? Hi willithappen, I too found out about this with 'GetInMan' eventhandler just yesterday. It's probably just another thing that went wrong with the latest BIS update :( Nikander Share this post Link to post Share on other sites
willithappen 194 Posted March 26, 2016 Hi willithappen, I too found out about this with 'GetInMan' eventhandler just yesterday. It's probably just another thing that went wrong with the latest BIS update :( Nikander Bummer, is anyone aware of a way to achieve a similar goal at the moment then? Share this post Link to post Share on other sites
killzone_kid 1326 Posted March 26, 2016 What game version are you trying EHs in? Share this post Link to post Share on other sites
Senshi 10 Posted March 26, 2016 Also noticed that both GetInMan and GetOutMan seem to be broken right now. The only workaround would be to use the regular "GetIn" and "GetOut" EHs right now, but those you'd have to add to every single vehicle in your mission: { _x addEventHandler ["GetIn", "diag_log format ['[--WH Logs--][**GETIN**]%1 Enters %3 in %2 Seat',_this select 2,_this select 1,_this select 0]"]; _x addEventHandler ["GetOut", "diag_log format ['[--WH Logs--][**GETOUT**]%1 Exits %3 From %2 Seat',_this select 2,_this select 1,_this select 0]"]; } foreach vehicles; EDIT: @killzone_kid : Version 1.56.134787, current "stable". EDIT2: Didn't consider that with GetIn, _this select 0 and _this select 2 have to be swapped. Fixed in example. Share this post Link to post Share on other sites
R3vo 2652 Posted March 26, 2016 Aren't those eventHandlers only available on dev, yet? Yes they are Check the version numbers on the right side https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#GetOut 1 Share this post Link to post Share on other sites
killzone_kid 1326 Posted March 26, 2016 @killzone_kid : Version 1.56.134787, current "stable". Well, this is why we have game version number against new commands and EHs, the version they were added it. GetInMan/GetOutMan says 1.57, so it cannot be in 1.56 Although adding these EHs returns legit index even on 1.56, those were dummy EHs that didn't do anything. https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#GetInMan https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#GetOutMan Share this post Link to post Share on other sites
willithappen 194 Posted March 26, 2016 I've quite stupidly managed to read the version number incorrectly... Confused as to why there was no error however telling me the EH doesn't exist? Share this post Link to post Share on other sites
killzone_kid 1326 Posted March 26, 2016 Confused as to why there was no error however telling me the EH doesn't exist? Because there are no errors: player addEventHandler ["BlahBlahBladiblah", {}]; // no error Share this post Link to post Share on other sites