Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] Anyone know how weapon sheathe locations are handled? I tried to make a Bow sheathe to the back and

[DiscordArchive] Anyone know how weapon sheathe locations are handled? I tried to make a Bow sheathe to the back and

[DiscordArchive] Anyone know how weapon sheathe locations are handled? I tried to make a Bow sheathe to the back and

rektbyfaith
Administrator
0
05-15-2023, 12:23 PM
#1
Archived author: BonziBudd • Posted: 2023-05-15T12:23:04.558000+00:00
Original source

Anyone know how weapon sheathe locations are handled? I tried to make a Bow sheathe to the back and it didn't work. Is it a core thing?
rektbyfaith
05-15-2023, 12:23 PM #1

Archived author: BonziBudd • Posted: 2023-05-15T12:23:04.558000+00:00
Original source

Anyone know how weapon sheathe locations are handled? I tried to make a Bow sheathe to the back and it didn't work. Is it a core thing?

rektbyfaith
Administrator
0
05-15-2023, 12:23 PM
#2
Archived author: BonziBudd • Posted: 2023-05-15T12:23:05.369000+00:00
Original source

case SHEATH_STATE_MELEE: // prepared melee weapon
SetVirtualItemSlot(0, GetWeaponForAttack(BASE_ATTACK, true));
SetVirtualItemSlot(1, GetWeaponForAttack(OFF_ATTACK, true));
SetVirtualItemSlot(2, nullptr);
//SetVirtualItemSlot(2, nullptr);
break;
case SHEATH_STATE_RANGED: // prepared ranged weapon
SetVirtualItemSlot(0, nullptr);
SetVirtualItemSlot(1, nullptr);
SetVirtualItemSlot(2, GetWeaponForAttack(RANGED_ATTACK, true));
// SetVirtualItemSlot(2, GetWeaponForAttack(RANGED_ATTACK, true));
break;
rektbyfaith
05-15-2023, 12:23 PM #2

Archived author: BonziBudd • Posted: 2023-05-15T12:23:05.369000+00:00
Original source

case SHEATH_STATE_MELEE: // prepared melee weapon
SetVirtualItemSlot(0, GetWeaponForAttack(BASE_ATTACK, true));
SetVirtualItemSlot(1, GetWeaponForAttack(OFF_ATTACK, true));
SetVirtualItemSlot(2, nullptr);
//SetVirtualItemSlot(2, nullptr);
break;
case SHEATH_STATE_RANGED: // prepared ranged weapon
SetVirtualItemSlot(0, nullptr);
SetVirtualItemSlot(1, nullptr);
SetVirtualItemSlot(2, GetWeaponForAttack(RANGED_ATTACK, true));
// SetVirtualItemSlot(2, GetWeaponForAttack(RANGED_ATTACK, true));
break;

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)