Hey people, I was wondering if someone
more experienced than me could help me with a script that I am trying to setup.
I'm trying to make commands for SWAT 4. What I am trying to do is set conditions for Team colors.
(For those that don't know the game, what I mean with team colors is that your squad/team is divided into three color coded teams; Red and Blue, and Gold for All)
The Controls for switching Colors is TAB, and it circles through them (Gold > Red > Blue >Gold).
Example Values: Gold = 1 ; Red = 2 ; Blue = 3
if Gold is selected, nothing should happen and it should leave it on value 1(Gold).
If Red is selected, press TAB twice to go to Gold and change the condition to value 1(Gold).
If Blue is selected, press TAB once to go to Gold and chance the condition to Value 1(Gold).
If Gold is selected, press TAB once and change the condition to value 2(Red).
If Red is selected, nothing should happen and it should leave it on value 2(Red).
If Blue is selected, press TAB twice and chance the condition to value 2(Red)
If Gold is selected, press TAB twice and change the condition to value 3(Blue).
If Red is selected, press TAB once and change the condition to value 3(Blue).
If Blue is selected, nothing should happen and it should leave it on value 3(Blue).
These are my attempts to set this up, but it is not working properly for some reason I can't explain.
If someone who knows a bit more about these commands could correct my mistakes, that would be awesome.
Gold ; Red ; Blue


