How to spawn purchased vehicles on a building part?

  • Offline night
  • First Blood
  • ***
  • Posts: 94

How to spawn purchased vehicles on a building part?

« posted: Dec 07, 2017, 01:10 AM »
Hey

So we made a custom store that is located on a bunch of pier parts(similar to https://i.imgur.com/Kqie7rP.jpg ) to make the basis flat. We put the marker on it but the vehicles spawn on the next available piece of ground land, about 50m away from desired location. I don't see any way to set marker height. Is there a way to force spawn them on the pier?
  • Offline ShineDwarf
  • First Blood
  • ***
  • Posts: 79
  • Co-Owner, Fractured Gaming

Re: How to spawn purchased vehicles on a building part?

« Reply #1 posted: Dec 07, 2017, 05:50 PM »
I believe you need to add this:

Code: [Select]
  this setVariable [""R3F_LOG_disabled"", true]; 

To each object in your mission file first. Otherwise those objects are still considered moveable etc
  • Offline AgentRev
  • Developer
  • Veteran
  • ******
  • Posts: 2488

Re: How to spawn purchased vehicles on a building part?

« Reply #2 posted: Dec 08, 2017, 04:17 AM »
What ShineDwarf said is completely irrelevant.

With v1.3c and beyond, normally if the store NPC is placed above water, ground vehicles will spawn exactly on the VehStoreX_landSpawn marker, at the same height as the store NPC. The same applies to heliSpawn and planeSpawn.

If the store NPC is above land, then it will try to find a safe location to spawn ground vehicles within 50m of the marker, with water considered unsafe.
  • Offline night
  • First Blood
  • ***
  • Posts: 94

Re: How to spawn purchased vehicles on a building part?

« Reply #3 posted: Dec 08, 2017, 06:15 AM »
Thanks man, much appreciated!