uiox 0 Posted March 28, 2003 If you want fire heat120 with your M16 download heat 120 bullets for M16 Have fun! Share this post Link to post Share on other sites
Guest jacobaby Posted March 29, 2003 even better do this in the init line of any unit </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this addweapon "Rocket57x192" <span id='postcolor'> Share this post Link to post Share on other sites
uiox 0 Posted March 29, 2003 I too </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this addEventHandler ["fired",{_M = nearestObject [this, _this select 4];_B = "Shell125" createvehicle getpos _m;_B setvelocity (velocity _m)}] <span id='postcolor'> </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">removeallweapons this; this addmagazine "Rocket57x192"; this addweapon "Rocket57x192" <span id='postcolor'> I have test your tip, funny too, but the player don't have a gun in his hand, and try to do heat120.... Share this post Link to post Share on other sites
uiox 0 Posted March 30, 2003 Just share.... Don't care Just for the guy like me //not alone, give the possibility of scriting the world... _thinking = getvelocity (wind height) Bob Dylan Share this post Link to post Share on other sites
Doolittle 0 Posted March 30, 2003 I thought you couldn't use _temp variables in an event definition?? EDIT: I was wrong. You can... Doolittle Share this post Link to post Share on other sites