Skip to content

Mechanics: createHealthbar

muhahahahe edited this page Jan 15, 2018 · 6 revisions

Use this mechanic to display a configurable health display at the casting MythicMob

Attributes

Attribute Aliases Description Default
offset o offsets the height at where the display will be shown 2
sideoffset so offsets the side at where the display will be shown 0
forwardoffset fo offsets the distance at where the display will be shown 0
ignoreyaw iy ignores the looking direction of the MythicMob, usefull for side and forward offset 0
counter c time till display hides 200
usecounter uc set to false for unlimited display true
display free textline that will be shown, use $h as a health variable, also supports colorcodes

Example

- createhealthbar{o=2.5;so=0;fo=0;iy=false;c=100;display="$h"} @Self ~onSpawn
This will create a healthbar with the health displayed till the mob dies.
Clone this wiki locally