Entity Meta - Display Scale (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

[the] [(fake|packet)] [entity] meta [field] display scale of %entitymeta%

Description

The display transformation scale vector. Value type: Vector. Applies to display and supported subclasses. Supports set. When editing metadata copied from a packet, set packet meta back to the edited object.

Examples

command /giant-hologram:
    trigger:
        set {_displayMeta} to text display meta data:
            display content: "Hello!"
        set {_mob} to a new fake text display entity:
            location: location of player
            viewers: player
            meta: {_displayMeta}
        set {_meta} to fake entity meta data of {_mob}
        set meta display scale of {_meta} to vector(2, 2, 2)
        wait 5 seconds
        kill fake entity {_mob}

View source