Action - s99889989/CustomDisplay GitHub Wiki

Trigger other action lists

Attributes

Attribute Aliases Description Default
Action a The name of the list to be triggered None
Mark m Action mark Random numbers
stop s Whether it is a clearing action false

Examples

TestAction:
- Action[action=AttackDisplayUp] ~onAttack

AttackDisplayUp:
  Action:
  - Loop[onStart=AttackDisplayUp-Start,onTime=AttackDisplayUp-Time,onEnd=AttackDisplayUp-End,period=3,duration=20]
AttackDisplayUp-Start:
  Action:
  - createHD[m={cd_damage},HDtype=loc,x=0,y=0.5,z=0] @=target
  - addLineHD[m=%player_name%]
AttackDisplayUp-Time:
  Action:
  - teleportHD[HDtype=loc,x=0,y=0.1,z=0] @=targetLocation
AttackDisplayUp-End:
  Action:
  - deleteHD