Plugin : Square Tx

Author:Rex.Rainbow

Download

Properties

Orientation

  • Map orientation.
    • Options : ["Orthogonal","Isometric","Staggered"]

X at (0,0)

  • Physical X co-ordinate at logic (0,0).

Y at (0,0)

  • Physical Y co-ordinate at logic (0,0).

Width

  • Cell width in pixels.

Height

  • Cell height in pixels.

Directions

  • Directions of neighbots.
    • Options : ["4 directions","8 directions"]

Actions

Directions

Action:Set directions

  • Set directions.
    • Directions ( Combo ) : Directions of neighbots
      • Options : ["4 directions","8 directions"]

Offset

Action:Set position offset

  • Set Physical position offset (position of logic (0,0)).
    • X ( number ) : Physical X co-ordinate at logic (0,0).
    • Y ( number ) : Physical Y co-ordinate at logic (0,0).

Orientation

Action:Set orientation

  • Set orientation.
    • Orientation ( Combo ) : orientation of map
      • Options : ["Orthogonal","Isometric","Staggered"]

Action:Set orientation by number

  • Set orientation.
    • Isometric ( number ) : 1=Isometric, 0=Orthogonal

Size

Action:Set cell size

  • Set cell size.
    • Width ( number ) : Cell width in pixels.
    • Height ( number ) : Cell height in pixels.

Expressions

Cell

Expression:Width

  • Get cell width in pixels.

Expression:Height

  • Get cell height in pixels.

Direction code

Expression:DIRRIGHT

  • Direction code of right.

Expression:DIRDOWN

  • Direction code of down.

Expression:DIRLEFT

  • Direction code of left.

Expression:DIRUP

  • Direction code of up.

Expression:DIRRIGHTDOWN

  • Direction code of right-down.

Expression:DIRLEFTDOWN

  • Direction code of left-down.

Expression:DIRLEFTUP

  • Direction code of left-up.

Expression:DIRRIGHTUP

  • Direction code of right-up.

Logic

Expression:PXY2LX

  • Get logic X by physical X,Y co-ordinate.
    • X ( number ) : The physical X.
    • Y ( number ) : The physical Y.

Expression:PXY2LY

  • Get logic Y by physical X,Y co-ordinate.
    • X ( number ) : The physical X.
    • Y ( number ) : The physical Y.

Offset

Expression:POX

  • Get physical X co-ordinate at logic (0,0).

Expression:POY

  • Get physical Y co-ordinate at logic (0,0).

Physical

Expression:LXY2PX

  • Get physical X co-ordinate by logic X,Y index. Return (-1) if this position does not exist.
    • X ( number ) : The logic X.
    • Y ( number ) : The logic Y.

Expression:LXY2PY

  • Get physical Y co-ordinate by logic X,Y index. Return (-1) if this position does not exist.
    • X ( number ) : The logic X.
    • Y ( number ) : The logic Y.

Conditions