ObjCondition Counter

From Tripwire Interactive Wiki
Jump to navigation Jump to search

Description


Counter conditions are similar to triggered conditions in that they wait for events that match their 'tag value. In their default state they simply count up the number of times they are triggered. They can also be used to count the number of currently active human players, or to count the total amount of cash a team has collected.

Configurable Properties

Variable Name Variable Type Description
CountType Enum Configures the counter to count different types of things. If you plan to trigger it with events, just leave this value at 'CT_Default'.
NumToCount Int If 'CountType' is CT_Default, this is the number of times you want this counter to be triggered before it is considered complete. If it is CT_Cash it's the amount of money you want players to attain. If it's CT_PlayerCount it's the number of players.

Back