D. Patterson 14 Posted November 30, 2014 So I have a script that randomly spawns a player at any Land_i_Shed_Ind_F on the map. However I want to spawn a HEMTT inside, or next to the shed. Safely 99% of the time. No getting stuck, no exploding, no crushing the player. How should I do this? Share this post Link to post Share on other sites
dreadedentity 278 Posted November 30, 2014 Use a combination of createVehicle with "CAN_COLLIDE" and modelToWorld. Since garages are small, and HEMTT's are quite large, you may wish to consider spawning your vehicle somewhere else, rotating it, then moving it to it's final position, as well. Share this post Link to post Share on other sites
jshock 513 Posted November 30, 2014 You could also use that inconjunction with BIS_fnc_findSafePos. Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted November 30, 2014 Some scripting commands that might be helpful: findEmptyPosition selectBestPlaces isFlatEmpty Unfortunately, I haven't used any of these yet so I can't come up with an example right away. Share this post Link to post Share on other sites