Jump to content

[MOD HELP] NPC won't spawn!


Fidooop

Recommended Posts

I have this code in my character's prefab.lua file

 

    inst:AddComponent("periodicspawner")
    inst.components.periodicspawner:SetPrefab("angry")
    inst.components.periodicspawner:SetRandomTimes(4800, 7200)
    inst.components.periodicspawner:SetDensityInRange(5, 5)
    inst.components.periodicspawner:SetMinimumSpacing(100)
    inst.components.periodicspawner:Start()
 
and on SetRandomTimes I had 30,31 and Angry would spawn every 30 seconds that way!
I upped the values so it'd be every 5-7 days and angry will not spawn at all! (I waited 11 days for him and still nothing)
 
anyone know what's wrong? thanks in advanced!!! ^_^
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...