Need help with LUA menu

User Tag List

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

    Need help with LUA

    Could someone know how this quest event works?:

    QUEST_EVENT_ON_ACCEPT = 1,
    QUEST_EVENT_ON_COMPLETE = 2,
    QUEST_EVENT_ON_CANCEL = 3,
    QUEST_EVENT_GAMEOBJECT_ACTIVATE = 4,
    QUEST_EVENT_ON_CREATURE_KILL = 5,
    QUEST_EVENT_ON_EXPLORE_AREA = 6,
    QUEST_EVENT_ON_PLAYER_ITEMPICKUP = 7,

    Here is an example of the registering function procedure:

    RegisterQuestEvent(ENTRYID, 1, "Quest_onAccept")

    I understand the first 3, but for the rest I don't know where to put the values like: GO_activate, creature_kill, explore_area or player_itempickup.
    Last edited by marcelo_20xx; 11-29-2008 at 01:53 AM.

    Need help with LUA
  2. #2
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could you clarify a bit on what you're trying to achieve?

  3. #3
    marcelo_20xx's Avatar Active Member
    Reputation
    25
    Join Date
    Sep 2008
    Posts
    165
    Thanks G/R
    2/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to fix Whitebark's Memory (quest 10166). I need to spawn the NPC not on quest accept but on item use, or spell cast (this could be better because most quest items have a spell to interact with GOs, that way I can fix tons of other quests) or item picked up not GO looted.

    Or at least an example how to properly register: QUEST_EVENT_ON_PLAYER_ITEMPICKUP = 7

Similar Threads

  1. [Lua][ArcEmu] Need help with Lua will Rep
    By Pedregon in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 03-20-2010, 02:39 PM
  2. Need help with Lua script
    By Pieterkii in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 03-04-2010, 07:07 AM
  3. Need help with LUA Boss please!
    By itsonebay in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 02-23-2010, 11:23 AM
  4. Need help with LUA Hearthstone 3.1.1
    By andreasv18_2005 in forum WoW EMU Questions & Requests
    Replies: 8
    Last Post: 05-16-2009, 08:13 AM
  5. Need help with LUA
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 18
    Last Post: 02-28-2008, 12:54 PM
All times are GMT -5. The time now is 05:04 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search