Content: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Background: Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Pattern: Blank Waves Notes Sharp Wood Rockface Leather Honey Vertical Triangles
Welcome to Xbox Chaos: Modding Evolved

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
AbandonedCashew

Support
How do I count how many temp players are on their team?

3 posts in this topic

I know how to count how many players are in the game, but I don't know how to count how many PlayerScratch0's are on their team. How do I do this?

Share this post


Link to post
Share on other sites

*stares blankly*

Yeah, what you're asking is a little vague. Generally you're going to be recycling scratches several times per tick, so if you want to count how many times a playerscratch is used, you're going to need to find anywhere it is used and add a variable operation to count it. Probably with a branch that checks team and increments a team-specific variable. That help?

Edited by Gordon

Share this post


Link to post
Share on other sites

Well... Okay I see that I could work that in. Basically I check if the amount of playerscratch0's on each team being = the amount of players on the team total. Ill try the numeric.

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0