What's wrong with my script? menu

User Tag List

Results 1 to 2 of 2
  1. #1
    sora2810's Avatar Private
    Reputation
    2
    Join Date
    Nov 2010
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What's wrong with my script?

    Code:
    function Quest_ON_ACCEPT(pPlayer, QuestId)
    pPlayer:SpawnGameObject(250001, 11930.029297, -4615.303223, 0.975783, 5.511259, 180000, 1)
    end
    
    RegisterQuestEvent(15000, 1, "Quest_ON_ACCEPT"))
    This is what I'm trying to do: When a player accepts the quest, it spawns the gObject. Also, How do I used the activate gameobject quest event? Thanks.
    Last edited by sora2810; 12-05-2010 at 03:57 PM.

    What's wrong with my script?
  2. #2
    shadeslayor's Avatar Member
    Reputation
    11
    Join Date
    Nov 2007
    Posts
    42
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    try this and let me know what happens
    Code:
    function Quest_ON_ACCEPT(plr, QuestId)
    plr:SpawnGameObject(250001, 11930.029297, -4615.303223, 0.975783, 5.511259, 180000, 1)
    end
    
    RegisterQuestEvent(15000, 1, "Quest_ON_ACCEPT")
    and as far as the QUEST_EVENT_GAMEOBJECT_ACTIVATE i believe when you spawn the object you can have it activated when spawned, the best thing to do might be to have the objects spawned, and mess around with phaseing the player to use it, other wise every player will spawn and item when they accept the quest.

    otherwise delete the last ')' and that might do it to

Similar Threads

  1. [Lua Script] What is wrong with this script!?
    By Cuodin in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 04-05-2011, 10:00 AM
  2. What is wrong with this script?
    By XxCyanidexX in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 03-01-2009, 12:13 PM
  3. What is Wrong with my Script
    By Juicyz in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 05-23-2008, 07:37 PM
  4. [helpzerz] What is wrong with this lua script?
    By w21froster in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 05-21-2008, 09:45 PM
  5. [Need help] What's wrong with this script?
    By Arthas117 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-10-2008, 02:04 PM
All times are GMT -5. The time now is 05:09 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