ObjCondition Counter: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Description''' | '''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 | 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''' | '''Configurable Properties''' | ||
Line 15: | Line 14: | ||
|- | |- | ||
| 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. | | 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. | ||
|- | |- | ||
|} | |} | ||
[http://wiki.tripwireinteractive.com/index.php?title=Creating_Objectives Back] | [http://wiki.tripwireinteractive.com/index.php?title=Creating_Objectives Back] |
Latest revision as of 16:34, 6 November 2013
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. |