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.

[VX-Resolved] Need Help with event and variables

kire

Member

Hi!
I've got a problem like the title says, with variables and an event.
One of NPC is like a master and I must learn some Skills to do it, but when I it's all done I talk to him and he still says the same thing "You didn't learn sufficient skills"
I did like:
Requirements for page 2
-Variable "Skills Missing is equal or more than 1"
Requirements for page 3
-Variable "Skills" is equal or more than 4

In NPC "skill teachers" I put:
-variable "Skills Missing" -= 1
-Variable "skills" += 1

Help me find what's wrong
Thanks

PS: My English is not so god because im portuguese
 
So "Skills" and "Skills Missing" are two separate variables? Try just making one variable, "Skills" and take out the "Skills Missing" requirement, then just have the skill trainers do

-Variable "Skills" += 1

Hopefully that will work!
 

kire

Member

It's easier and less confusing if I use conditional branches and I found that in the second switch character (1st for the 1 handed one and 2nd for the 2 handed one) I didn't put the skills += 1 lol 
Thanks Dwarfio
 

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