Author Topic: A small event question.  (Read 460 times)

Heres what i want:
When a player reaches a certain score (we will use 700) center print the player.

What i have:
Code: [Select]
OnMiniGameKill - Self - VCE_RetroCheck-[IfPlayerScore] == [700] []
OnVariableTrue - Client - CenterPrint [You have unlocked: AK47]

The above wont work. What could i do instead?

not sure what targets onminigamekill has, does it have the client of the killer?
I think currently it's using the brick owner, not the person doing the killing
and you could try using >= to see if it's working if you get above 700
also test if onminigamekill>self>setcolor works and what not to make sure the event doesn't have issues

not sure what targets onminigamekill has, does it have the client of the killer?
I think currently it's using the brick owner, not the person doing the killing

I am targeting the Killer client, however in order to VCE_RetroCheck i need to use the target "Self"

You could try this
Code: [Select]
[0] [x] [0] [OnMiniGameKill] [KillerClient] [VCE_ModVariable] [Kills] [Set] [<var:cl:score>]
[1] [x] [0] [OnMiniGameKill] [KillerClient] [VCE_IfVariable] [Kills] [==] [700] [ ]
[2] [x] [0] [OnVariableTrue] [Client] [CenterPrint] [You got a gun] [3]

Not entirely sure that will work, but it might.

can you check who is being targeted from the VCE_retrocheck? i'm not sure if it's the brick owner or the killer
and gen's looks like it should work