[Lua Help] Orc Quest menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    BanzBoyz77's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2010
    Posts
    258
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua Help] Orc Quest

    I recently cooked up a small script to have timed taking. Once you accept the quest, the Instructor talks instantly. Then in a timed event of 3 secs later, a Watchguard yells out ( dont no number for yell) In another timed event the instructor gives you a bunch of guards all different levels to show variety in experience. Though for some reason it doesn't work. Also if anyone can add a despawn to the guards once quest is complete I'd appreciate it. I'm just beginning to script so it may have 2-100000 flaws in it.

    [spoiler]local entry_id = 94000

    function InstructorChat(event, pPlayer, questId, pQuestGiver)
    if pPlayer:HasQuest(94004) then
    Unit:SendChatMessage(12, 0, "Your services are well appreciated $c. Though our time together is......")
    end
    end

    RegisterServerHook(14, "InstructorChat")

    local entry_id = 94004

    function WatchGuardYell(event, pPlayer, questId, pQuestGiver)
    if pPlayer:HasQuest(94004) then
    Unit:EventChat(12, 0, "Alliance forces scouted across the river! To arms!", 3000)
    end
    end

    RegisterServerHook(14, "WatchGuardYell")

    local entry_id = 94000

    function InstructorWar(event, pPlayer, questId, pQuestGiver)
    if pPlayer:HasQuest(94004) then
    Unit:EventChat(12, 0, "I suppose I spoke too soon. Quick $c, take some of my men and fight off the Alliance Invaders from across the river!", 10000)
    pPlayer:CreateGuardian(94003, 6000000000, 270, 43)
    pPlayer:CreateGuardian(94003, 6000000000, 90, 37)
    pPlayer:CreateGuardian(94003, 6000000000, 160, 54)
    pPlayer:CreateGuardian(94003, 6000000000, 260, 36)
    pPlayer:CreateGuardian(94003, 6000000000, 80, 12)
    pPlayer:CreateGuardian(94003, 6000000000, 290, 28)
    pPlayer:CreateGuardian(94003, 6000000000, 175, 65)
    end
    end
    end

    RegisterServerHook(14, "InstructorWar")
    [/spoiler]
    Last edited by BanzBoyz77; 03-01-2011 at 10:42 PM.

    [Lua Help] Orc Quest
  2. #2
    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)
    I believe you can only have 1 guardian at a time, but you can have as many creatures set to follow as you want at a time.

    Also you're still not understanding the basic logic of coding. :/

  3. #3
    BanzBoyz77's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2010
    Posts
    258
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've made 5 guardians for my Troll quest and they work. Only thing is they don't have shields or weapons and they don't despawn.

    Edit
    ---------
    Or do you mean one guardian per function?

Similar Threads

  1. [Lua Help] Undead Quest
    By BanzBoyz77 in forum WoW EMU Questions & Requests
    Replies: 15
    Last Post: 03-14-2011, 02:35 AM
  2. [Help] Need LUA help? Post here!
    By EcHoEs in forum World of Warcraft Emulator Servers
    Replies: 20
    Last Post: 10-03-2010, 01:18 PM
  3. Lua help
    By reconz in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 02-18-2008, 07:03 PM
  4. Lua help
    By Tom_2001 in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-04-2008, 12:17 PM
  5. Help on Quests
    By friendofdar in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 09-27-2007, 07:30 PM
All times are GMT -5. The time now is 07:27 AM. 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