Difference between revisions of "EquipWolfskinItemOnEntity"

From Nomad DB
(Created page with "Equips the specified wolfskin item on the specified entity. == Syntax == <syntaxhighlight lang="lua"> EquipWolfskinItemOnEntity(wolfskinItemMale, wolfskinItemFemale, entity,...")
 
m
Line 9: Line 9:
 
* '''entity''' (string): ID of the entity to equip the specified wolfskin item on
 
* '''entity''' (string): ID of the entity to equip the specified wolfskin item on
 
* '''disableMask''' (boolean): Whether the specified entity's mask should be disabled
 
* '''disableMask''' (boolean): Whether the specified entity's mask should be disabled
 +
* '''Returns''' (string): ID of the wolfskin item previously equipped in the specified item's slot
  
 
[[Category:WDL Lua]]
 
[[Category:WDL Lua]]

Revision as of 20:49, 17 May 2021

Equips the specified wolfskin item on the specified entity.

Syntax

EquipWolfskinItemOnEntity(wolfskinItemMale, wolfskinItemFemale, entity, disableMask)
  • wolfskinItemMale (string): ID of the wolfskin item to be equipped on a male human (corresponds to an item in the WolfskinItemDB library)
  • wolfskinItemFemale (string): ID of the wolfskin item to be equipped on a female human (corresponds to an item in the WolfskinItemDB library)
  • entity (string): ID of the entity to equip the specified wolfskin item on
  • disableMask (boolean): Whether the specified entity's mask should be disabled
  • Returns (string): ID of the wolfskin item previously equipped in the specified item's slot