Blockland Forums > Suggestions & Requests
Death Related Events
(1/3) > >>
Portalboy:
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:!
Gen. Hothauser:
Don't we got these already, or were they part of bot events?
Xanderian:

--- Quote from: Gen. Hothauser on October 19, 2012, 08:39:23 PM ---Don't we got these already, or were they part of bot events?

--- End quote ---
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.
Portalboy:
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...
Portalboy:
Failure. I just don't know this stuff. I will have to rely on you guys, post what you find or make!
Navigation
Message Index
Next page

Go to full version