User Tools

Site Tools


api:game_condition

GAME_CONDITION

Deprecated names:

  • EVENT_CONDITION

Abstract class
Category: Data

Inherited by:

Cloneable

Properties


OptionalName

Serialized

  • Type: string
  • Expected: string value

CanConditionBeMetAtStart

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

IsNeedExecution

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

IsOptional

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

IsUsedForTitle

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: true

IsAReason

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

IsReverseCondition

Serialized

If condition is true, we consider it as false and vice-versa

  • Type: boolean
  • Expected: boolean value
  • Default value: false

ConditionOnMetAction

Serialized

What do we want to do when the condition is true.
TOGGLE: Will toggle between MET/UNMET.
FAIL: When condition is true, this condition will enter a FAILED state and won't change.
SUCCEED: When condition is true, this condition will enter a SUCCESS state and won't change.

api/game_condition.txt · Last modified: 2022/11/17 19:03 (external edit)