Behavior : Monopoly movement

Author:Rex.Rainbow

Download

Properties

Face to (Square)

  • Face direction in square board.
    • Options : ["Right","Down","Left","Up"]

Face to (Hexagon Up-Down)

  • Face direction in Up-Down hexagon board.
    • Options : ["Down-right","Down","Down-left","Up-left","Up","Up-right"]

Face to (Hexagon Left-Right)

  • Face direction in Left-Right hexagon board.
    • Options : ["Right","Down-right","Down-left","Left","Up-left","Up-right"]

Forked road

  • Direction selection on forked road.
    • Options : ["Forwarding","Random"]

Actions

Face direction

Action:Set face by number

  • Set face direction by number.
    • Face to ( number ) : Face direction.

Face direction: Left-Right hexagon

Action:Set face

  • Set face direction in hexagon board.
    • Face to ( Combo ) : Face direction.
      • Options : ["Right","Down-right","Down-left","Left","Up-left","Up-right"]

Face direction: Up-Down hexagon

Action:Set face

  • Set face direction in hexagon board.
    • Face to ( Combo ) : Face direction.
      • Options : ["Down-right","Down","Down-left","Up-left","Up","Up-right"]

Face direction: square

Action:Set face

  • Set face direction in square board.
    • Face to ( Combo ) : Face direction.
      • Options : ["Right","Down","Left","Up"]

Forked road

Action:Set direction selection

  • Set direction selection on forked road.
    • Mode ( Combo ) : Direction selection on forked road .
      • Options : ["Forwarding","Random"]

Forwarding path

Action:Get forwarding path

  • Get forwarding path.
    • Moving points ( number ) : Moving points.

Moving cost

Action:Set cost

  • Set moving cost. used under "condition:On get moving cost"
    • Cost ( number ) : Moving cost.

Random

Action:Set random generator

  • Set random generator object.
    • Random generator ( object ) : Random generator object

Solid

Action:Set solid

  • Set solid. Used under 'condition: On get solid'.
    • Solid ( Combo ) : Solid property.
      • Options : ["No","Yes"]

Action:Set solid by number

  • Set solid. Used under 'condition: On get solid'.
    • Solid ( number ) : Solid property. 0=Disable, 1=Enable.

Action:Set move-able

  • Set move-able. Used under 'condition: On get solid'.
    • Move-able ( Combo ) : Move-able.
      • Options : ["No","Yes"]

Action:Set move-able by number

  • Set move-able. Used under 'condition: On get solid'.
    • Move-able ( number ) : Move-able. 0=Disable, 1=Enable.

Expressions

Moving cost

Expression:STOP

  • STOP property used in cost function, used in action:"Set moving cost". The value is (-1)

Moving ponts

Expression:TotalMovingPoints

  • Get total moving points of current moving.

Moving result

Expression:TargetFaceDir

  • Get the latest face direction

Expression:TargetLX

  • Get target logic X of the latest moving result

Expression:TargetLY

  • Get target logic Y of the latest moving result

Target tile

Expression:TileUID

  • Get UID of target tile. Used under "condition: On get moving cost", "condition: On forked road", "condition: On get solid"

Expression:TileLX

  • Get logic X of target tile. Used under "condition: On get moving cost", "condition: On forked road", "condition: On get solid"

Expression:TileLY

  • Get logic Y of target tile. Used under "condition: On get moving cost", "condition: On forked road", "condition: On get solid"

Conditions

Forked road

Condition:On forked road

  • Triggered when moving on forked road, assign direction by "action: Set face".

Forwarding path

Condition:Empty

  • Return ture if forwarding path is empty.

Moving cost

Condition:On get moving cost

  • Customize moving cost of each target tile.

SOL: forwarding path

Condition:Pop tile

  • Pop one tile instance of forwarding path.
    • Object ( object ) : Object for picking

Condition:Pop the last tile

  • Pop the last tile of forwarding path. It will clean all tiles of forwarding path.
    • Object ( object ) : Object for picking

Solid

Condition:On get solid

  • Customize solid of each target tile.