Need some help. menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Uppercutter's Avatar Sergeant
    Reputation
    1
    Join Date
    Apr 2011
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need some help.

    Hey all, so im trying to make a mini-boss which will spawn at a certain place when a certain npc is killed (Npc 5000 killed, npc 5001 spawns at x y z). I want to add a weapon to the one that spawns, how can I do this? .npc equip1 <id> 1 doesnt work, nor via the db since he isnt registered as a spawned npc untill the other one is killed.

    I hope I explained my problem enough, my english isnt so good ^^

    Regards, Uppercutter.

    Need some help.
  2. #2
    Dr3ad's Avatar Corporal
    Reputation
    7
    Join Date
    Nov 2010
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Dr3ad View Post
    You forgot to end the function and the function should of been local.

    Here's it fixed up: [Lua] local function OnUnitDied(pUnit, Event) pUnit:SpawnCreature(entry, x, y, z, o, - Pastebin.com

  4. #4
    Dr3ad's Avatar Corporal
    Reputation
    7
    Join Date
    Nov 2010
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm still using LHA.

  5. #5
    Uppercutter's Avatar Sergeant
    Reputation
    1
    Join Date
    Apr 2011
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks alot, it worked . Also, I dont know so much yet about lua could you also say how a spawned creature (for ex: Summon Ghoul, model edited name etc) can get a weapon? He spawns during the fight (getting summoned by my boss) thanks
    Last edited by Uppercutter; 05-18-2011 at 07:08 AM.

  6. #6
    Dr3ad's Avatar Corporal
    Reputation
    7
    Join Date
    Nov 2010
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Change weapon1/weapon2/weapon3 with ID of your weapon, else leave 0 for blank

Similar Threads

  1. Need some help =( fast!
    By Niko33 in forum Gaming Chat
    Replies: 4
    Last Post: 11-29-2006, 05:19 PM
  2. Need some help with fishing bot
    By ralphie123 in forum World of Warcraft Bots and Programs
    Replies: 3
    Last Post: 11-24-2006, 09:41 AM
  3. warrior head tier 2 --> tier 3 need some help please
    By katjenl in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 11-22-2006, 09:10 AM
  4. Need some help
    By _Shapes_ in forum World of Warcraft Model Editing
    Replies: 2
    Last Post: 11-11-2006, 02:18 PM
  5. NEED SOME HELP with Model Editing
    By Dwarf in forum World of Warcraft Model Editing
    Replies: 4
    Last Post: 09-12-2006, 08:12 PM
All times are GMT -5. The time now is 03:47 PM. 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