Author Topic: working H&K weapon pack download  (Read 2443 times)

Basically, how this would work is it would target the player with the most score/points in the host's minigame. If two or more players have the same amount of score, it would select a player randomly.
I haven't found this event anywhere so I was wondering if someone could make it.

It would also be useful if it could target the MVP of a certain team.


I now need a working H&K's download. The link here says it is invalid and won't let me download the file. I'm also worried about downloading the alpha version of it due to it being alpha and not finished yet.
So I was wondering if someone had a working version.
« Last Edit: May 06, 2017, 04:30:52 PM by Mad Hops Disease »

how would this work? do you want something like onMVPActivate ?

how would this work? do you want something like onMVPActivate ?
No.
It would work like this.
onActivate > MVP
So the event targets the player with the most points on a team or a minigame. The MVP is not activating the event. It comes from an outside source.

have to rewrite the event inputs, might not work on every event

have to rewrite the event inputs, might not work on every event
could you work around it with onActivate > player > targetMVP
onMVP > MVP > etc

This is easily possible! Just use the "Event Targets" system that I wrote for Slayer.

http://www.greek2me.us/code/Support_EventTargets.cs

could you work around it with onActivate > player > targetMVP
onMVP > MVP > etc
Seems more work to do, but:

This is easily possible! Just use the "Event Targets" system that I wrote for Slayer.

http://www.greek2me.us/code/Support_EventTargets.cs
Thanks for this!

Here's what you guys can do (if I am correct):
registerEventTarget("MVP(Player) Player", "fxDtsBrick", "%client.isMVP");
registerEventTarget("MVP(Client) GameConnection", "fxDtsBrick", "%client.isMVP");


Then in some code you would make a loop every couple seconds or so seeing if whoever has the highest score is MVP.
« Last Edit: April 30, 2017, 12:19:18 PM by Kyuande »

Correct, except that instead of doing the loop thing, you can just make %client.isMVP a function, %client.isMVP(), and then do the check there.

Also, you may wish to remove the prerequisite (the "fxDtsBrick" parameter - make it "").
« Last Edit: May 01, 2017, 01:02:50 AM by Greek2me »

Bump. OP updated with a new request.