Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Hunter's Skills

Hey guys.

I'd like to make some skills for a hunter, though, I want them to be impossible to use unless he has a bow equipped.

So, if you have like, a knife, you can't use the skills, if you have a bow, you can.

How do I do that?

Thanks!
 
A script is completely unnecessary for that. Simply make a common event that says something like:

Code:
@>Conditional Branch: [Actor Name] is [Weapon Name] equipped 
    @>Change skills: [Actor Name] + [Skill Name]
    @>
:   Else
    @>[Actor Name], - [Skill Name]
    @>
:   Branch End
@>

You can make as many events or branches as you want for each of your weapons/skills. Hope that helps!  :thumb:
 
But that way, it just seems he like, doesn't know the skills :P What I'd really like was to be the line that poccil wrote (to have the skill like, in grey, because you can't use it!).
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top