PlayPrey Posted June 21, 2014 Share Posted June 21, 2014 Hi, I want to find out how you spawn something at a very specific location, but I can't find out how to get coordinates for (example) "World.CreateVehicle(vec3)" I know how to get coordinates from ingame, and to give some starting values, X:306.10 Y: 31.65 Z: 4.20 Heading : 42.03 Since I have no real clue how to do this I have no previous code to show you, sorry. Thank you in advance. Link to comment Share on other sites More sharing options...
Rugz007 Posted June 21, 2014 Share Posted June 21, 2014 Wait for a sec I will tell you that Link to comment Share on other sites More sharing options...
Jitnaught Posted June 21, 2014 Share Posted June 21, 2014 (edited) Vehicle veh = World.CreateVehicle(new Vector3(306.10f, 31.65f, 4.2f));veh.Heading = 42.03f; This? Wait for a sec I will tell you that Just tell them the answer, don't tell them to wait Edited June 21, 2014 by LetsPlayOrDy Wiebrendh 1 Link to comment Share on other sites More sharing options...
PlayPrey Posted June 21, 2014 Author Share Posted June 21, 2014 Vehicle veh = World.CreateVehicle(new Vector3(306.10f, 31.65f, 4.2f));veh.Heading = 42.03f;This? Thank you LetsPlayOrDy, that worked perfectly! Link to comment Share on other sites More sharing options...
Jitnaught Posted June 21, 2014 Share Posted June 21, 2014 Vehicle veh = World.CreateVehicle(new Vector3(306.10f, 31.65f, 4.2f));veh.Heading = 42.03f;This? Thank you LetsPlayOrDy, that worked perfectly! You are very welcome Wiebrendh 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now