Quest Script Issue! menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Eleky's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Quest Script Issue!

    Hi all. I was wondering if someone could help me figure out this little issue i have seemed to run into. I am trying to get this quest to work correctly. I need to read a stone in the blood elf starting area, but when you right click on it doesnt do anything. I've tried adding text when clicked, didnt work, tried changing the flag didnt work either. I'm really at a loss of what to do, it seems so basic but i cant get it to work.. Here is script... Any advice?

    Thanks all!

    Code:
     --[[
       ******************************************************************
       *	 _____              ___                           _         *
       *	(  _  )            (  _`\               _        ( )_       *
       *	| (_) | _ __   ___ | (_(_)   ___  _ __ (_) _ _   | ,_)      *
       *	|  _  |( '__)/'___)`\__ \  /'___)( '__)| |( '_`\ | |        *
       *	| | | || |  ( (___ ( )_) |( (___ | |   | || (_) )| |_       *
       *	(_) (_)(_)  `\____)`\____)`\____)(_)   (_)| ,__/'`\__)      *
       *	                                          | |               *
       *	                                          (_)               *
       *	                                                            *
       *	               OpenSource Scripting Team                    *
       *	                <http://www.arcemu.org>                     *
       *	                                                            *
       ******************************************************************
      
       This software is provided as free and open source by the
    staff of The ArcScript Project, in accordance with 
    the GPL license. This means we provide the software we have 
    created freely and it has been thoroughly tested to work for 
    the developers, but NO GUARANTEE is made it will work for you 
    as well. Please give credit where credit is due, if modifying,
    redistributing and/or using this software. Thank you.
    
    Staff of ArcScript Project, Feb 2008
    ~~End of License Agreement
    
    #############################################################
    
    -- ]]
    
    function ShrineofDathRemar (pUnit, Event)
    	pUnit:MarkQuestObjectiveAsComplete (8345, 0)
    end
    RegisterGameObjectEvent (180516, 2, "ShrineOfDathRemar")

    Quest Script Issue!
  2. #2
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I think in the quest table theres where it says required mob, it actually says mob or go. Put in the entry of the gameobject as required for that objective and see if it completes it when you click it. If it doesn't the correct sytex for the command in Lua is:

    :MarkQuestObjectiveAsComplete(questid,objective)

    So if the quest id is 5 and the first objective is to click that gameobject, it would be:

    :MarkQuestObjectiveAsComplete(5,1)

    But I am not sure whether you use pUnit or player, try it out:

    pUnit
    :MarkQuestObjectiveAsComplete(questid,objective)

    or

    local player = pUnit:GetClosestPlayer()
    player:MarkQuestObjectiveAsComplete(questid,objective)

    Good luck!

Similar Threads

  1. Taxi Scripting issue, and public Connection issue.
    By pandasoup12 in forum WoW EMU Questions & Requests
    Replies: 9
    Last Post: 03-29-2009, 08:09 PM
  2. [Lua / C++] Quest Script
    By zsolt333 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 02-21-2009, 06:42 AM
  3. Script Issue
    By EmuSerry in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 09-14-2008, 11:38 PM
  4. Lua scripting Issue
    By jbryan9184 in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 07-05-2008, 04:16 PM
  5. LUA STealth Script Issue
    By Lakotaness in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 06-17-2008, 01:22 AM
All times are GMT -5. The time now is 10:40 AM. 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