Request - Boss fight! menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Fumi's Avatar Contributor CoreCoins Purchaser
    Reputation
    207
    Join Date
    Feb 2008
    Posts
    561
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Request - Boss fight!

    Hey mmowned

    i was wondering if someone would make a script that makes my npc walk to a xyz location (walk 10 yards in game) and then attack the mob infront of him (might auto cause the mob is hostile)


    The mob is standing in OS his xyz is :
    Map:615 Zone: 0 Area: 4493 X:3243.239990 Y:492.628693 Z: 57.622925 Orientation: 1.431130 Area Name: The Obsidian Sanctrum



    Uploaded with ImageShack.us

    and if you could make it so when you talk to him his says someting and there should be a choice "FOR THE ALLIANCE" and he should run/walk and attack Kil'Jeaden

    THANKS
    Last edited by Fumi; 04-08-2011 at 03:03 AM. Reason: Infos

    Request - Boss fight!
  2. #2
    Deadendz's Avatar Private
    Reputation
    19
    Join Date
    Jul 2010
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This should do what you're looking for.

    Code:
    local npcid = ######
    
    function BossStarter_Gossip(Unit, event, player)
    	Unit:GossipCreateMenu(0, player, 0)
    	Unit:SendChatMessage(12, 0, "Are you ready to attack?")
    	Unit:GossipMenuAddItem(0, "FOR THE ALLIANCE", 1, 0)
    	Unit:GossipSendMenu(player)
    end
    
    function BossStarter_Select(Unit, event, player, id, intid, code)
    	if(intid == 1) then
    		Unit:ModifyWalkSpeed(8)
    		Unit:MoveTo(3243, 534, 59.2, 1.587267)
    		player:GossipComplete()
    	end
    end
    
    RegisterUnitGossipEvent(npcid, 1, "BossStarter_Gossip")
    RegisterUnitGossipEvent(npcid, 2, "BossStarter_Select")
    Just replace the red "#" with the id of the npc.

  3. #3
    Fumi's Avatar Contributor CoreCoins Purchaser
    Reputation
    207
    Join Date
    Feb 2008
    Posts
    561
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Deadendz View Post
    This should do what you're looking for.

    Code:
    local npcid = ######
    
    function BossStarter_Gossip(Unit, event, player)
    	Unit:GossipCreateMenu(0, player, 0)
    	Unit:SendChatMessage(12, 0, "Are you ready to attack?")
    	Unit:GossipMenuAddItem(0, "FOR THE ALLIANCE", 1, 0)
    	Unit:GossipSendMenu(player)
    end
    
    function BossStarter_Select(Unit, event, player, id, intid, code)
    	if(intid == 1) then
    		Unit:ModifyWalkSpeed(8)
    		Unit:MoveTo(3243, 534, 59.2, 1.587267)
    		player:GossipComplete()
    	end
    end
    
    RegisterUnitGossipEvent(npcid, 1, "BossStarter_Gossip")
    RegisterUnitGossipEvent(npcid, 2, "BossStarter_Select")
    Just replace the red "#" with the id of the npc.
    i cant speak with him
    can it be because his got 2 scripts? :S

    Edit:
    I removed the 2nd script and his still speechless
    Last edited by Fumi; 04-08-2011 at 05:28 AM.

  4. #4
    newtech's Avatar Active Member
    Reputation
    57
    Join Date
    Aug 2008
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I assume you still have this problem, yeah?

    Well, I dont know the exact reason, but this seems to happen if you make a gossip script, with only one item in the menu. Add an "Exit" as another item, or something xP That should fix it :P

    Thanks
    Newtech
    LuaHypArc Lua scripter - 3.3.5a World Builder.

  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)
    Gossip script functionality was removed from ArcEmu because Lua could not handle the more object orientated programming that the C++ side does.

  6. #6
    Fumi's Avatar Contributor CoreCoins Purchaser
    Reputation
    207
    Join Date
    Feb 2008
    Posts
    561
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Gossip script functionality was removed from ArcEmu because Lua could not handle the more object orientated programming that the C++ side does.
    so i wont be able to have him start the combat?

Similar Threads

  1. Get replacements for dead people during boss fight
    By Kezah in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 06-30-2008, 03:54 PM
  2. Replies: 9
    Last Post: 06-19-2008, 03:55 AM
  3. [Release] Custom Scripted Boss Fight: Your Mom
    By dude891 in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 04-13-2008, 08:08 PM
  4. [Question]Boss Fights.
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 03-08-2008, 06:01 PM
  5. [Help] Boss Fights
    By jimmy2222 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 01-26-2008, 03:20 PM
All times are GMT -5. The time now is 05:06 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