+ Reply to Thread
  1. #1
    Senior Member
    Join Date
    May 2009
    Posts
    118
    Reputation
    Captain Orhotek is on a distinguished road
    Status
    Captain Orhotek is offline

    Summoning Spells

    I made some simple summoning spells but I have no idea how to limit how many things can be summoned.

    This content is only visible to registered users.

    That is a little example of the spell but at the moment all it does is summon a Orc for every dead body. I either want it to summon a couple at a cast or limit how many of that creature can be summoned in all. Like it still uses all dead bodies but only summons 2. And yes this is a crude edit of the summon undead legion spell...unless I am mistaken the code This content is only visible to registered users.
    means how many dead bodies you need to summon. But that is the only thing I see..

  2. #2
    Ø,ø Sync's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,791
    Blog Entries
    1
    Reputation
    Sync is on a distinguished road
    Status
    Sync is offline

  3. #3
    Senior Member
    Join Date
    May 2009
    Posts
    118
    Reputation
    Captain Orhotek is on a distinguished road
    Status
    Captain Orhotek is offline
    sigh I am not much of a coder but I tried that in a couple different ways and at first the spell didnt work then I tried this it worked just like the normal spell..

    This content is only visible to registered users.

    And no luck..happen to know how I can put it in where it does work...thank you for all the help.

  4. #4
    Ø,ø Sync's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,791
    Blog Entries
    1
    Reputation
    Sync is on a distinguished road
    Status
    Sync is offline
    If your not such a good coder how come you claim you made this script yet you cant add a single line of code? Lmao

    This content is only visible to registered users.

  5. #5
    Senior Member
    Join Date
    May 2009
    Posts
    118
    Reputation
    Captain Orhotek is on a distinguished road
    Status
    Captain Orhotek is offline
    I did not claim I made this...in first post I said "And yes this is a crude edit of the summon undead legion spell"

    But as I said thank you for your help.

  6. #6
    Senior Member
    Join Date
    May 2009
    Posts
    118
    Reputation
    Captain Orhotek is on a distinguished road
    Status
    Captain Orhotek is offline
    I just tried that code and while it does make two orcs on first use it no longer requires a body and if you use it again it summons about 50 of them...not really 50 but a few of them.

  7. #7
    Senior Member
    Join Date
    May 2009
    Posts
    118
    Reputation
    Captain Orhotek is on a distinguished road
    Status
    Captain Orhotek is offline
    I hate to make another post once again but I really do wish for help on this. At the moment I am just letting people on my server have fun with the spell but I do want a way to limit what they can get. I was going to use summon creature spell as a way to limit but seems that is hardcoded and not a script..

    If what I am wanting is not doable is there a way to make it where that player can only have a certain amount of summons? Like instead of player being able to have 2 skeletons, 2 bugs, 2...etc he can only have 5 total summons.
    Last edited by Captain Orhotek; 5th July 2009 at 01:19.

  8. #8
    Senior Member
    Join Date
    May 2009
    Posts
    118
    Reputation
    Captain Orhotek is on a distinguished road
    Status
    Captain Orhotek is offline
    Problem Solved....lock post please.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts