Dateien

> > CS2D > Lua Scripts > Spawn NPC's on certain tiles
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Spawn NPC's on certain tiles >

2 Kommentare825 b, 400 Downloads

alt Spawn NPC's on certain tiles

AtomKuh
User Off Offline

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:
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
Zugelassen von Sparty

Download Download

825 b, 400 Downloads

Kommentare

2 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

_Lima_
User Off Offline

Nice, more.
Ich mag es!

alt

haha1955
User Off Offline

cool, pls more more more:D
Ich mag es!
Zum Anfang Vorherige 1 Nächste Zum Anfang