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

Zombie Event BETA! [Tfs 1.0] Vers: 0.5

As you metion, last one who survives wins.
 
As you metion, last one who survives wins.
how can one make it so that all who survive gains a prize? like a team effort?
and waves get harder with new creatures added to each wave. Ive seen the event like this before but the person wont share the script
 
Learn lua or wait until me or someone else to make it. :p
 
so how does this event function? Is it so that zombies attack you and you loose or must all players fight untill one remains or must all survive X number of waves?

Best way would be all players fight to survive X number or waves, each player gets 3 lives or 3 attempts, at end of waves all players get a prize.
I really like your idea
 
If youll be my mentor ill do my best to learn :D
gonna dive into 1.0 tonight actually
Haha im not the best mentor :)

Its great to see that you are trying atleast to learn. Belive me, when i was a beginner i had no idea and i thougt i would never learn. But after some time, it just make sense when you are coding the stuff :)

Btw im not studdying programming in any sort, its just a hobby ^^

I started to learn from this:
http://otland.net/threads/scripting-guide.74030/
 
tidy as it happens .. when he tries to summon the zombie helps ...

_upload_3.jpg
 
You should add a onTime inside globalevents instead of an interval :)
 
Good job to me if I work, but a silly question, how long is interval = "7200000"

greetings and thanks for your good work in the community.:D


edited

Sorry, but rectify is wise, I did not have any problem starting the server, but now when I put this event starts:


Code:
Zombie Event has started & waiting for players to join! Min: 1/5.

Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/zombie_think.lua:onThink
data/compat.lua:760: attempt to call field 'broadcastMessage' (a nil value)
stack traceback:
        [C]: in function 'broadcastMessage'
        data/compat.lua:760: in function 'broadcastMessage'
        data/globalevents/scripts/zombie_think.lua:7: in function <data/globalev
ents/scripts/zombie_think.lua:3>
[Error - GlobalEvents::think] Failed to execute event: zombie

thanks and regards
 
Last edited:
Sorry, but rectify is wise, I did not have any problem starting the server, but now when I put this event starts:


Code:
Zombie Event has started & waiting for players to join! Min: 1/5.

Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/zombie_think.lua:onThink
data/compat.lua:760: attempt to call field 'broadcastMessage' (a nil value)
stack traceback:
        [C]: in function 'broadcastMessage'
        data/compat.lua:760: in function 'broadcastMessage'
        data/globalevents/scripts/zombie_think.lua:7: in function <data/globalev
ents/scripts/zombie_think.lua:3>
[Error - GlobalEvents::think] Failed to execute event: zombie



thanks and regards[/QUOTE]
 
Sorry, but rectify is wise, I did not have any problem starting the server, but now when I put this event starts:


Code:
Zombie Event has started & waiting for players to join! Min: 1/5.

Lua Script Error: [GlobalEvent Interface]
data/globalevents/scripts/zombie_think.lua:onThink
data/compat.lua:760: attempt to call field 'broadcastMessage' (a nil value)
stack traceback:
        [C]: in function 'broadcastMessage'
        data/compat.lua:760: in function 'broadcastMessage'
        data/globalevents/scripts/zombie_think.lua:7: in function <data/globalev
ents/scripts/zombie_think.lua:3>
[Error - GlobalEvents::think] Failed to execute event: zombie



thanks and regards
[/QUOTE]

Do you have
function broadcastMessage(message, messageType)
Game.broadcastMessage(message, messageType)
print("> Broadcasted message: \"" .. message .. "\".")
end
in compat.lua?
 
Back
Top