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.

Skills usable with equipment

Is it possible to make a character to be able to use a certain skill depending on the accessory that is equipped to him?
Like say for example:

Aluxes has Hell Ring equipped.
Aluxes can use the summon 'Ifrit'.

Aluxes has Falls Ring equipped.
Aluxes can use the summon 'Leviathan'.

I'm sure it can be done with common events, but when I try I can only make a specific character learn something, no matter who wears it that same character will have the ability.
For example:

Aluxes has Matter Ring equipped. (Which would allow him to use Odin)
However in common events, I could only set a certain character to learn it, so in this case, the character it was set to was, Basil.
So even if Aluxes has Matter Ring equipped, Basil learns the skill. I don't want that. I want it so that whoever has the ring equipped would be able to use Odin, no matter who it is wearing it.

Thanks.
 

Eventing_Guy

Awesome Bro

Jason":2ogtzozt said:
... Aluxes and Basil?

I'd say XP lol :thumb:

Oh ya... forgot about them... LoL

Well Yes it is possible then...
you just have to do the exact same thing for Each spell though.

--------------------------------------------------------------------

Start in the Common Events: Run Parrallel

Character(s) x Summon(s) = # of Conditional branches you will need...

--------------------------------------------------------------------
Summon 1 (example)
If "Character 1" is equiped with "Hell Ring "
then: Add skill "Ifrit" to "character 1"
Else: Remove Skill "Ifrit" to "character 1"
End

If "Character 2" is equiped with "Hell Ring "
then: Add skill "Ifrit" to "character 2"
Else: Remove Skill "Ifrit" to "character 2"
End

If "Character 3" is equiped with "Hell Ring "
then: Add skill "Ifrit" to "character 3"
Else: Remove Skill "Ifrit" to "character 3"
End

If "Character 4" is equiped with "Hell Ring "
then: Add skill "Ifrit" to "character 4"
Else: Remove Skill "Ifrit" to "character 4"
End

--------------------------------------------------------------------

You are gonna have to repeat this process for every Summon you have.

--------------------------------------------------------------------

Summon 2
If "Character 1" is equiped with "Falls Ring"
then: Add skill "Leviathan" to "character 1"
Else: Remove Skill "Leviathan" to "character 1"
End

If "Character 2" is equiped with "Falls Ring"
then: Add skill "Leviathan" to "character 2"
Else: Remove Skill "Leviathan" to "character 2"
End

If "Character 3" is equiped with "Falls Ring"
then: Add skill "Leviathan" to "character 3"
Else: Remove Skill "Leviathan" to "character 3"
End

If "Character 4" is equiped with "Falls Ring"
then: Add skill "Leviathan" to "character 4"
Else: Remove Skill "Leviathan" to "character 4"
End

Summon 3
If "Character 1" is equiped with "Matter Ring"
then: Add skill "Odin" to "character 1"
Else: Remove Skill "Odin" to "character 1"
End

If "Character 2" is equiped with "Matter Ring"
then: Add skill "Odin" to "character 2"
Else: Remove Skill "Odin" to "character 2"
End

If "Character 3" is equiped with "Matter Ring"
then: Add skill "Odin" to "character 3"
Else: Remove Skill "Odin" to "character 3"
End

If "Character 4" is equiped with "Matter Ring"
then: Add skill "Odin" to "character 4"
Else: Remove Skill "Odin" to "character 4"
End

--------------------------------------------------------------------

Im not gonna lie, it's a long progress but still duable... if it's what you want.

they key here is the ELSE... if the character is NOT equiped with the ring
the conditional branch will remove the Summon from your skills.
 

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