Original Source
- Original title: Conditional Branch Variable Checking problem
- Original author: Sepharius
- Original date: September 1, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/conditional-branch-variable-checking-problem.67709/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
I've created a skill that you learn from a book, and you keep reading the book to gain experience for the skill. For that, I have created a variable and linked it to one of my characters stats. E.g. Skill name = Hypnosis, variable name = Hypnosis, Magic attack changed to "Hypnosis". Now before I continue, I am not using scripting so forgive any typos but they don't matter because it's using common events.
Archived First Post
For that, I have created a variable and linked it to one of my characters stats.
E.g. Skill name = Hypnosis, variable name = Hypnosis, Magic attack changed to "Hypnosis".
Now before I continue, I am not using scripting so forgive any typos but they don't matter because it's using common events.
So when I read the book, I get the common event to do this;
Control Variables: [0001: Hypnosis EXP] += Random No. (1...4)
Change Parameters: [Player], MAT + Variable [0001: Hypnosis EXP]
That works perfectly.
My problem is a conditional branch that levels up the skill if you have enough experience. It's instantly failing despite me having enough EXP.
Here's the script:
Conditional Branch: Variable [0001: Hypnosis EXP] >= 10
@> (Basically level up the skill)
ELSE: (Fails)
It's taking me directly to the fail despite Hypnosis EXP being 17, it's driving me nuts.
Any suggestions?
Protected download
Protected download
Protected download
Protected download
Protected download
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadReferenced Images / Attachments
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...




