How to get a character to use an item/weapon on an object?

thedoctor30

Warper
Member
Joined
Jul 12, 2014
Messages
2
Reaction score
0
First Language
English
Primarily Uses
Hi everyone,

I'm new here, and I'm a bit new to RPG Maker VX Ace, so I don't know much. I was just wonder how could you get a character to use an item or a weapon on an object through an event? Like in Pokemon when you have to use a move on a rock to destroy it, so you can advance onwards on you're pathway? I know how to create an event and all that, but I just got stuck and annoyed when I came up to this...

Thanks to all those who help in advance!  :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,676
First Language
German
Primarily Uses
RMMV
You need to think from the other side - you don't use an item on an event, the event asks which item to use (select key item command) and then makes different results depending on which item was selected by the player (conditional branches)

If you're new, you might want to follow the link in my signature to the tutorials linked there.
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
Yea what Andar said. There's a line I like to tell new comers, you need to stop thinking from the perspective of a player, and think like a developer.

Developing a game, is a lot like directing a live action movie. What something looks like on screen, and what's actually going on, is two very different things. It's all about movie magic.

To add to Andar's post(to give an example), you put as a event's page condition, requires X item, and then if you want the char to lose said item, use the change item event command, -1 that item from inventory.
 
Last edited by a moderator:

Ultim

Kartoffel.
Veteran
Joined
May 21, 2014
Messages
787
Reaction score
117
First Language
Arabic
Primarily Uses
You can use a Conditional Branch if you want that rock to be destroyed only if you have a specific Weapon/Item.This is how the event may look like :

ConditionalBranchTab1.png.bmp

BTW You need to make that Priority Same As Characters

The Second tab's screenshot was too big to upload so i'll upload in another post.
 

Attachments

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
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

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top