RemovePlayerOverlay Server function

From Gothic 2 Online: Wiki
Jump to navigation Jump to search

This function was added in version: 0.0.5

NOTE! Animation overlays are also called MDS

Remove an animation overlay from, a player. Animation overlays is something, that changes current style of the animation. For example NPC walking style.

Syntax

bool removePlayerOverlay(int id, int overlayid)

Required Arguments

  • id: The id of the player.
  • overlayid: The id of the animation overlay. You can get it using Mds.id, method.

Example

// Example code here

Related functions