Method Unit:SetSheath [-] [+]

Sets the Unit's sheath state.

enum SheathState
{
    SHEATH_STATE_UNARMED  = 0, // non prepared weapon
    SHEATH_STATE_MELEE    = 1, // prepared melee weapon
    SHEATH_STATE_RANGED   = 2  // prepared ranged weapon
};

Synopsis

Unit:SetSheath( sheathState )

Arguments

SheathState sheathState

Valid SheathState.

Returns

Nothing.

Generated on 29/09/2017
©2016 - Eluna Lua Engine