Author Topic: Event for checking a client's Slayer team  (Read 701 times)

Is there any such thing? I googled it but I only found such an event for the old Team Deathmatch.

If there isn't, could someone make it?

Iirc there are one or two VCE values for it

+1 Support, This could be really useful. I did HL2 Prints for myself (didn't really liked them so didn't upload) There is a combine lock. I could use this to make it a real lock.

+1 Support, This could be really useful. I did HL2 Prints for myself (didn't really liked them so didn't upload) There is a combine lock. I could use this to make it a real lock.
I think you got the wrong thread.
That's happened to me, I think.
Probably.

Iirc there are one or two VCE values for it
Yep, they are:
<var:cl:team>
<var:cl:teamname>

I think you got the wrong thread.
That's happened to me, I think.
Probably.

I meant i can use this like

OnActivate > Player > CheckSTeam
IfTeam > teamname > door > toggle

For one, it would be more appropriately put like this:
I meant i can use this like

onActivate > Client > checkSlayerTeamName "teamname" "event lines"
onTeamMatch > Self > door > Toggle

Second, pay attention to what people are saying:
Iirc there are one or two VCE values for it
Yep, they are:
<var:cl:team>
<var:cl:teamname>

Download Event_Variables.zip, Event_VariableReplacers.zip, and Event_MoreVariableReplacers.zip from one of the RTB archives or other large Add-On archives, then do this event:

0.  00  onActivate » Self » VCEifValue "<var:cl:teamname>" [==] "(your team name here)" "1 1"
1.  0  onVariableTrue » Self » door [Toggle]

i can work on this, shouldn't be that hard