Skip to content

Mechanics: setMeta

muhahahahe edited this page Jan 5, 2018 · 3 revisions

Use this mechanic to set a meta tag at the target.

Attributes

Attribute Aliases Description Default
meta m tag=tagname;value=tagvalue;
type=tagtype(BOOLEAN/NUMERIC/STRING)
usecaster uc if set to true always sets the meta on the caster regardless of the targeter false

Example

- setmeta{meta="tag=lastdamagedentity;value=PLAYER;type=STRING";uc=true}
This sets the lastdamagedentity tag on the caster to the value PLAYER as a STRING type.

- setmeta{meta="tag=hasBow;value=true;type=BOOLEAN"}
This sets the tag hasBow to true.
Clone this wiki locally