• 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!

Lua Zombie event for 0.4 dev

Kudzu

Active Member
Joined
Apr 9, 2008
Messages
512
Reaction score
38
Location
localhost
Can someone fix this script? Oryg. thread http://otland.net/f82/creaturescript-movement-zombie-event-120106/
It all works good until zombies have to spawn:s There wont be spawning any zombies and i checked my monsters files and thats fine;s
I also already tried to use hint :
PHP:
doCreateMonster(config.zombieName, pos)
[27/02/2011 22:45:00] > Broadcasted message: "Zombie event starting in 1 minutes! The teleport will be closed when the event start!".
[27/02/2011 22:45:00] 0
[27/02/2011 22:45:00] [Error - GlobalEvents::timer] Couldn't execute event: zombieevent
[27/02/2011 22:45:02] > Broadcasted message: "Kasper entered the Zombie event! Currently 1 players have joined!".
[27/02/2011 22:45:02] 1 Players in the zombie event.
[27/02/2011 22:46:00] > Broadcasted message: "Good luck in the zombie event people! The teleport has closed!".
7982d1298655571-globalevents-zombie-0-4-dev-nowy-obraz-mapy-bitowej-2-.jpg
 
i had same problem.. now i figured a way to spawn 1 zombie yeey T_T , doCreateMonster < i put.. and ONLY 1 zombie spawned..
Ive no idea how to multiple that.. but maybe it works with you.. but u used bigger map then me or something.. T_T

besides i have no idea how players would get automatically send to the temple.. altho some player just did the event and he was sended back to the temple with some rewards.. etc..

Maybe you have any understanding how to multiple the zombiies T_T ? or position that would send them back to temple? ^^
 
aah got it fixed now.. only problem is.. if their in the field if someone touches the zombie he dead.. instantly.. how could i remove that :S?
i just changed this addEvent(spawnZombie, config.timeBetweenSpawns * 100) - addEvent(spawnZombie, config.timeBetweenSpawns * 100)
to 100 now they spawn immediately after event is started.. otherwise u have to wait few minutes.. for them to respawn T_T if not 10 minutes..
 
Back
Top