- Joined
- Jan 2, 2015
- Messages
- 7
- Reaction score
- 0
- First Language
- english
- Primarily Uses
I was previously using RPG maker 2k3 and i had a common event for a health bar on it. It worked fine for the project I was working on. Then I got VX Ace and I wanted to use the same common event. I had to change some minor things to it considering VX Ace does not have some of the tools 2k3 had. But i have been tinkering with it and i cant get it to work at all. Could some one please look at it and tell me where I am possibly going wrong? Thank you
This is the common events I used in 2k3:
Variable Oper: [0001:TedyHealth] Set, 5
Change HP: Lauren's Hp V[0001] Recovered
Branch is Var [0001:TedyHealth] is 5 or more
Show Picture:1, Health 5_Main, (28)42
Jump to Label: 1
: End
Branch is Var [0001:TedyHealth] is 4
Show Picture:1, Health 4_Main, (28)42
Jump to Label: 1
: End
Branch is Var [0001:TedyHealth] is 3
Show Picture:1, Health 3_Main, (28)42
Jump to Label: 1
: End
Branch is Var [0001:TedyHealth] is 2
Show Picture:1, Health 2_Main, (28)42
Jump to Label: 1
: End
Branch is Var [0001:TedyHealth] is 1
Show Picture:1, Health 4_Main, (28)42
Jump to Label: 1
: End
And the Damage Common Event:
Branch if Timer is 0M 02S Less/Equal
Play Sound: Bite
Flash Sprite: Hero, 1.0 Sec
Variable Oper: [0001:TedyHealth] -, 1
Timer 1 Operation: Set, 0M 03S
Timer 1 Operation: Start
Else Handler
End
And here is my VX Ace port that I am not sure what I did wrong. Btw these events are being Called.
Control Variables [0001: Rose Var] = 12
Conditional Branch: Variable [0001:Rose Var] == 12
Erase picture: 1
Show Picture :1, Rose Health 120%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 11
Erase picture: 1
Show Picture :1, Rose Health 110%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 10
Erase picture: 1
Show Picture :1, Rose Health 100%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 9
Erase picture: 1
Show Picture :1, Rose Health 90%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 8
Erase picture: 1
Show Picture :1, Rose Health 80%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 7
Erase picture: 1
Show Picture :1, Rose Health 70%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 6
Erase picture: 1
Show Picture :1, Rose Health 60%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 5
Erase picture: 1
Show Picture :1, Rose Health 50%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 4
Erase picture: 1
Show Picture :1, Rose Health 40%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 3
Erase picture: 1
Show Picture :1, Rose Health 30%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 2
Erase picture: 1
Show Picture :1, Rose Health 20%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 1
Erase picture: 1
Show Picture :1, Rose Health 10%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] <= 0
Erase picture: 1
Game Over
Jump to Label: 1
: Branch End
Label: 1
And the Damage Common Event:
Conditional Branch: Timer 0 min 2 sec or less
Play SE: 'Bite', 80, 100
Control Variables: [0001:Rose var] -= 1
Control Timer: Startup 0 min. 3 sec.)
: Branch End
This is the common events I used in 2k3:
Variable Oper: [0001:TedyHealth] Set, 5
Change HP: Lauren's Hp V[0001] Recovered
Branch is Var [0001:TedyHealth] is 5 or more
Show Picture:1, Health 5_Main, (28)42
Jump to Label: 1
: End
Branch is Var [0001:TedyHealth] is 4
Show Picture:1, Health 4_Main, (28)42
Jump to Label: 1
: End
Branch is Var [0001:TedyHealth] is 3
Show Picture:1, Health 3_Main, (28)42
Jump to Label: 1
: End
Branch is Var [0001:TedyHealth] is 2
Show Picture:1, Health 2_Main, (28)42
Jump to Label: 1
: End
Branch is Var [0001:TedyHealth] is 1
Show Picture:1, Health 4_Main, (28)42
Jump to Label: 1
: End
And the Damage Common Event:
Branch if Timer is 0M 02S Less/Equal
Play Sound: Bite
Flash Sprite: Hero, 1.0 Sec
Variable Oper: [0001:TedyHealth] -, 1
Timer 1 Operation: Set, 0M 03S
Timer 1 Operation: Start
Else Handler
End
And here is my VX Ace port that I am not sure what I did wrong. Btw these events are being Called.
Control Variables [0001: Rose Var] = 12
Conditional Branch: Variable [0001:Rose Var] == 12
Erase picture: 1
Show Picture :1, Rose Health 120%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 11
Erase picture: 1
Show Picture :1, Rose Health 110%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 10
Erase picture: 1
Show Picture :1, Rose Health 100%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 9
Erase picture: 1
Show Picture :1, Rose Health 90%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 8
Erase picture: 1
Show Picture :1, Rose Health 80%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 7
Erase picture: 1
Show Picture :1, Rose Health 70%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 6
Erase picture: 1
Show Picture :1, Rose Health 60%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 5
Erase picture: 1
Show Picture :1, Rose Health 50%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 4
Erase picture: 1
Show Picture :1, Rose Health 40%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 3
Erase picture: 1
Show Picture :1, Rose Health 30%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 2
Erase picture: 1
Show Picture :1, Rose Health 20%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] == 1
Erase picture: 1
Show Picture :1, Rose Health 10%, Upper Left (0,0), (100%,100%), 255, Normal
Jump to Label: 1
: Branch End
Conditional Branch: Variable [0001:Rose Var] <= 0
Erase picture: 1
Game Over
Jump to Label: 1
: Branch End
Label: 1
And the Damage Common Event:
Conditional Branch: Timer 0 min 2 sec or less
Play SE: 'Bite', 80, 100
Control Variables: [0001:Rose var] -= 1
Control Timer: Startup 0 min. 3 sec.)
: Branch End




