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.
Hello everyone,
I've been having some real problems measuring death in my bots. I've tried using "tele", which seems to work maybe 70% of the time, along with x/y coordinates. But the problem is that users not moving don't "die" very often. It just doesn't register them at all. Is there a way to measure death that's 100% accurate, or do we need to ask the mods for a "die" trigger to be put in the game?
Offline
Have you tried to look at message "kill"?
EEPhysics have OnDie event. Have you tried that?
Offline
Agreed with Capasha: use the 'kill' event, and if you want the x/y of the respawn spot just combine it with the 'm' event (if 'tele' really doesn't work).
Offline
"kill" only registers when I "/kill" someone, hence it doesn't work.
Offline
The following conditions must be true:
- m.Type == "tele"
- resetcoins == false (m.GetBool(0) == false)
- players in message == 1 (m.Count == 4)
Things to note:
- /teleport uses the message type "teleport"
- /loadlevel /clear set resetcoins to true
- /respawnall causes the "tele" message to contain more than one player (unless there is only one player that isn't in god/mod/admin mode, in which case you can not reliably detect if someone died or not)
I have never thought of programming for reputation and honor. What I have in my heart must come out. That is the reason why I code.
Offline
just look at the death counter
reload the page for a new image, guys!! <3
Offline
just look at the death counter
How can a bot look at death counter of anybody in the room? ...
thanks zoey aaaaaaaaaaaand thanks latif for the avatar
Offline
All I can recommend is having a team changer just below the spawn so as soon as they spawn in, they hit that and when they enter the game/play field, they get teleported though a team change block.
Offline
[ Started around 1732668763.1352 - Generated in 0.043 seconds, 13 queries executed - Memory usage: 1.44 MiB (Peak: 1.56 MiB) ]