Need Help with Gossip menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need Help with Gossip

    This script gives me error ('<eof>' expected near 'end')

    Code:
    function Jaquina_OnGossipTalk(pUnit, Event, player)
    pUnit:CreateGossipMenuForPlayer(100, player)
    pUnit:MenuAddItem(0, "I want to challenge The Invincible One", 1, 0)
    pUnit:MenuSendToPlayer(player)
    end
    
    
    function Jaquina_OnGossipSelect(pUnit, Event, player, id, intid, code)
    if (intid == 1) then
    pUnit:SendChatMessage(14, 0, "You will regret your choice!")
    pUnit:Despawn(1, 0)
    pUnit:SpawnCreature(253690, -10986.725586, -1317.362061, 52.131664, 1.288844, 14, 360000)
    pUnit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(244050, 1, "Jaquina_OnGossipTalk")
    RegisterUnitGossipEvent(244050, 2, "Jaquina_OnGossipSelect")
    end
    +Rep to the one who knows the answer ^^

    Need Help with Gossip
  2. #2
    Aznex's Avatar Contributor
    Reputation
    128
    Join Date
    Feb 2008
    Posts
    770
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function Jaquina_OnGossipTalk(pUnit, Event, player)
    pUnit:CreateGossipMenuForPlayer(100, player)
    pUnit:MenuAddItem(0, "I want to challenge The Invincible One", 1, 0)
    pUnit:MenuSendToPlayer(player)
    end
    
    
    function Jaquina_OnGossipSelect(pUnit, Event, player, id, intid, code)
    if (intid == 1) then
    pUnit:SendChatMessage(14, 0, "You will regret your choice!")
    pUnit:Despawn(1, 0)
    pUnit:SpawnCreature(253690, -10986.725586, -1317.362061, 52.131664, 1.288844, 14, 360000)
    pUnit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(244050, 1, "Jaquina_OnGossipTalk")
    RegisterUnitGossipEvent(244050, 2, "Jaquina_OnGossipSelect")
    Fixed.

  3. #3
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thannks +Rep

Similar Threads

  1. [Lua Script] Need help with this lua gossip script
    By diviee3 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 06-21-2010, 07:52 PM
  2. Need help with Gossip Lua with Functions (3 rep to whoever fixes)
    By stoneharry in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 12-14-2008, 03:30 PM
  3. need help with model editing experts please
    By sportstud10124 in forum Community Chat
    Replies: 0
    Last Post: 08-10-2006, 09:30 PM
  4. need help with shammy talents
    By jason in forum World of Warcraft General
    Replies: 5
    Last Post: 07-19-2006, 02:02 AM
  5. Need Help with WoW Glider
    By paypal in forum World of Warcraft General
    Replies: 2
    Last Post: 07-07-2006, 02:08 AM
All times are GMT -5. The time now is 03:43 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