Laxius Soul Forever Heroes Maiden Maiden Odessa When the Light Dies

RPG maker vx problem

RPG maker vx problem

Postby Saltome » Sun May 10, 2009 6:04 pm

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
Persistence, perseverance, ambition.


Deviant Art: Image
User avatar
Saltome
Bounty Hunter
 
Posts: 539
Joined: Fri Jan 30, 2009 2:11 am
Location: Varna;Bulgaria

Re: RPG maker vx problem

Postby shun » Tue Aug 25, 2009 8:03 pm

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
shun
Peasant
 
Posts: 1
Joined: Sat Aug 01, 2009 12:47 pm

Re: RPG maker vx problem

Postby Saltome » Tue Aug 25, 2009 9:31 pm

hmm thx i found a patch that fixed the problem though
Persistence, perseverance, ambition.


Deviant Art: Image
User avatar
Saltome
Bounty Hunter
 
Posts: 539
Joined: Fri Jan 30, 2009 2:11 am
Location: Varna;Bulgaria


Return to Let's Discuss about Games

Who is online

Users browsing this forum: No registered users and 55 guests


Laxius Force III Little Hearts Night of the Stars Fortress of Hell Witch Hunt Millennium 5