Blockland Forums > Suggestions & Requests
OnOwnerDeath - Possible?
Muzzles56:
--- Quote from: Regulith on August 27, 2009, 06:24:20 PM ---It won't work.
--- End quote ---
It doesnt matter if the brick cant die. If a player dies, and any player, it could do something. Like cause an explosion
No brick death needed
Tingalz:
--- Quote from: Regulith on August 27, 2009, 04:16:13 PM ---That sounds cool.
--- End quote ---
Regulith:
--- Quote from: Muzzles56 on August 27, 2009, 06:30:07 PM ---It doesnt matter if the brick cant die. If a player dies, and any player, it could do something. Like cause an explosion
No brick death needed
--- End quote ---
What I'm saying is whenever OnPlayerDeath is requested, the answer always seems to be no.
http://forum.blockland.us/index.php?topic=81127.0
http://forum.blockland.us/index.php?topic=74743.0
http://forum.blockland.us/index.php?topic=67472.0
http://forum.blockland.us/index.php?topic=50533.0
Radioactive Cat:
Yeah, completely possible. All you need to do is find the event onplayerdeath=> and make a new folder making it onownerdeath=>. But I dont see any use for this. Maybe.
Ephialtes:
This would be impractical. It's very different from onPlayerDeath. You'd have to check all the bricks a player owns each time they die to see if they have an onOwnerDeath event that needs to be called. Won't happen.