Quote:
Originally Posted by Ramono
( this infomation is stored in the entity called "info_tfdetect" ill try to come with more infomation about this later.)
|
the entity info_tfdetect has this 4 keyvalue's
Code:
team1_allies BLUE
team2_allies RED
team3_allies YELLOW
team4_allies GREEN
if team3_allies(green) containes 1 blue is an ally
and if it contains 2 red is an ally
and if its 3(1+2=3) blue and red are both ally's
so this are the flags
Code:
1 = blue
2 = red
4 = yellow
8 = green
Another example: if team2_allies(red) contains 13( 1+4+8 ) blue yellow and green are all ally's of red
ps: its not needed to give a team his own ally flag.
__________________