This is an old revision of the document!
This system is technically unlimited: it can support any object type, any number of object, spawn condition or spawn location… but for now it is very limited. If you need an extra feature, please request it instead of making your own system.
Objects will spawn during a scripted area event called “WokeUp” (msds_wokeuparea) and despawn during an area event called “Area Suspend” (msds_suspendarea). Both events can be registered on a specific area with the following variable event:
You can control when the objects will spawn with the following variables:
|SPAWN_CHANCE||Integer||Percent of chance that the object(s) spawn|
|SPAWN_TIME||Integer||1 = Spawn only during the day
2 = Spawn only during the night
|SPAWN_FREQUENCY||Integer||Minimum number of seconds after which to re-spawn the objeects. By default objects will re-spawn after that the area has been “suspended” which happen when a player enter the area after that no player has been in it for a number of seconds define by the MSDS_SUSPEND_AREA_TIMER variable here: msds_include. This variable can only extend this duration and the spawning will still only happen in the area “woke-up” event.|