[Guide]How to make NPC casting spells(LUA) menu

User Tag List

Results 1 to 3 of 3
  1. #1
    paulbechtold's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Guide]How to make NPC casting spells(LUA)

    How to make NPC casting spells with the LUA script

    Hey guys,i wanna tell you how to script an (custom)NPC with the .LUA Way!
    1)First of all u wanna get an Repack/Server with ARCEMU/Ascent Core
    2)Then open Wordpad 3)Copy this script to the new Document


    function NpcName_Event (pUnit, Event)
    pUnit:CastSpell (YOURSPELLID)
    end
    RegisterUnitEvent (YOURNPCID, 1, "NpcName_Event")


    4)Replace the "YOURNPCID with the ID from your NPC ,u wanna make to cast spells.5)Replace the YOURSPELLID with the Spell that would be later castet from the NPC(U can find ID's on WoWhead.com)6)The final step!Save your Document as .LUA File in your C:\REPACK\ArcEmu\scripts folder like this NPCCASTING.lua Restart server and then u should got the NPC with the spell!DON'T FORGET!! THE FACTION OF THE NPC MUST BE NOT NEUTRAL FOR ANYONE!(Use Faction ID like 14)
    DONE HAVE FUN!

    [Guide]How to make NPC casting spells(LUA)
  2. #2
    Kaido Marahu's Avatar Private
    Reputation
    1
    Join Date
    Nov 2009
    Posts
    13
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I always wondered how to do this, Thanks alot!

  3. #3
    facka138b's Avatar Member
    Reputation
    10
    Join Date
    Mar 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is just bad. Sorry dude.

Similar Threads

  1. [Guide] How to make a NPC cast spells. NO LUA!
    By Power of Illuminati in forum WoW EMU Guides & Tutorials
    Replies: 52
    Last Post: 05-06-2011, 07:13 AM
  2. [Guide] How to make your own Spell Fixes
    By Pedregon in forum WoW EMU Guides & Tutorials
    Replies: 17
    Last Post: 04-24-2011, 03:10 PM
  3. How to make npc cast spell[HELP!]
    By Flake0207 in forum WoW EMU Questions & Requests
    Replies: 10
    Last Post: 12-15-2008, 09:58 AM
  4. LUA help, how to make npc cast a spell at a certain HP???
    By pioneer1337 in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 03-30-2008, 06:27 PM
  5. [GUIDE]:How to make npc drop item!
    By Kazard123 in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 03-06-2008, 05:32 PM
All times are GMT -5. The time now is 04:25 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