SetSoulLinkedwith LUA Command Guide menu

User Tag List

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

    SetSoulLinkedwith LUA Command Guide

    In Order to Understand this you need a bit of LUA background follow this link to learn
    SectorSevens LUA 101
    Runikers LUA Guide (he cried) lol

    Now Lets begin with telling what setting a soul link will do

    it makes OnCombat the monsters that are soullinked with it will come and attack as well
    instead of single pulling you can get whole groups thus making instances more challenging
    now lets begin

    dementrating what it will do (in the form of letters)

    instead of

    z c
    x


    u

    you will get




    z x c
    u

    XD

    Making and explaining the script

    nothing much to explain if your trully fluent with LUA and you paid attension to the above
    you will know how to use when to use why to use and (theres no 4th on hahahaha)

    i generally use the OnSpawn function for this command

    Code:
    function Example_OnSpawn(pUnit, Event)
    pUnit:SetSoulLinkedWith(z)
    pUnit:SetSoulLinkedWith(c)
    end
    
    RegisterUnitEvent(x, 6, "Example_OnSpawn")
    that will give you the example i made up earlier

    now a true script will replace z, x, and c with
    the Entry ID's

    so have fun with this command : ) will be great for custom instances






    Template

    Written by Mager1794 created for editing purposes
    Code:
    function Template_OnSpawn(pUnit, Event)
    pUnit:SetSoulLinkedWith(NPCID)
    #Add more soul links if you wish
    end
    
    RegisterUnitEvent(NPCID, 6, "Template_OnSpawn")
    thanks for reading guys i appreciate
    Last edited by mager1794; 07-02-2008 at 01:26 AM.
    Lunar Gaming - Reaching For The Stars

    SetSoulLinkedwith LUA Command Guide
  2. #2
    runiker's Avatar Contributor
    Reputation
    105
    Join Date
    Nov 2007
    Posts
    501
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Aww Why did you ahve to use sectors everyone uses sectors because he is an emu god lol j/k great guide!

  3. #3
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well. Runiker (imo) your guide doesnt teach lua scripting. But it teaches the commands and the endings etc. Everytime i forget a command or an event. I look at your guide

    I learned lua scripting from modifying lua scripts thats alrdy made;D
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  4. #4
    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)
    +Rep for leting me know about this command Oo Very useful =P

    *To much rep given the last 24 hours*

    gaah -.- I hope I will remind to rep you later

  5. #5
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks guys this is by far one of my fav commands for custom instances cause it gives it a more blizzlike feel
    Lunar Gaming - Reaching For The Stars

  6. #6
    Arthas117's Avatar Knight-Champion
    Reputation
    151
    Join Date
    Mar 2007
    Posts
    483
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by b!atch View Post
    Well. Runiker (imo) your guide doesnt teach lua scripting. But it teaches the commands and the endings etc. Everytime i forget a command or an event. I look at your guide

    I learned lua scripting from modifying lua scripts thats alrdy made;D
    Me to

    Umm I only know one technique of LUA scripting cuz I only did that stuff with one script: BOSS_Hellfire_Kazzak.lua

    World best PvP Paladin=Me? GG ;D


  7. #7
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added Runikers guide XD
    Lunar Gaming - Reaching For The Stars

  8. #8
    b!atch's Avatar Member
    Reputation
    118
    Join Date
    Oct 2007
    Posts
    726
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Me to

    Umm I only know one technique of LUA scripting cuz I only did that stuff with one script: BOSS_Hellfire_Kazzak.lua


    Just take a new one and modify it. Thats how i learned it

    Then i started trying out new commands in the old scripts, etc etc. Now i know 99,99% of the wow emulation lua.. I still dont know how to script addons and stuff
    Spectrum-X is win! Rep People That Help You and Candybones Wont Eat Your Brain:>

  9. #9
    Kiyoshi's Avatar Member
    Reputation
    28
    Join Date
    Jun 2008
    Posts
    192
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice guide I was always wondering how to do this

  10. #10
    mager1794's Avatar Member
    Reputation
    356
    Join Date
    Feb 2008
    Posts
    703
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    b!atch addons are easy except for the XML parts i hate it
    im not good with designing crap
    Lunar Gaming - Reaching For The Stars

Similar Threads

  1. NPC lua spell commands [GUIDE]
    By thebigman in forum WoW EMU Guides & Tutorials
    Replies: 0
    Last Post: 08-12-2009, 06:11 PM
  2. [Guide] Lua Scripting Guide is here [Updating]
    By Illidan1 in forum WoW EMU Guides & Tutorials
    Replies: 93
    Last Post: 11-04-2008, 06:56 PM
  3. [Guide] Another LUA Scripting Guide
    By Bapes in forum WoW EMU Guides & Tutorials
    Replies: 13
    Last Post: 05-08-2008, 05:01 PM
  4. LuA SCRIPTING (guide)
    By Dee2001 in forum WoW EMU Guides & Tutorials
    Replies: 5
    Last Post: 03-05-2008, 11:43 AM
  5. WoW ID and command guide
    By lincoln1992 in forum World of Warcraft Guides
    Replies: 9
    Last Post: 06-05-2007, 02:09 AM
All times are GMT -5. The time now is 06:04 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