Couple Questions & Requests menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Willzy's Avatar Banned
    Reputation
    22
    Join Date
    Jul 2010
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Code:
    function LordMarrowgar_OnSpawn(pUnit, event)
        pUnit:RegisterEvent("Marrowgar.FirstEnter", 1000, 0)
    end
    
    function LordMarrowgar_FirstEnter(pUnit, event)
        local player = pUnit:GetClosestPlayer()
        if player ~= nil then
            if LordMarrowgar:GetDistanceYards(player) <= 65 then
                pUnit:RemoveEvents()
                pUnit:PlaySoundToSet(16950)
                pUnit:SendChatMessage(14, 0, "This is the beginning AND the end, mortals. None may enter the master's sanctum!")
            end
        end
    end
    
    RegisterUnitEvent(npcid, 18, "LordMarrowgar_OnSpawn")

    Harry, do you have msn? I need to talk to you through it to ask some questions, Mey doesn't know a thing of what I'm talking about ^^'

    Couple Questions &amp; Requests
  2. #17
    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)

  3. #18
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Code:
    function LordMarrowgar_OnSpawn(pUnit, event)
        pUnit:RegisterEvent("Marrowgar.FirstEnter", 1000, 0)
    end
    
    function LordMarrowgar_FirstEnter(pUnit, event)
    Shouldn't that be
    Code:
    pUnit:RegisterEvent("Marrowgar_FirstEnter", 1000, 0)
    Although I'm not good at Lua
    Why do I need a signature?

  4. #19
    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)
    Originally Posted by Link_S View Post
    Shouldn't that be
    Code:
    pUnit:RegisterEvent("Marrowgar_FirstEnter", 1000, 0)
    Although I'm not good at Lua
    Yes, I made a type or I got confused with Java.


Page 2 of 2 FirstFirst 12

Similar Threads

  1. Couple questions, lua involved + other?
    By blah7 in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 01-18-2008, 03:42 PM
  2. Newbie Question and Request
    By dc0ke in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 12-16-2007, 05:17 AM
  3. a couple questions please help.
    By saschielx in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 11-09-2007, 11:32 PM
  4. [READ ME] How to ask Questions and Request edits
    By Mudkip in forum WoW ME Questions and Requests
    Replies: 9
    Last Post: 11-07-2007, 04:10 PM
  5. Couple questions about post count, etc.
    By Nezdragon in forum Community Chat
    Replies: 0
    Last Post: 10-18-2006, 12:17 AM
All times are GMT -5. The time now is 04:38 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