Npc Avatar Extended Info
Npc avatar extended info is a data structure used to keep track of all the extended info properties of the given avatar.
Parameters
the list of client-specific extended info writers.
Constructors
Functions
Adds a headbar onto the avatar. If a headbar by the same id already exists, updates the status of the old one. Up to four distinct headbars can be rendered simultaneously.
Sets all the right-click options invisible on this NPC.
Sets all the right-click options as visible on this NPC.
Sets the base animation set of this NPC with the provided values. If the value is equal to Int.MIN_VALUE, the animation will not be overwritten. Only the 16 lowest bits of the animation ids are used.
Overrides the combat level of this NPC with the provided level.
Changes the head icon of a NPC to the sprite at the provided group and sprite index.
Overrides the name of this NPC with the provided name.
Removes a headbar on this avatar by the id of id, if one renders.
Removes the oldest currently showing hitmark on this avatar, if one exists.
Resets any NPC body customisations applied.
Resets any chathead customisations applied to this NPC.
Resets the head icon at the specified slot.
Sets all the right-click options invisible on this NPC.
Sets all the right-click options as visible on this NPC.
Sets the base animation set of this NPC with the provided values. If the value is equal to Int.MIN_VALUE, the animation will not be overwritten. Only the 16 lowest bits of the animation ids are used.
Sets the NPC to mirror the body of the local player in its entirety, including any worn gear.
Overrides the combat level of this NPC with the provided level.
Sets the crawl animations of this NPC. If any of the animations is null, that animation will not be overwritten by the client, allowing a subset of the below animations to be overridden.
Sets an exact movement for this avatar. It should be noted that this is done in conjunction with actual movement, as the exact move extended info block is only responsible for visualizing precise movement, and will synchronize to the real coordinate once the exact movement has finished.
Faces the center of the absolute coordinate provided.
Sets the face-locking onto the avatar with index index. If the target avatar is a player, add 0x10000 to the real index value (0-2048). If the target avatar is a NPC, set the index as it is. In order to stop facing an entity, set the index value to -1.
Sets the chathead of the NPC to be a mirror of the local player's own chathead.
Changes the head icon of a NPC to the sprite at the provided group and sprite index.
Overrides the name of this NPC with the provided name.
Sets the ready animation of this NPC to the provided id.
Sets the run animations of this NPC. If any of the animations is null, that animation will not be overwritten by the client, allowing a subset of the below animations to be overridden.
Sets the sequence for this avatar to play.
Transforms this NPC into the id provided. It should be noted that this extended info block is transient and only applies to one cycle. The server is expected to additionally change the id of the avatar itself, otherwise any new observers will get the old variant.
Sets the turn left and turn right animations of this NPC.
Sets the visible ops flag of this NPC to the provided value.
Marks the provided right-click options as visible or invisible.
Sets the walk animations of this NPC. If any of the animations is null, that animation will not be overwritten by the client, allowing a subset of the below animations to be overridden.
Transforms this NPC into the id provided. It should be noted that this extended info block is transient and only applies to one cycle. The server is expected to additionally change the id of the avatar itself, otherwise any new observers will get the old variant.
Sets the visible ops flag of this NPC to the provided value.
Marks the provided right-click options as visible or invisible.