Author Topic: Death Related Events  (Read 726 times)

Ok, so basically I've been wanting for a really long time an event that checks the following:

OnKilled: Ah crap, the player is dead. Now use Killer to find out who did it!
Example:
0 OnKilled > Killer(client) > ChatMsg [<color:FF00FF>YOU TROLL!!1

OnKill: Hah! I killed some guy! Maybe now I'll get some money in a VCE shop or something?
Example:
0 OnKill > Client > VCEModVariable > [Killed] Set [<var:player:killer>]
1 OnKill > Client > VCEIfVariable > [Level] >= [5] [2 2]
2 OnVariableTrue > Killer(client) > VCEModVariable > [Cash] Add [50]
After killing the person, that person's Variable 'Killer' was set to the killer's name automatically.
Killer(client), Killer(player), Victim(client) and Victim(player) should be added to OnVariableTrue/False, OnVariableUpdate, and other similar events for usefulness.
The Killer's client got 50 bucks from killing that person level 5 or under.
Maybe there could be a OnKill(Global) and OnKilled(Global) to determine when ANYONE in server killed or was killed.

Shazam, You now have advanced EXP gain systems for RPGs and Pokemon mods, Wanted levels for fully Event Governed CityRPGs (which I noticed one was being made, this could help him), and so much more!

Whoever has the VCE knowhow and event-making experience,  :cookie: :cookie: :cookie: for you. If you see this and don't take the time to try? SHAME! SHAAAAME! SHAAAAAAAAAAME! I HOPE THE COOKIE MONSTER BREAKS INTO YOUR PANTRY!!!
But seriously, It would be greatly appreciated. Thanks!


Oh remember,  :cookie:!

Don't we got these already, or were they part of bot events?

Don't we got these already, or were they part of bot events?
yeah, I think they were in the bot events.

On Topic: yeah, this could be done through SCRIPTS, but events? no, I don't think it would work. I mean, it would be activated to the brick. it would not be global, it would be if it somehow happens to the brick (or something). it is extremely hard to explain. this could not be done for players. however, it could for bots, if for some reason, someone makes another/gets around the crc for the bot events.

But the bot events can't see if players died or killed. Maybe someone could just make it get client id with the same events but apply it towards the player?

Also global can be done, Like OnMinigameSpawn event. I'm thinking someone dies and the brick fires an OnKilled sequence and continues from there.

It can't be too hard if you're doing it using Bot Events as a base, just changing around some values to make it apply to the client, not the bot.

Someone just needs to rip apart the scripts and screw some things up, then fix it, then screw it up again, get help, put it back together, bam. Death events.

I tried it myself with a few add-ons, Managed to edit CityRPGs Drugmod into cookies and cake without errors, changed the sounds and icon pictures, it works out well. Maybe if I tried hard enough, but that's 9 days i simply don't have right now. :\
If anyone else could try, they would most likely be more experienced than me and so it will take less time, so please, have a bang at it. Thanks!

Ima go screw with the scripts a bit...
« Last Edit: October 22, 2012, 03:15:08 PM by Portalboy »

Failure. I just don't know this stuff. I will have to rely on you guys, post what you find or make!

i feel like minigame events have this for some reason
even if it doesn't, you could try using VCE to check if the person is dead if this isn't made

i feel like minigame events have this for some reason
even if it doesn't, you could try using VCE to check if the person is dead if this isn't made

Need the onplayerkilled input from bot events for that to work.


Whoever has the VCE knowhow and event-making experience,  :cookie: :cookie: :cookie: for you. If you see this and don't take the time to try? SHAME! SHAAAAME! SHAAAAAAAAAAME! I HOPE THE COOKIE MONSTER BREAKS INTO YOUR PANTRY!!!
But seriously, It would be greatly appreciated. Thanks!


Oh remember,  :cookie:!


My sides

Need the onplayerkilled input from bot events for that to work.
it isn't in minigame events?
then go with VCE for now

it isn't in minigame events?
then go with VCE for now

Maybe it is minigame events.

And the killer and killer(client) fields exist along with everything else but the input in the OP.  Just replace onkill with onminigamekill.

no idea minigame events had this! Thanks!
Oh btw, Bot events' OnPlayerKilled only works when a BOT kills a player, at least im pretty sure.

Thanks guys!