Lua Skill Npc menu

User Tag List

Results 1 to 6 of 6
  1. #1
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lua Skill Npc

    ...........
    Last edited by shadowslayer133; 08-20-2013 at 07:07 PM.

    Done by piersd
    Gamer tag - Midnight133

    Lua Skill Npc
  2. #2
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try pUnit instead of player

    I live in a shoe

  3. #3
    crewd's Avatar Member
    Reputation
    2
    Join Date
    Jan 2008
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    woops wrote something before but was wrong
    Last edited by crewd; 04-03-2009 at 12:27 AM.

  4. #4
    shadowslayer133's Avatar Active Member
    Reputation
    61
    Join Date
    May 2008
    Posts
    313
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sounddead Its trying to Index "pUnit" but it can't should i try just doing unit?

    Done by piersd
    Gamer tag - Midnight133

  5. #5
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    It's a "unit" event not "pUnit". See the function "
    function Gossip_Submenus_SkillNPC(unit, event, player, id, intid, code)"


    Tell us the error your getting (type it in here).
    It usually tells you the script and line, then what the error is.

  6. #6
    Mildan's Avatar Member
    Reputation
    10
    Join Date
    Feb 2009
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function On_Gossip_SkillNPC(unit, event, player)
    unit:GossipCreateMenu(1337, player, 0)
    unit:GossipMenuAddItem(1, "Max my Weapon Skills", 1337, 0)
    unit:GossipMenuAddItem(1, "Enjoy The Knights Of WoW", 1338, 0)
    unit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus_SkillNPC(unit, event, player, id, intid, code)
    
    if(intid == 1337) then
    player:AdvanceSkill(264, 95)
    player:AdvanceSkill(266, 95)
    player:AdvanceSkill(5011, 95)
    player:AdvanceSkill(201, 95)
    player:AdvanceSkill(202, 95)
    player:AdvanceSkill(198, 95)
    player:AdvanceSkill(199, 95)
    player:AdvanceSkill(196, 95)
    player:AdvanceSkill(197, 95)
    player:AdvanceSkill(200, 95)
    player:AdvanceSkill(227, 95)
    player:AdvanceSkill(2567, 95)
    player:AdvanceSkill(1180, 95)
    player:AdvanceSkill(15590, 95)
    player:AdvanceSkill(5009, 95)
    end
    end
    
    RegisterUnitGossipEvent(981338, 1, "On_Gossip_SkillNPC")
    RegisterUnitGossipEvent(981338, 2, "Gossip_Submenus_SkillNPC")
    Try this, not sure if it helps.

Similar Threads

  1. Missing Skill NPC (Lua)
    By AngelSandy in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 08-15-2009, 07:40 PM
  2. [Release] Skill Npc 2.0
    By Sylex in forum World of Warcraft Emulator Servers
    Replies: 30
    Last Post: 06-02-2008, 05:02 PM
  3. [Release] Skill Npc 3.0
    By Sylex in forum World of Warcraft Emulator Servers
    Replies: 21
    Last Post: 04-10-2008, 09:51 AM
  4. [Release] Skill Npc - Revived
    By Sylex in forum World of Warcraft Emulator Servers
    Replies: 38
    Last Post: 02-29-2008, 02:31 PM
  5. [Release] Chirspee's Teleporting NPC, Buff NPC's, Skill NPC and Heal NPC
    By Illidan1 in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 11-22-2007, 04:05 PM
All times are GMT -5. The time now is 05:46 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