Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2015-04-25 17:30:02

Hexagon
Member
Joined: 2015-04-22
Posts: 1,213

[Help] How to handle death events

I know this has been posted somewhere (I tried to find it using the search); when a bot dies, how can it handle the death event so that it respawns correctly? What event do you listen for, then send the corresponding death message?

Offline

#2 2015-04-25 18:17:05

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: [Help] How to handle death events

When your bot touches something that should kill the bot, send "death".

Offline

Wooted by:
capasha1429982225498606

Board footer

Powered by FluxBB

[ Started around 1732490327.6205 - Generated in 0.020 seconds, 12 queries executed - Memory usage: 1.35 MiB (Peak: 1.43 MiB) ]