Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: Variable Confusion
- Original author: HexMozart88
- Original date: August 4, 2016
- Source thread: https://forums.rpgmakerweb.com/threads/variable-confusion.66331/
- Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker VXAce Support
Summary
I'm trying to show the enemy's health with pictures, but I keep having some issues. Spoiler { "lightbox_close": "Close",
Archived First Post
I'm trying to show the enemy's health with pictures, but I keep having some issues.
The problem:
Please tell me what I am doing wrong.
It seems to be doing this with every number that goes into another digit. Whenever the first number goes to zero, it automatically resets to 9.
Protected downloadProtected downloadProtected downloadProtected downloadProtected download
This is my common event.
This is my common event.
The problem:
Protected download
I had set the variable to be 100 originally, and when I take away ten, the wrong digit is being assigned. When I press F9, it says that the health variable is set to 90, but when I look at the variables I set for each number, it says that the hundreds column is equal to nine and the rest of it is equal to zero. But I thought it should work because of the way math works.
I had set the variable to be 100 originally, and when I take away ten, the wrong digit is being assigned. When I press F9, it says that the health variable is set to 90, but when I look at the variables I set for each number, it says that the hundreds column is equal to nine and the rest of it is equal to zero. But I thought it should work because of the way math works.
Please tell me what I am doing wrong.
It seems to be doing this with every number that goes into another digit. Whenever the first number goes to zero, it automatically resets to 9.
Downloads / Referenced Files
Log in to download
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.
0
replies
1
view
Topic Summary
Loading summary...