Hi thar!
does anyone know if there is a way to use A_JumpIf in combinition with what team you are in?
I think there should be because in the wiki special resides under variables and under special you can find Player_SetTeam.
But I really can't get it to work.
Thanks in advance,
Reddevilhunter
A_JumpIf team
RE: A_JumpIf team
You need some ACS and DECORATE:
Spoiler: teamitem.acs (Open)
Spoiler: decorate.txt (Open)
Code: Select all
TNT1 A 0 A_JumpIfInventory("TeamCounter", 4, "OnNoTeam")
TNT1 A 0 A_JumpIfInventory("TeamCounter", 3, "OnGoldTeam")
TNT1 A 0 A_JumpIfInventory("TeamCounter", 2, "OnGreenTeam")
TNT1 A 0 A_JumpIfInventory("TeamCounter", 1, "OnRedTeam")
Goto OnBlueTeam // Having no TeamCounters means you're Blue.