RSS

Среда, 06.11.2024, 00:28
Главная » WoW API » API Виджеты » Модель игрока »

DressUpModel:SetCreature(creature)

[ править ]
Sets the model to display the 3D model of a specific creature.
[клоны]
Sets the model to display the 3D model of a specific creature. Used in the default UI to set the model used for previewing non-combat pets and mounts (see GetCompanionInfo()), but can also be used to display the model for any creature whose data is cached by the client. Creature IDs can commonly be found on database sites (e.g. creature ID #10181).


Signature:
Code
PlayerModel:SetCreature(creature)

Arguments:
  • creature - Numeric ID of a creature (number)

Также смотрите: Модель игрока
Ссылки: http://wowprogramming.com/docs/widgets/PlayerModel/SetCreature