Custom Mobs Casting Spells menu

User Tag List

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

    Custom Mobs Casting Spells

    I've posted on the ScriptDev2 forums, the Trinitycore2 forums, and the UDB forums. This is my last chance! I'm really hoping someone can give me a detailed explanation on how to create a custom creature that casts spells.

    ** I am running TrinityCore2 and using HeidiSQL

    Please help, I'm literally begging now ! :confused:

    Custom Mobs Casting Spells
  2. #2
    alj03's Avatar Contributor
    Reputation
    91
    Join Date
    Feb 2008
    Posts
    1,103
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    C++ maybe?
    Death to all but Metal.

  3. #3
    Confucius's Avatar Panda of Worlds The Idiot

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1389
    Join Date
    Oct 2007
    Posts
    2,590
    Thanks G/R
    267/283
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First find an NPC in the database and edit it or use WoW-v.com and then you would use Lua to make it cast the spell, for example here is one I did on my server
    Code:
    function necro_OnCombat(pUnit, Event)
        pUnit:SendChatMessage(14, 0, "You dare challenge the Scourge?!")
        pUnit:RegisterEvent("necro_Spell1", 2500, 0)
    
    end
    
    function necro_Spell1(pUnit, Event)
        pUnit:FullCastSpellOnTarget(686, pUnit:GetClosestPlayer())
    
    end
    
    function necro_OnDeath(pUnit, Event)
        pUnit:RemoveEvents()
        pUnit:SendChatMessage(14, 0, "NOO!!! THIS CANNOT BE!!!")
    
    end
    
    function necro_OnLeaveCombat(pUnit, Event)
        pUnit:RemoveEvents() 
    
    end
    
    RegisterUnitEvent(31155, 1, "necro_OnCombat")
    RegisterUnitEvent(31155, 2, "necro_OnLeaveCombat")
    RegisterUnitEvent(31155, 4, "necro_OnDeath")

    Using Lua you can also make it talk, notice my script, I'm sorry if I'm bad at explaining this, if you want we can talk on MSN or something, all my mobs are custom scripted on my server :wave:

  4. #4
    alj03's Avatar Contributor
    Reputation
    91
    Join Date
    Feb 2008
    Posts
    1,103
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I thought lua only worked for Arcemu? (Correct me)
    Death to all but Metal.

  5. #5
    Confucius's Avatar Panda of Worlds The Idiot

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1389
    Join Date
    Oct 2007
    Posts
    2,590
    Thanks G/R
    267/283
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    gah didn't see that he's on ManGos?!

Similar Threads

  1. [Release] 4700 Mobs Cast Spells(1700+New3000)
    By byeolpyo in forum WoW EMU General Releases
    Replies: 18
    Last Post: 02-12-2009, 09:07 AM
  2. [Release] 1700 Mobs cast Spells
    By byeolpyo in forum WoW EMU General Releases
    Replies: 8
    Last Post: 01-14-2009, 09:18 AM
  3. Custom mobs cast spell
    By Royalaty in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 07-02-2008, 01:48 PM
  4. Mobs cast spell
    By Royalaty in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 06-21-2008, 01:12 PM
  5. [question] how to make an custom npc cast spells?
    By INS4N3K1LL in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 05-18-2008, 07:45 AM
All times are GMT -5. The time now is 08:43 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