Jump to content
  • 0

Question

Posted

Hey guys,

 

I created an item which lets my players summon a poring monster, which is pretty cool, but the big problem is that I don't want players to be able to keep summoning monsters over and over, I want there to be a limit. How do I make it so that there is a limit to the number of monsters that can be spawn by an item which uses @summon? Thanks in advance.

3 answers to this question

Recommended Posts

Posted

Well, it depends HOW you want to do this.
If you want only one to be summoned at a time, It's fairly simple:

@summon <monster name/ID> {<duration>}

Spawns mobs that treat you as their master.
If a duration is specified, they will stay with you until the duration has ended.

@summon has a duration field (in minutes), once you set it on item usage, you just need to put a delay on Item with the same duration the monster lasts.
You can edit Item Delays on db/(pre-)re/item_delay.txt.

If it's not what you wnat, be more specific, there's other ways to do it.

 

Posted

Hey guys,

 

I created an item which lets my players summon a poring monster, which is pretty cool, but the big problem is that I don't want players to be able to keep summoning monsters over and over, I want there to be a limit. How do I make it so that there is a limit to the number of monsters that can be spawn by an item which uses @summon? Thanks in advance.

 

You will definitely need a source modification for this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...