[QUESTION] Lua scripting menu

User Tag List

Results 1 to 5 of 5
  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)

    [QUESTION] Lua scripting

    ArcEmu:

    Maybe this was asked before but it is possible to complete a GO interaction quest like "the shrine of dath remar"? with a script of LUA or BLUA or Sun++, I had a Lua Script for that quest but it doesnt seem to work

    function ShrineofDathRemar (pUnit, Event)
    pUnit:MarkQuestObjectiveAsComplete (8345, 0)
    end
    RegisterGameObjectEvent (180516, 2, "ShrineOfDathRemar")

    I wonder if Markquestobjective have any use

    [QUESTION] Lua scripting
  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)
    it marks an objective of a quest as complete, but I believe for that U first have to script the quest (could u link the full script?)
    and its pUnit::MarkQuestObjectiveAsComplete(questid,objective)
    so to start with shouldn't it be :MarkQuestObjectiveAsComplete(8345, 1) as in complete the first objective?

  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)
    Itried that too, but doesnt work, here is the complete script


    Code:
    --[[ GO - Sunstrider Isle - Shrine of DathRemar.lua
    
    ********************************
    *                                                            *
    * The Moon++ Scripting Project        *
    *                                                            *
    ********************************
    
    This software is provided as free and open source by the
    staff of The Moon++ Scripting 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 The Moon++ Scripting Project, November 2007
    ~~End of License Agreement
    
    All credits for the files in this folder that are GameMonkey scripts
    go to the GMScripts project, for all their hard work for the Ascent 
    community.
    
    -- Moon++ Project,November 2007 ]]
    
    function ShrineofDathRemar (pUnit, Event)
    	pUnit:MarkQuestObjectiveAsComplete (8345, 1)
    end
    RegisterGameObjectEvent (180516, 2, "ShrineOfDathRemar")
    tried also to put in the database in the ReqKillMoborGOID 180516=1, still nothing.

    One question more please. The command .npc come is not permanent, any other command for modifying the spawn point of a mob?
    Last edited by marcelo_20xx; 09-28-2008 at 08:08 AM.

  4. #4
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Select the npc, .npc info

    That gives you the ID of the NPC, then .npc delete, then go where you want him to be and .npc spawn <the id that you got form .npc info>

    I live in a shoe

  5. #5
    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)
    Ok thanks +rep

Similar Threads

  1. [Question] Add an Lua Script to your Server from a different Computer?
    By kevinno in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 05-25-2008, 05:25 PM
  2. Question about Lua scripting
    By bill45 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-13-2008, 02:49 AM
  3. Lua script help and general questions from beginner
    By WinKIller0 in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-23-2008, 04:38 AM
  4. LUA Script Question
    By abndrew82 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 02-08-2008, 02:55 PM
  5. A simple question about Lua Scripts
    By Arugos in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 12-28-2007, 01:57 AM
All times are GMT -5. The time now is 01:09 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