• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Script that spawns random items

dominique120

Science & Reason
Senator
Premium User
Joined
Jun 16, 2013
Messages
3,881
Solutions
3
Reaction score
1,046
Location
Númenor
Does someone have a script that can spawn random items in random locations on the map? Can be anything from corpses to weapons, coins I dont really care as long as they can be cleaned. They cant be in houses because they cant be cleaned.

Something to spawn like 1k items in unpopulated(non-blocking)tiles so that the clean script can clean them. Something that works as a globalevent with an interval. I'm using TFS 1.0

Thanks a ton! :D
 
Last edited:
http://otland.net/threads/rain-items-event.185225/

You can make this into a globalevent by changing onSay to onThink.
Not sure what you want exactly, but if it should be different than this, post how it should work exactly.

I could modify this to suit my needs.

What I need is just to generate ranrom items, does not matter where or which ones as long as they can be cleaned by the server. I want to test the performance of the clean map functions of TFS 1.0, so I need items to clean.
 
Back
Top