"Require All Npcs Die Before Unlocking": true
Doesnt seem to work anymore since last rust update, I can loot the chest while npc are still alive :)
Thanks for ur hard work nivex
"Require All Npcs Die Before Unlocking": true
Doesnt seem to work anymore since last rust update, I can loot the chest while npc are still alive :)
Thanks for ur hard work nivex
Im not able to loot until I kill the npcs
Hmh weird
"Unlock Time": {
"Min Seconds": 0.0,
"Max Seconds": 0.0,
"Unlock When Npcs Die": true,
"Require All Npcs Die Before Unlocking": true
},
Should be correct and i can steal the loot and it will despawn :P
Wasnt a problem before rust update but i guess ill figure it out then :P
Ah, I don't see how that ever worked tbh. I spawn the npcs 1 second after the event spawns, and having a time of 0 seconds would cause it to unlock instantly since the npcs wouldn't have spawned yet. It's explained in the documentation that the time be set high enough to give sufficient time for players to get to the event and start fighting over it.
Anyway, it's easy enough to implement
You can change
chest.SetUnlockTime(unlockTime)chest.Invoke(() => chest.SetUnlockTime(unlockTime), 2f);Ur the best