Author Topic: how do i make teams in minigames  (Read 1231 times)

you know what ill just work on it and figure it out

i dont get it when i try to take the flag it wont take it and my vars are teamred and the events for the flag are onplayertouch selfifvar player teamred = 1
variabletrue namedbrick blueflag dissapear -1
variabletrue minigame chatmsgall %1 has taken the flag
and im certain it should be working but it isnt

ok im having some probs with checkpoint spawns here are vents
blue spawn onplayertouch self ifvariable player teamred notequals 1
variabletrue player setvariable teamblue 1
variabletrue self setascheckpoint
red spawn onplayertouch self ifvariable player teamblue notequals 1
variabletrue player setvariable teamred 1
variabletrue self setascheckpoint

my prob is that when i touch he red it sets it as a checkpoint and the blue should be a checkpoint when i touch it when i killl myself before i touch the blue brick and get my vars back (same thing when i dont kill myself) when i touch the blue bric its set a a checkpoint but this doesnt hapen with it reversed

now i relize why the flag wosnt working it was the spawns