ASSS Questions - Keep up with flags(python) BDwinsAlt - Wed Aug 02, 2006 2:54 pm Post subject: Keep up with flags(python)
How can I keep track of how many flags a team owns (even if they neut). I am trying to lock a frequency when that team is winning the flag game.
I can keep up with flags one at a time but if someone kills you with like 7 flags then how do you know how many. I'm gonna look around myself again in a while.
Also, blah-er has my exact birthday.
Anonymous - Mon Aug 07, 2006 6:54 pm Post subject:
Can anyone please answer this question? I need the answer too thanks!
Cyan~Fire - Mon Aug 07, 2006 9:10 pm Post subject:
I'm confused. You want neuted flags to count as owned flags??
Purge - Tue Aug 08, 2006 12:18 am Post subject:
You can check the team of the last player who held the flags before neuting and count them as "owned" for that team, I guess.
BDwinsAlt - Tue Aug 08, 2006 6:23 pm Post subject:
Well If someone kills you and you had 14 flags, then how do I make it count 14 flags over to the other team. It will be 20 flags total. I'll probably have to use flagids to avoid a few issues.
Cyan~Fire - Wed Aug 09, 2006 11:27 am Post subject:
Wait... you're kidding right? The CB_KILL callback has a flag count.