iceman77 18 Posted October 26, 2007 I have a trigger set to radio alpha.It creates a vehicle on an invisible H pad named "armor".When the vehicle spawns ,it always faces north. How do i set the direction the vehicle faces when it spawns in? TRIGGER: RadioAlpha Condition:this On act:m113 = "m113" createvehicle getpos "armor"; any help would be appreciated.. Share this post Link to post Share on other sites
Operator of dissidence 0 Posted October 26, 2007 Hi Texas*BDA*, Â Â If you're talking about a fixed direction; that should be easy enough. Just add m113 setDir <number between 0 and 360>; i.e. make it face east. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> m113 = "M113" createvehicle getpos armor;m113 setDir 90 Share this post Link to post Share on other sites
Kirby 2 Posted October 26, 2007 There is also a way you can randomly set its direction (good for abandoned cities and stuff) but i can't remember. PM me or reply here if you really want it. Share this post Link to post Share on other sites
zaphod 0 Posted October 26, 2007 ...for random direction use: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> m113 setdir random(360); regards, zap Share this post Link to post Share on other sites