Goal

Learn more about event goals.

An EventGoal has 5 properties

event_example: #Here is an example of how it is used in the scripts
    event_type: CHAT
    event_goal:
      type: NUMBER
      condition: '>'
      start: 0
      goal: 10
      increase-value: true
      change-value: true
    actions: action_test

type (T): This will define what you will be able to enter in the start and goal fields. Either numbers or text

condition (C): This will be the condition that will be taken with start and goal, once the condition between these two is fulfilled the event will execute the actions and return to the start again.

start: This will be the property with which the goal starts, it can be a number or text. (Placeholders can be placed)

goal: This will be the property with which the goal ends, it can be a number or text.

increase-value: This will only work if start and goal are numbers, this can be used as true or false.

change-value: If this is set to true and the conditional type is a number then the start value will change until the goal is reached. If false it will not make any change.

Conditions

  • ==

  • >=

  • <=

  • >

  • <

TYPES

  • STRING

  • NUMBER

Last updated