Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] Is it possible to give the ability to have pets...

[DiscordArchive] Is it possible to give the ability to have pets...

[DiscordArchive] Is it possible to give the ability to have pets...

Pages (31): Previous 1 4 5 6 7 8 31 Next  
rektbyfaith
Administrator
0
09-04-2025, 07:29 AM
#51
Archived author: Ergo • Posted: 2025-09-04T07:29:14.582000+00:00
Original source

weird because as you can see on the image above, it shows the happiness there and I can hover to see the tooltip showing happines in text and diet too
rektbyfaith
09-04-2025, 07:29 AM #51

Archived author: Ergo • Posted: 2025-09-04T07:29:14.582000+00:00
Original source

weird because as you can see on the image above, it shows the happiness there and I can hover to see the tooltip showing happines in text and diet too

rektbyfaith
Administrator
0
09-04-2025, 07:30 AM
#52
Archived author: Uniquisher • Posted: 2025-09-04T07:30:36.273000+00:00
Original source

Theres a command called GetPetHappiness that returns happiness and damagePercentage
http://garde.sylvanas.free.fr/ressources...Addons.pdf
Page 808 near the bottom
rektbyfaith
09-04-2025, 07:30 AM #52

Archived author: Uniquisher • Posted: 2025-09-04T07:30:36.273000+00:00
Original source

Theres a command called GetPetHappiness that returns happiness and damagePercentage
http://garde.sylvanas.free.fr/ressources...Addons.pdf
Page 808 near the bottom

rektbyfaith
Administrator
0
09-04-2025, 07:31 AM
#53
Archived author: Ergo • Posted: 2025-09-04T07:31:58.307000+00:00
Original source

wow great pdf thanks for linking
rektbyfaith
09-04-2025, 07:31 AM #53

Archived author: Ergo • Posted: 2025-09-04T07:31:58.307000+00:00
Original source

wow great pdf thanks for linking

rektbyfaith
Administrator
0
09-04-2025, 07:36 AM
#54
Archived author: Uniquisher • Posted: 2025-09-04T07:36:46.359000+00:00
Original source

yeah works perfectly for hunter, hmm I wonder where that can be edited
[Image: image.png?ex=690c500e&is=690afe8e&hm=a19...cf222ded4&]
rektbyfaith
09-04-2025, 07:36 AM #54

Archived author: Uniquisher • Posted: 2025-09-04T07:36:46.359000+00:00
Original source

yeah works perfectly for hunter, hmm I wonder where that can be edited
[Image: image.png?ex=690c500e&is=690afe8e&hm=a19...cf222ded4&]

rektbyfaith
Administrator
0
09-04-2025, 07:37 AM
#55
Archived author: Ergo • Posted: 2025-09-04T07:37:49.295000+00:00
Original source

on the clientside
rektbyfaith
09-04-2025, 07:37 AM #55

Archived author: Ergo • Posted: 2025-09-04T07:37:49.295000+00:00
Original source

on the clientside

rektbyfaith
Administrator
0
09-04-2025, 07:37 AM
#56
Archived author: Ergo • Posted: 2025-09-04T07:37:54.601000+00:00
Original source

```
function PetFrame_SetHappiness ()
local happiness, damagePercentage = GetPetHappiness();
local hasPetUI, isHunterPet = HasPetUI();
if ( not happiness or not isHunterPet ) then
PetFrameHappiness:Hide();
return;
end
PetFrameHappiness:Show();
if ( happiness == 1 ) then
PetFrameHappinessTexture:SetTexCoord(0.375, 0.5625, 0, 0.359375);
elseif ( happiness == 2 ) then
PetFrameHappinessTexture:SetTexCoord(0.1875, 0.375, 0, 0.359375);
elseif ( happiness == 3 ) then
PetFrameHappinessTexture:SetTexCoord(0, 0.1875, 0, 0.359375);
end
PetFrameHappiness.tooltip = _G["PET_HAPPINESS"..happiness];
PetFrameHappiness.tooltipDamage = format(PET_DAMAGE_PERCENTAGE, damagePercentage);
end
```
rektbyfaith
09-04-2025, 07:37 AM #56

Archived author: Ergo • Posted: 2025-09-04T07:37:54.601000+00:00
Original source

```
function PetFrame_SetHappiness ()
local happiness, damagePercentage = GetPetHappiness();
local hasPetUI, isHunterPet = HasPetUI();
if ( not happiness or not isHunterPet ) then
PetFrameHappiness:Hide();
return;
end
PetFrameHappiness:Show();
if ( happiness == 1 ) then
PetFrameHappinessTexture:SetTexCoord(0.375, 0.5625, 0, 0.359375);
elseif ( happiness == 2 ) then
PetFrameHappinessTexture:SetTexCoord(0.1875, 0.375, 0, 0.359375);
elseif ( happiness == 3 ) then
PetFrameHappinessTexture:SetTexCoord(0, 0.1875, 0, 0.359375);
end
PetFrameHappiness.tooltip = _G["PET_HAPPINESS"..happiness];
PetFrameHappiness.tooltipDamage = format(PET_DAMAGE_PERCENTAGE, damagePercentage);
end
```

rektbyfaith
Administrator
0
09-04-2025, 07:37 AM
#57
Archived author: Ergo • Posted: 2025-09-04T07:37:57.799000+00:00
Original source

I think this might be it
rektbyfaith
09-04-2025, 07:37 AM #57

Archived author: Ergo • Posted: 2025-09-04T07:37:57.799000+00:00
Original source

I think this might be it

rektbyfaith
Administrator
0
09-04-2025, 07:38 AM
#58
Archived author: Ergo • Posted: 2025-09-04T07:38:38.712000+00:00
Original source

patch_enUS.MPQ Interface/FrameXML/PetFrame.lua
rektbyfaith
09-04-2025, 07:38 AM #58

Archived author: Ergo • Posted: 2025-09-04T07:38:38.712000+00:00
Original source

patch_enUS.MPQ Interface/FrameXML/PetFrame.lua

rektbyfaith
Administrator
0
09-04-2025, 07:42 AM
#59
Archived author: Ergo • Posted: 2025-09-04T07:42:13.695000+00:00
Original source

not quite sure what to do here tho, since it doesnt seem like its checking hunter class
rektbyfaith
09-04-2025, 07:42 AM #59

Archived author: Ergo • Posted: 2025-09-04T07:42:13.695000+00:00
Original source

not quite sure what to do here tho, since it doesnt seem like its checking hunter class

rektbyfaith
Administrator
0
09-04-2025, 07:42 AM
#60
Archived author: Uniquisher • Posted: 2025-09-04T07:42:45.099000+00:00
Original source

wonder if HasPetUI has anything related to hunter
rektbyfaith
09-04-2025, 07:42 AM #60

Archived author: Uniquisher • Posted: 2025-09-04T07:42:45.099000+00:00
Original source

wonder if HasPetUI has anything related to hunter

Pages (31): Previous 1 4 5 6 7 8 31 Next  
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)