Item Level Requirement

Fire-Wolf

S.P.D Smoke Pot Daily, Legalize It!
How exactly do I go about making an Item Level Requirement. As in when my hero picks up a Level 3 item, when he is Level 2 instead of equipping it as normal, it instead goes to your Inventory boxes? I think I could manage a system that just makes it so he cannot pick up the item at all unless he is a certain Level, but would rather make it it go to your inventory and just restricting you from equipping it as that is better in my opinion. I have looked at Unit Manipulates Inventory Item but can't see a function for whether or not the unit equips the said item... Does anyone have an idea on how to accomplish this? I would really appreciate the help! I am currently working on an RPG called Monstercraft, and would like to implement this system in it.

Thanks!
Fire-Wolf
SC2 Name: Arctic
 

X-maul

AKA: Demtrod
What you could do, is to create a requirement that checks if the unit is level 4 (for example), and give the requirement to both the item, and the item behavior.

This would make the item go grey when the unit is not the correct level. It would be possible to equip, but the effect of the item would not apply untill the unit is level 4.

The requirement should look like this;
 

Fire-Wolf

S.P.D Smoke Pot Daily, Legalize It!
That's not a bad idea! I had thought of doing Requirements but wasn't sure if they could check a units level. I will try this and see how it works. Thanks for helping me out!
 

Fire-Wolf

S.P.D Smoke Pot Daily, Legalize It!
Actually I tried implementing what you told me, it did make the item look disabled but then it still gave me the equipment buff and I did add the requirement to the buff so it shouldn't have. It also made the item description look funny with the requirement text in the description. Another thing to note after removing the buff's requirement and creating a new validator that checked the hero's level and then put it in the Validators Remove section of the buff the item worked how you stated it should. I decided to do away with level requirements for my items anyways, but I just thought I should let you know how it worked!
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    We did!
  • Ghan Ghan:
    The old shoutbox wasn't supported anymore. We updated xenForo, so it had to be replaced.
  • jonas jonas:
    let's see if everyone finds it... the nice thing about the shoutbox was I could check on it even while logged out, but the existence of this one is hidden when you're not logged in
  • Ghan Ghan:
    We can fix that.
  • Ghan Ghan:
    Chat should show on the sidebar when not logged in now.
  • Ghan Ghan:
    (You'll still need to log in to post messages)
  • Ghan Ghan:
    Test!
  • tom_mai78101 tom_mai78101:
    I must be in a test server.
  • tom_mai78101 tom_mai78101:
    Nice, Twitter tweets embedding now works
  • Wizard Wizard:
    Yup.
  • Ghan Ghan:
    Excellent.
  • Ghan Ghan:
    @tom_mai78101 Hello there.
  • Ghan Ghan:
    Tagging works in the chat too.
  • tom_mai78101 tom_mai78101:
    @Ghan Missed it.
  • Wizard Wizard:
    Still fixing things here and there. Added widgets to the portal, will make it match the ones here on the forum index tomorrow.
  • Ghan Ghan:
    The venerable World Editor Tutorials site has been converted to HTTPS at last.
  • jonas jonas:
    cool
  • jonas jonas:
    and I can even edit my messages, nice
  • seph ir oth seph ir oth:
    GENERAL CHIT CHAT, YOU ARE A BOLD ONE
  • Ghan Ghan:
    Hello there
  • The Helper The Helper:
    this new chatbox is great and the forum software update is great too
    +1
  • The Helper The Helper:
    upgrade has fixed forum registration spam problem
  • tom_mai78101 tom_mai78101:
    Something tells me we might be able to customize the chatbox a bit, considering that there's a gap under every message.
  • Wizard Wizard:
    Going to deploy a fix soon, just had to take some time for myself this weekend.

    Staff online

    • Ghan
      Administrator - Servers are fun

    Members online

    Affiliates

    Hive Workshop
    Top