Skip to main content

MegActiveModelTag

Prefix:megactivemodel@Identity Format:Identified using the format megactivemodel@<entity>,<model_blueprint>.Description:Represents an active model on an entity.View source

Tags

Tag: MegActiveModelTag.bone[<id>]

Returns:MegBoneTagDescription:Returns the bone with the specified id of the model.

Tag: MegActiveModelTag.bones

Returns:MapTag(MegBoneTag)Description:Returns a map of all the bones of the model, with the bone id as the key and the bone as the value.

Tag: MegActiveModelTag.damage_tint

Returns:ColorTagMechanism:damage_tintDescription:Returns the damage tint of the active model.

Tag: MegActiveModelTag.default_tint

Returns:ColorTagMechanism:default_tintDescription:Returns the default tint of the active model.

Tag: MegActiveModelTag.hitbox_scale

Returns:VectorObjectMechanism:hitbox_scaleDescription:Returns the scale of the active model's hitbox as a vector.

Tag: MegActiveModelTag.hitbox_visible

Returns:ElementTag(boolean)Mechanism:hitbox_visibleDescription:Returns whether the hitbox of the active model is visible.

Tag: MegActiveModelTag.lock_yaw

Returns:ElementTag(boolean)Mechanism:lock_yawDescription:Returns whether the yaw of the active model is locked.

Tag: MegActiveModelTag.lock_pitch

Returns:ElementTag(boolean)Mechanism:lock_pitchDescription:Returns whether the pitch of the active model is locked.

Tag: MegActiveModelTag.modeled_entity

Returns:MegModeledEntityTagDescription:Returns the modeled entity of the active model.

Tag: MegActiveModelTag.scale

Returns:VectorObjectMechanism:scaleDescription:Returns the scale of the active model as a vector.

Mechanisms

Mech: MegActiveModelTag.damage_tint

Input:ColorTagDescription:Sets the damage tint of the active model.Tags:MegActiveModelTag.damage_tint

Mech: MegActiveModelTag.default_tint

Input:ColorTagDescription:Sets the default tint of the active model.Tags:MegActiveModelTag.default_tint

Mech: MegActiveModelTag.hitbox_scale

Input:ElementTag(Decimal)Description:Sets the scale of the active model's hitbox.Tags:MegActiveModelTag.hitbox_scale

Mech: MegActiveModelTag.hitbox_visible

Input:ElementTag(Boolean)Description:Sets whether the hitbox of the active model is visible.Tags:MegActiveModelTag.hitbox_visible

Mech: MegActiveModelTag.lock_pitch

Input:ElementTag(Boolean)Description:Sets whether the pitch of the active model is locked.Tags:MegActiveModelTag.lock_pitch

Mech: MegActiveModelTag.lock_yaw

Input:ElementTag(Boolean)Description:Sets whether the yaw of the active model is locked.Tags:MegActiveModelTag.lock_yaw

Mech: MegActiveModelTag.scale

Input:ElementTag(Decimal)Description:Sets the scale of the active model.Tags:MegActiveModelTag.scale