Manually Use Item

Burgerland

Veteran
Veteran
Joined
Sep 26, 2015
Messages
331
Reaction score
90
First Language
English
Primarily Uses
N/A
What I want to happen:


Approach NPC, go into inventory, select and use item, item is given to NPC (second conditional branch in common event)


What happens:
I select and use item, but only the first conditional branch ever happens


item.PNG
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
If you want them to happen in order, the second conditional branch doesn't happen because it's in the Else part of the first conditional branch, which has already been executed.  If switch 44 is on, the first part will be run, and the second and third parts will be skipped.  If you want the second part to run, switch 44 has to be off and 68 has to be on.


What turns on switch 44?
 

Burgerland

Veteran
Veteran
Joined
Sep 26, 2015
Messages
331
Reaction score
90
First Language
English
Primarily Uses
N/A
If you want them to happen in order, the second conditional branch doesn't happen because it's in the Else part of the first conditional branch, which has already been executed.  If switch 44 is on, the first part will be run, and the second and third parts will be skipped.  If you want the second part to run, switch 44 has to be off and 68 has to be on.


What turns on switch 44?
thank you


Switch 44 is turned on when you get the water from the well
 

Burgerland

Veteran
Veteran
Joined
Sep 26, 2015
Messages
331
Reaction score
90
First Language
English
Primarily Uses
N/A
I simplified the common event and water event, but the first conditional branch is still the only one working.


Capture.PNG
 

Burgerland

Veteran
Veteran
Joined
Sep 26, 2015
Messages
331
Reaction score
90
First Language
English
Primarily Uses
N/A
Okay, I found the solution using this script for coordinates instead of using regions:

$game_player.x == 5 and $game_player.y == 9

Where 5 and 9 equal the map's coordinates 005, 009. And change == to != to designate not standing on the 5,9 tile.


Just need to figure out how to make it so the coordinates only work on map 5. :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top