[Release]LUA morphing item menu

User Tag List

Results 1 to 10 of 10
  1. #1
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release]LUA morphing item

    hello this guid is about Make a item that can morph you into things.

    chage following text in red


    local itemid = ItemID
    local race = {}

    race[1] = 1
    race[2] = 2
    race[3] = 1
    race[4] = 1
    race[5] = 2
    race[6] = 2
    race[7] = 1
    race[8] = 2
    race[10] = 2
    race[11] = 1

    function Item_Trigger(item, event, player)
    Item_menu(item, player)
    end

    function Item_menu(item, player)


    if (player:IsInCombat() == true) then
    player:SendAreaTriggerMessage("You are in combat!")
    else
    item:GossipCreateMenu(3543, player, 0)
    item:GossipMenuAddItem(4, "Make me Deathknight", 22222, 0)
    item:GossipSendMenu(player)
    end
    end

    function OnSelect(item, event, player, id, intid, code )


    if (intid == 22222) then
    player:SetModel(1650
    player:GossipComplete()
    end
    end


    RegisterItemGossipEvent(itemid,1,"Item_Trigger")
    RegisterItemGossipEvent(itemid,2,"OnSelect")
    if you want to morph into something else change this

    player:SetModel(16508)
    into

    player:SetModel(DisplayID)
    Last edited by xX EPIC Xx; 09-25-2008 at 10:33 AM.

    [Release]LUA morphing item
  2. #2
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no reposts?

  3. #3
    Hermess's Avatar Member
    Reputation
    12
    Join Date
    Sep 2008
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx
    +rep

  4. #4
    foga's Avatar Member
    Reputation
    2
    Join Date
    May 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice Thx
    But how can i demorph?
    Plz post the line command thx
    ^^

  5. #5
    shadowquinn's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    great post ty

  6. #6
    deflector's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    is it possible to change the size of the character aswell since some models are quite... welll.... big...

  7. #7
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes there is

  8. #8
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    player:SetScale(0.5)

  9. #9
    xX EPIC Xx's Avatar Active Member
    Reputation
    37
    Join Date
    Apr 2008
    Posts
    238
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by foga View Post
    Nice Thx
    But how can i demorph?
    Plz post the line command thx
    ^^
    player:SetModel(0)

    i think or

    player:SetModel()

  10. #10
    nickdagreatest's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ehm, sorry to be a noob but i rly want a morphing item for a worgen... im a total noob so could you possibly tell me where to fill this all in? or could anyone be REALLY great and make a worgen SQL that i can execute? thanks

    -nic

Similar Threads

  1. [MaNGOS] Non-LUA morph items?
    By Arid in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 04-03-2010, 06:33 AM
  2. [Release] Goldensun City+instance+lua+quests+items
    By Spartansp in forum World of Warcraft Emulator Servers
    Replies: 61
    Last Post: 02-08-2008, 08:40 PM
  3. [Release] 2 Custom Items
    By Festigio in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 01-27-2008, 12:41 AM
  4. [RELEASE] LUA Bossfight
    By Shao111 in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 01-23-2008, 03:03 PM
  5. [Release] Portable Multifuncional Item (test)
    By Spartansp in forum World of Warcraft Emulator Servers
    Replies: 22
    Last Post: 01-15-2008, 03:03 PM
All times are GMT -5. The time now is 05:10 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search