WurschtBanane 11 Posted February 7, 2017 Hi. I am spawning a jet via trigger by using this: _vehicleObject = "B_Plane_CAS_01_F" createVehicle (getMarkerPos "marker_spawn_A10");, but its always pointing towards 180. I want it to look towards 270 or so... you get it. Can anyone help me please? I know this is pretty basic and there is a thread covering this somewhere probably... couldnt find it though. Share this post Link to post Share on other sites
csk222 23 Posted February 7, 2017 https://community.bistudio.com/wiki/setDir Share this post Link to post Share on other sites
WurschtBanane 11 Posted February 7, 2017 Just now, csk222 said: https://community.bistudio.com/wiki/setDir I know, but i cant get it to work. Can you please give me an example of it? 1 Share this post Link to post Share on other sites
Nach 13 Posted February 7, 2017 if (isserver) then { _vehicleObject = createVehicle ["B_Plane_CAS_01_F", getmarkerpos "marker_spawn_A10 ", [], 0, "NONE"];_vehicleObject setdir 270; //check your angle for your position; }; I write >>> if (isserver) { yourscript }; // for no duplication vehicle by player in MP Good Edition by;)))))) Share this post Link to post Share on other sites
WurschtBanane 11 Posted February 8, 2017 Works, ty. I dont need isServer, im spawning it via a user action. Share this post Link to post Share on other sites
Midnighters 152 Posted February 16, 2017 something to note: when creating the vehicle, you'll need to use setPos afterwards to get an exact position if that is important. _vehicleObject = "B_Plane_CAS_01_F" createVehicle (getMarkerPos "marker_spawn_A10");_vehicleObject setPos getMarkerPos "marker_spawn_A10";_vehicleObject setDir 270; Share this post Link to post Share on other sites