Restrict Prefab spawn position(alpha16.4)

It does not guarantee anything about defects and damage that occurs when you run this program. Please use at your own risk.


This SDX Sample sets the spawn position of the prefab within the specified range from the center of the world.
prefab.xml //prefab/property[@name='WorldSpawnRangeMin']/@value
Minimum distance from the world center of the prefab spawn location.
prefab.xml //prefab/property[@name='WorldSpawnRangeMax']/@value
The maximum distance from the world center of the prefab spawn location.

<prefab>
<property name="WorldSpawnRangeMin" value="3000" />
<property name="WorldSpawnRangeMax" value="6500" />
</prefab>

this mod used by 7 days to die mod editor

related links



top page