Respawn Unit with Lua? menu

User Tag List

Results 1 to 6 of 6
  1. #1
    moongo's Avatar Member
    Reputation
    14
    Join Date
    Mar 2007
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Respawn Unit with Lua?

    Hey, I have a "Boss Fight" involving 2 npcs.

    How do i make it, so the dead mob respawns when the players all die?
    -Ekarc

    Respawn Unit with Lua?
  2. #2
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Simply use some basic commands
    if pUnit:GetRandomPlayer() false
    then
    pUnit:SpawnCreature(entryID, x, y, z, o, faction, duration)

    There ya go

  3. #3
    moongo's Avatar Member
    Reputation
    14
    Join Date
    Mar 2007
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx, that helped.
    Although there's a new problem:
    The spawned NPCs don't agro together anymore... Any idea how to fix this?
    -Ekarc

  4. #4
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm what do you mean don't aggro together?

  5. #5
    roguesownu's Avatar Member
    Reputation
    10
    Join Date
    Nov 2006
    Posts
    189
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think he means that they are right next to each other and when you come into aggro range only one of them agrros
    The following statement is true
    The previous statement is false

  6. #6
    moongo's Avatar Member
    Reputation
    14
    Join Date
    Mar 2007
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Like, I made the 2 units both the faction 1701, so that when one is attacked, both units will come.
    Although the spawned unit does not agro the second mob...


    resulting in players to easily cheat this boss fight, by only fighting one unit at a time...
    -Ekarc

Similar Threads

  1. [Request] I need some help with lua script (boss on death)
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 03-03-2008, 03:47 PM
  2. [Help] With Lua ...(where to attach it?)
    By Ellenor in forum World of Warcraft Emulator Servers
    Replies: 13
    Last Post: 02-15-2008, 05:50 PM
  3. After a boss dies, dropping a wall with LUA?
    By C-Death in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 01-29-2008, 09:42 PM
  4. How to make game objects teleport with LUA!
    By Le Froid in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 01-02-2008, 06:59 PM
  5. [Request] Ascent Revision with LUA scripts enabled
    By Greatdrak in forum World of Warcraft Emulator Servers
    Replies: 12
    Last Post: 12-30-2007, 06:04 PM
All times are GMT -5. The time now is 03:18 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