Page 1 of 1

RPG maker vx problem

PostPosted: Sun May 10, 2009 6:04 pm
by Saltome
hey guys i just switched to rmvx from rmxp but i seem to have a problem with a code i was using b4

Control Variables:[0001:Variable] = [Player]'s MaxHP
Change HP:[Player],-Variable[0001:Variable]

its as simple as 2+2 but when i test it it doesent work
it works if i use a constant for the variable

but it doesent work if i use another attribute like MaxMP

so i was wonderingif anyone can help or at least verify the issue

oh n btw im using this in a common event but i dont think that matters

Re: RPG maker vx problem

PostPosted: Tue Aug 25, 2009 8:03 pm
by shun
This problem is faced by many.

but, you will need to do the below:

The game_interpreter script has a bit of a mistake in it. To fix this,
These are lines 748-752 of game_interpreter.



when 3 # Item
value = $game_party.item_number($data_items[@params[4]])
actor = $game_actors[@parameters[1]]
actor = $game_actors[@params[4]]
if actor != nil


But this is how it should look like:


when 3 # Item
value = $game_party.item_number($data_items[@params[4]])
when 4 # Actor
actor = $game_actors[@params[4]]
if actor != nil

Re: RPG maker vx problem

PostPosted: Tue Aug 25, 2009 9:31 pm
by Saltome
hmm thx i found a patch that fixed the problem though