Harkonin 0 Posted November 7, 2003 Anyone know the Engine eventhandler off the top of their head? Can't get the darn syntax or format right this addEventHandler["engine",{(_this + ["on"]) Exec "yadayada.sqs"}] Share this post Link to post Share on other sites
BraTTy 0 Posted November 7, 2003 Maybe? <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this addEventHandler["engine",{ if (_this select 1) then  [variables here] Exec "yadayada.sqs"}] Not sure ,i don't usually add eventhandlers external from the addon Share this post Link to post Share on other sites
Doolittle 0 Posted November 7, 2003 Just always always always put player sideChat format ["%1", _this] inside the script being called to see what it's being sent. this addEventHandler ["engine", {_this exec "yadayada.sqs"}] Doolittle Share this post Link to post Share on other sites