Question about Lua scripting menu

User Tag List

Results 1 to 2 of 2
  1. #1
    bill45's Avatar Member
    Reputation
    5
    Join Date
    Jan 2008
    Posts
    104
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question about Lua scripting

    Is there a way to make it so when a unit dies that another unit spawns on top of it? I was trying the spawn creature one but it only works for one unit of that ID. Heres what I was trying if u wanna see the code.

    Code:
    function Halfbody_Death(unit)
    unit:SpawnCreature(65025, 1763.957642, 1124.309937, 7.490394, 4.960774, 148, 180000)
    unit:SpawnCreature(65025, 1763.957642, 1124.309937, 7.490394, 4.960774, 148, 180000)
    unit:RemoveEvents()
    end
    
    
    
    RegisterUnitEvent(65027, 4, "Halfbody_Death")
    nvm figured it out
    Last edited by bill45; 05-12-2008 at 03:51 PM.

    Question about Lua scripting
  2. #2
    Power of Illuminati's Avatar Contributor
    Reputation
    179
    Join Date
    May 2008
    Posts
    1,410
    Thanks G/R
    6/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    May you write how you solved it? Trying to learn more lua.

Similar Threads

  1. [Question] About a script/macro
    By tonynot in forum World of Warcraft General
    Replies: 0
    Last Post: 04-11-2008, 11:15 PM
  2. [Question] About a script.
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 03-20-2008, 08:28 AM
  3. [Question] About lua files...
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-15-2008, 06:26 PM
  4. [Question]A coupple of questions about compiling scripts
    By Andeby in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 02-07-2008, 02:24 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 11:31 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