barbolani 198 Posted February 11, 2014 Hello scripting gurus... Help! On init of player: this addEventHandler ["fired", {_this exec "evacuacion.sqf"}] Script: _magazine = _this select 5; _chemlight = _this select 6; if ( _magazine == "Chemlight_green" ) then {hint "chemlight!"} else {hint "no chemlight"}; No hint appears! If I place a hint format ["magazine fired %1",_magazine] it shows the magazine perfectly.... I'm lost... I want this for a confirmation to AI chopper about where to land (créate an invisible helipad and so on) Share this post Link to post Share on other sites
f2k sel 164 Posted February 11, 2014 your not calling the script correctly your using exec and it should be execvm this addEventHandler ["fired", {_this execvm "evacuacion.sqf"}] Share this post Link to post Share on other sites
barbolani 198 Posted February 12, 2014 OMG Thanks man. In a thousand years I wouldn't noticed.... Caused by copy / pasting from COMREF (I'm a lazy bastard) Thanks! Share this post Link to post Share on other sites