Need Help menu

User Tag List

Thread: Need Help

Results 1 to 2 of 2
  1. #1
    zozoka's Avatar Member
    Reputation
    1
    Join Date
    May 2008
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need Help

    i`m sorry here is my script:
    Code:
     local npcid = 112112
    
    function On_Gossip(pUnit, event, player)
    	pUnit:GossipCreateMenu(100, player, 0)
    	pUnit:GossipMenuAddItem(0, "noJIy4uTe CBOu nPu3!", 7, 0)
    	pUnit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(pUnit, event, player, id, intid, code)
    if(intid == 7) then
    	pUnit:GossipCreateMenu(100, player, 0)
    	pUnit:GossipMenuAddItem(0, "Night Watch Coins", 5, 0)
    	pUnit:GossipSendMenu(player)
            pUnit:SendChatMessage(13, 0, "HawJIu CblHa XyJIuraHa!!")
    end
    
    if(intid == 5) then
    	player:AddItem(34822, 10)
    	pUnit:NoRespawn(1)
    	pUnit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(112112,1,"On_Gossip")
    RegisterUnitGossipEvent(112112,2,"Gossip_Submenus")
    Plz help me so i need 2 thing
    1) that the message "HaWJIu CblHa..." have been announced to ALL if it possible can you make it like a widescreenmessage?
    2) i need that NPC will randomly change his position



    Hope you can help me
    Last edited by zozoka; 10-06-2008 at 01:03 PM.

    Need Help
  2. #2
    Ezikielth's Avatar Banned
    Reputation
    43
    Join Date
    Aug 2007
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ive been scripting LUA for awhile and I dont think that it is possible to "teleport" an NPC with LUA, perhaps having it spawn a new npc after he dies with less heath?
    Basicly It would have to work like this:
    (I will be using the name Hakaar for the boss because Hakaar rules)
    1) Hakaar the Almightly dies
    2) Spawns Hakaar the Weakened in a new position.

    Thats the best way to get that to work, I am sure you know the commands for spawning, but here it is just in case:
    SpawnCreature(entryID, x, y, z, o, faction, duration)

    As far as .wan from an npc, I dont think that it works but the speech ID is: 10 (its the system tag not the .wan, acts like .an)

Similar Threads

  1. need help with shammy talents
    By jason in forum World of Warcraft General
    Replies: 5
    Last Post: 07-19-2006, 02:02 AM
  2. Need Help with WoW Glider
    By paypal in forum World of Warcraft General
    Replies: 2
    Last Post: 07-07-2006, 02:08 AM
  3. I need help
    By ff9pro in forum World of Warcraft General
    Replies: 4
    Last Post: 07-05-2006, 08:43 PM
  4. Need help
    By zamp in forum World of Warcraft General
    Replies: 1
    Last Post: 06-24-2006, 10:54 PM
  5. Need Help
    By Slumlorde in forum World of Warcraft General
    Replies: 4
    Last Post: 06-23-2006, 08:20 AM
All times are GMT -5. The time now is 02:47 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