Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
Weapons laying around the map (IObjectWeaponItem in script) does not disappear after a while like normal weapons spawn from crates when:
- Created by IGame.CreateObject(). Example:
It would be cool to have an option to despawn weapons in certain circumstances. Something like IPlayer.GiveWeaponItem(WeaponItem weapon, bool canDespawn = false)
Added the following after v.1.3.4 to IObjectWeaponItem:
float DespawnTime, void SetDespawnTime(int despawnTimeMs), bool Despawning, bool BreakOnDrop, void SetBreakOnDrop(bool value) to be able to control in a bit more detail how and when items in the world should despawn. See ScriptAPI documentation for more details after v.1.3.4.