Author Topic: Slayer / IfPlayerScore / Sort Weight  (Read 1210 times)

Problem #1: Is there a sort weighting option for Slayer? Am I missing it? Is there a different name for it in Slayer? I need to make one team start with one player and the other to start with the rest of the people in the server, but I can't find the sort weight option.

Problem #2: In the minigame, when you die, your score decreases by 200 points. When you respawn, I have an event that, OnPlayerTouch, checks your points to see if you have the right amount. When you have less than 0 points, you get sent to the other team (the team that starts with 1 player) and if you have 0 or more, you stay on your team. I am using the JoinTeam eventt that came with slayer, and these events are not working. I clearly have the right amount of points when I check the player list, but the event is still not working. I have come to believe that the IfPlayerScore event does not work with Slayer points. Am I doing something wrong? Is there an add-on with more events for Slayer?

Information that may be needed:
>I have only downloaded the add-on "Throwing Knife" recently
>I only have the add-ons needed (which isn't too many) enabled
>I have triple checked the events and they are correct

1) No, there is no autosort weighting currently. However, I plan to include it in the upcoming version.
https://bitbucket.org/Greek2me/slayer/issue/5/autosort-weighting

2) Can you show me the events that you have? Also, the joinTeam event uses the team name, not the team number.

Can you show me the events that you have? Also, the joinTeam event uses the team name, not the team number.



You get no points for anything except dying. When you die, you lose 200 points. When you don't have 0 points (you have died), you get sent to the "Infected" team.

2 and 3 are CenterPrint messages.

1) No, there is no autosort weighting currently. However, I plan to include it in the upcoming version.
https://bitbucket.org/Greek2me/slayer/issue/5/autosort-weighting
^Do this^

I believe that you should use ifPlayerScore < 0 rather than ifPlayerScore == 0.

And no worries, I'll work on it.

I believe that you should use ifPlayerScore < 0 rather than ifPlayerScore == 0.

And no worries, I'll work on it.
I'll try it and ^Do this^

I am working on this game and it needs it.

I believe that you should use ifPlayerScore < 0 rather than ifPlayerScore == 0.
This didn't work. I still think that maybe IfPlayerScore doesn't work with Slayer.

Probably the same thing, but try using <var:cl:score>, and, you know, normal vce, not that retro stuff.

On the first line of events you have this in the last box: "1 2 3". I'm pretty sure it should just be "1 3", because it includes everything in between.

Probably the same thing, but try using <var:cl:score>, and, you know, normal vce, not that retro stuff.
I don't know how to do this.
On the first line of events you have this in the last box: "1 2 3". I'm pretty sure it should just be "1 3", because it includes everything in between.
This didn't work.
No, there is no autosort weighting currently. However, I plan to include it in the upcoming version.
https://bitbucket.org/Greek2me/slayer/issue/5/autosort-weighting
Again, do this^

onPlayerTouch => Self => VCE_ifValue =>  <var:cl:score>  >= 0

And yes I'll work on it.

onPlayerTouch => Self => VCE_ifValue =>  <var:cl:score>  >= 0

And yes I'll work on it.
This didn't work. And you better^