[Question] -l ua spawn/die script menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Peter1337's Avatar Member
    Reputation
    4
    Join Date
    Dec 2007
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] -l ua spawn/die script

    Hi, my problem is that both times, if my boss leaves combat or dies, he do both events


    function Jessica_Death(Unit)
    Unit:SendChatMessage(12, 0, "Damn!")
    Unit:RemoveEvents()
    Unit:SetScale(1)
    end

    function Jessica_OnLeaveCombat(Unit, event)
    Unit:RemoveEvents()
    Unit:SendChatMessage(11, 0, "Noobs!")
    Unit:SetScale(1)
    Unit:SpawnCreature(999999, 2484.17822, -5189.437012 , 76.114136 , 1.489899, 7, 60000)
    Unitespawn(1000, 0)
    end



    RegisterUnitEvent(999998, 2, "Jessica_OnLeaveCombat")
    RegisterUnitEvent(999998, 4, "Jessica_Death")
    is there any way to let him just do one event if he dies and the other one if he just leaves combat?

    sry for my bad english sry sry sry

    [Question] -l ua spawn/die script
  2. #2
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    there might be something wrong with your lua engine cause it seems to me that you set up the lua script right


  3. #3
    Peter1337's Avatar Member
    Reputation
    4
    Join Date
    Dec 2007
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mh okay thanks i'll try an other core maybe it workes then

Similar Threads

  1. [Question] How do you add scripts for an ArcEmu server?
    By RoyPwns in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 04-02-2010, 03:36 PM
  2. [Question]How to use C++ Scripts?
    By marco1234 in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 05-21-2009, 01:10 PM
  3. [Question] Did you all die?
    By sheepking in forum Art & Graphic Design
    Replies: 17
    Last Post: 08-01-2008, 09:09 AM
  4. Some questions about databases and Lua script
    By Whisperfrost in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 06-18-2008, 08:11 AM
  5. [Question] Make players spawn with an item in thier bag
    By foamysquirl in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 03-01-2008, 05:35 PM
All times are GMT -5. The time now is 07:40 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