English Spawn NPC's on certain tiles icon

2 comments
02.06.19 10:58:13 pm
like 2 like it!
825 b, 36 Downloads
AtomKuh
User
Offline Off
I have recently played around with lua scripting and want to share my script with u now

What is it about?
You are able to select certain frames of a tileset for allowing NPC's to spawn there. You are also able to set the maximum amount of NPC's that are allowed on the entire map. The script will check the amount of NPC's which are alive and respawn NPC's on random tiles of the selected frames every minute. In addition, the respawn will not occur on tiles with monsters on them.

Configuration:
Code:
monstertiles = {1,2,3}
entiremob_amount = 150
NPC_ID = 1

This is an example for:
• Selected frames: 1,2,3
• 150 maximum monsters
• Zombies for Respawning (NPC ID: 1)

> Please do not use this script for your own
project without giving me credit.

Have fun
This file is unreviewed!
It may contain dangerous, inappropriate or poor contents. Use at your own risk.

Comments

2 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
03.06.19 09:51:24 am
like I like it!
Up
LiME1516
User
Offline Off
Nice, more.
02.06.19 11:00:18 pm
like I like it!
Up
haha1955
User
Offline Off
cool, pls more more more:D
To the start Previous 1 Next To the start