• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Enable Morphs with mounting (NPC - morpher)

Status
Not open for further replies.

OMGhixD

Sexy Member
How would you be able to make the morphs useable with mounts etc? as for now you cannot mount up with the morphs


Code:

local NPC_ID = 500155

function Morph_Gossip(event, plr, unit)
plr:GossipMenuAddItem(0 ,"Worgen" , 0 , 1000 , 0)
plr:GossipMenuAddItem(0, "Human male", 0, 1001, 0)
plr:GossipMenuAddItem(0, "human Female", 0, 1002, 0)
plr:GossipMenuAddItem(0, "Night Elf", 0, 1003, 0)
plr:GossipMenuAddItem(0, "Gnom male", 0, 1004, 0)
plr:GossipMenuAddItem(0, "Gnom Female", 0, 1005, 0)
plr:GossipMenuAddItem(0, "Draenei male", 0, 1006, 0)
plr:GossipMenuAddItem(0, "Broken male", 0, 1014, 0)
plr:GossipMenuAddItem(0, "Panda Monk", 0, 1015, 0)
plr:GossipMenuAddItem(0, "Blood Elf male", 0, 1007, 0)
plr:GossipMenuAddItem(0, "Blood Elf Female", 0, 1008, 0)
plr:GossipMenuAddItem(0, "Taure male", 0, 1009, 0)
plr:GossipMenuAddItem(0, "Taure Female", 0, 1010, 0)
plr:GossipMenuAddItem(0, "Orc Female", 0, 1011, 0)
plr:GossipMenuAddItem(0, "Goblin male", 0, 1012, 0)
plr:GossipMenuAddItem(0, "Goblin Female", 0, 1013, 0)
plr:GossipMenuAddItem(0, "Back To Normal", 0, 1055, 0)
plr:GossipSendMenu(1, unit)
end

function Morph_Event(event, plr, unit, arg2, intid)
if(intid == 1001) then
plr:SetDisplayId(19723)
elseif(intid == 1000) then
plr:SetDisplayId(11181)
elseif(intid == 1002) then
plr:SetDisplayId(19724)
elseif(intid == 1003) then
plr:SetDisplayId(20318)
elseif(intid == 1004) then
plr:SetDisplayId(20580)
elseif(intid == 1005) then
plr:SetDisplayId(20320)
elseif(intid == 1006) then
plr:SetDisplayId(20323)
elseif(intid == 1007) then
plr:SetDisplayId(20370)
elseif(intid == 1008) then
plr:SetDisplayId(20369)
elseif(intid == 1009) then
plr:SetDisplayId(20319)
elseif(intid == 1010) then
plr:SetDisplayId(20584)
elseif(intid == 1011) then
plr:SetDisplayId(20316)
elseif(intid == 1012) then
plr:SetDisplayId(20582)
elseif(intid == 1013) then
plr:SetDisplayId(20583)
elseif(intid == 1014) then
plr:SetDisplayId(21105)
elseif(intid == 1015) then
plr:SetDisplayId(30414)
elseif(intid == 1055) then
plr:DeMorph()
end
plr:RemoveItem(29434, 5)
plr:SendAreaTriggerMessage("|cff00ff00 You have been Transformed!")
end

RegisterCreatureGossipEvent(NPC_ID, 1, Morph_Gossip)
RegisterCreatureGossipEvent(NPC_ID, 2, Morph_Event)
 

Rochet2

Moderator / Eluna Dev
Err, what core?
Im sure they were usable before.
Maybe TC changed their mounting to demorph .. mm
 

Rochet2

Moderator / Eluna Dev
Try setting the native displayid.
:SetNativeDisplayId(display)

Note that I dont think demorphing will work to undo this.
 

OMGhixD

Sexy Member
Try setting the native displayid.
:SetNativeDisplayId(display)

Note that I dont think demorphing will work to undo this.

hmm it wouldn't do anything until i clicked "make me normal!" then the actual DisplayID took action
 

Rochet2

Moderator / Eluna Dev
hmm it wouldn't do anything until i clicked "make me normal!" then the actual DisplayID took action

The idea is to set the native displayID and then either morph to the same display or demorph.
Then you can likely mount with the display as the mounting is not allowed when morphed, which you are not since its your native display.
 

OMGhixD

Sexy Member
The idea is to set the native displayID and then either morph to the same display or demorph.
Then you can likely mount with the display as the mounting is not allowed when morphed, which you are not since its your native display.

woah well i don't know what to do here :p
 
Status
Not open for further replies.
Top