_idact = -1; while { true } do { waitUntil{ sleep 0.3; alive player }; _idact = player addAction ["" + localize "STR_GREUH_EXTENDED_OPTIONS_ACTIONMENU" + "","GREUH\scripts\GREUH_dialog.sqf","",-1000,false,true]; waitUntil{ sleep 0.3; !alive player}; };