Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 3 of 3
  1. #1
    Scout

    Join Date
    Jul 2009
    Posts
    20
    Post Thanks / Like
    Rep Power
    16
    Reputation
    40

    [Lua] SetSoulLinkedWith() Command


    Register to remove this ad
    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)
    Code:
       
    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")
    Code:
    
    
    thanks for reading guys i appreciate



    › See More: [Lua] SetSoulLinkedWith() Command
    Last edited by Apple; 28-08-09 at 02:08 AM.



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Contributor
    shadowslayer133's Avatar
    Join Date
    Jan 2009
    Posts
    53
    Post Thanks / Like
    Rep Power
    17
    Reputation
    92
    /claps very nice thanks for explaining it

  4. #3
    Scout

    Join Date
    Mar 2009
    Posts
    14
    Post Thanks / Like
    Rep Power
    16
    Reputation
    17

    Register to remove this ad
    Good work, mager. Lol.

 

 

Visitors found this page by searching for:

setsoullinkedwith

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 07:17 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org