Difference between revisions of "List of all event conditions"
(Created page with "== Win/Loss conditions == These are event conditions that can be used in triggered events that control win/loss. ===HAVE_ARTIFACT=== Any player hero must hold an artifact * po...") |
(No difference)
|
Revision as of 12:57, 30 December 2013
Contents
Win/Loss conditions
These are event conditions that can be used in triggered events that control win/loss.
HAVE_ARTIFACT
Any player hero must hold an artifact
- position - N/A (TODO: hero that must obtain the artifact? Or even merge this with "transport"?)
- type - required artifact ID
- value - N/A
HAVE_CREATURES
Player must control certain number of creatures
- position - N/A
- type - creature ID to collect
- value - required amount of creatures
HAVE_RESOURCES
Player must have certain amount of resources
- position - N/A
- type - resource ID
- value - required amount of resource
HAVE_BUILDING
Player must control certain building, also includes H3 "build Grail" condition
- position - town in which this structure must be built, optional
- type - building ID to construct
- value - N/A
Note: if position is not set - building can be built in any town
CONTROL
Covers all conditions that require certain object(s) to be controlled by player
- position - position of object to control, optional
- type - type of object to control.
- value - N/A
Note: If position is not set - all objects of this type must be captured
DESTROY
Covers objections where player must destroy certain object(s)
- position - position of object to destroy, optional
- type - type of object to destroy
- value - N/A
Note: If position is not set - all objects of this type must be destroyed
TRANSPORT
Transport artifact in certain town
- position - town to which this artifact must be transported
- type - artifact ID to transport
- value - N/A
DAYS_PASSED
Player must survive or win in certain number of days
- position - N/A
- type - N/A
- value - number of days for this objective to trigger
Note: covers both "win in X days" as well as "survive for X days" conditions, depending on block in which this objective will be placed.
IS_HUMAN
Helper condition to allow ai-only or human-only conditions
- position - N/A
- type - N/A
- value - 0 will trigger this objective for AI players, 1 will trigger it for humans
STANDARD_WIN
Standard win condition - defeat all enemies
- position - N/A
- type - N/A
- value - N/A
DAYS_WITHOUT_TOWN
Standard lose condition - stay for X days without towns
- position - N/A
- type - N/A
- value - number of days to survive, 0 = player dies on the next day.
Note: another part of standard lose condition - no heroes/towns is hardcoded.