User Tools

Site Tools


api:game_condition

GAME_CONDITION

Deprecated names:

  • EVENT_CONDITION

Abstract class
Category: Data

Inherited by:

Cloneable

Properties


DebugComment

Serialized

Unlocalized string for debug purposes (could show in some logs)

  • Type: string
  • Expected: string value

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: 2024/02/06 13:53 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki