ObjCondition Counter: Difference between revisions
Jump to navigation
Jump to search
(Created page with "'''Description''' ---- Counter conditions are used to record triggered events that occur more than once. '''Configurable Properties''' ---- *'''CountType''' - ''Allows you...") |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''Description''' | '''Description''' | ||
---- | ---- | ||
Counter conditions are | 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''' | |||
{| class="wikitable sortable" style="min-width:75%;text-align:left;" | |||
---- | ! 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. | |||
|- | |||
|} | |||
[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. |