Giving weapon during cutscene?

Xutre

Villager
Member
Joined
Aug 4, 2013
Messages
17
Reaction score
0
First Language
English
Primarily Uses
im sure this is going to sound dumb, but I wanted to give my player a weapon during a cutscene and automaticly equip it, when I tried "Change equipment" it said it had to be in invatory, and I have no idea how to get it to invatory. or anything. ive tried to look it up and I found nothing. if someone would please show me a tutorial or tell me how to do this I would be appreciate. (I am sorry for my spelling... I am tired...)
 

senpoRiot

Professional Procrastinator
Veteran
Joined
Sep 6, 2012
Messages
291
Reaction score
36
First Language
Tagalog
Primarily Uses
Click change weapon first to add the weapon in your inventory then that's the time you use change equipment.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
You can't use 'change weapon' to add something to your inventory, unless it has been created in the database first and then it is automatically available.  'Change weapons' will then add it to the inventory of your party. It will not, however, automatically equip it.  That's where change equipment comes in.
 
Last edited by a moderator:

senpoRiot

Professional Procrastinator
Veteran
Joined
Sep 6, 2012
Messages
291
Reaction score
36
First Language
Tagalog
Primarily Uses
You can't use 'change weapon' to add something to your inventory, unless it has been created in the database first and then it is automatically available.  'Change weapons' will then add it to the inventory of your party. It will not, however, automatically equip it.  That's where change equipment comes in.
Uhh..I know you use change weapon/armor/item to add something to your game's inventory. Of course it must be in the database first. And then when you do that, use "change equipment and choose an actor. Though I've tried doing "change equipment" first and even though the weapon is not on my inventory, I happen to equip it.
 

Berylstone

Veteran
Veteran
Joined
Jun 3, 2013
Messages
642
Reaction score
62
First Language
English
Primarily Uses
You have to do a conditional branch to make sure the item is in the inventory first before using the change equipment command.  Like this:

Conditional Branch: [Weapon1] in Inventory

Change Equipment: [Actor1], Weapon = Weapon1

Branch End

That way it will only equip the weapon if it's in the party's inventory.
 
Last edited by a moderator:

senpoRiot

Professional Procrastinator
Veteran
Joined
Sep 6, 2012
Messages
291
Reaction score
36
First Language
Tagalog
Primarily Uses
I tried eventing a scene where you open a chest and your character will automatically equip the weapon in the chest.

I just used Change Equipment and my character equipped it perfectly fine. No conditional branches.
 

Berylstone

Veteran
Veteran
Joined
Jun 3, 2013
Messages
642
Reaction score
62
First Language
English
Primarily Uses
I tried eventing a scene where you open a chest and your character will automatically equip the weapon in the chest.

I just used Change Equipment and my character equipped it perfectly fine. No conditional branches.
Yeah I misunderstood what you were saying and got you confused with the OP, that's why I removed your quote from my post.  So sorry about that.

I thought someone was having a problem with weapons being equipped automatically in an event rather it was in their inventory or not, and was trying to figure out a way equip a weapon - but only if the player actually had the weapon first.
 
Last edited by a moderator:

senpoRiot

Professional Procrastinator
Veteran
Joined
Sep 6, 2012
Messages
291
Reaction score
36
First Language
Tagalog
Primarily Uses
@Xutre are you using any scripts that has something to do with equipments/inventory/items?
 

Berylstone

Veteran
Veteran
Joined
Jun 3, 2013
Messages
642
Reaction score
62
First Language
English
Primarily Uses
im sure this is going to sound dumb, but I wanted to give my player a weapon during a cutscene and automaticly equip it, when I tried "Change equipment" it said it had to be in invatory, and I have no idea how to get it to invatory. or anything. ive tried to look it up and I found nothing. if someone would please show me a tutorial or tell me how to do this I would be appreciate. (I am sorry for my spelling... I am tired...)
The Change Weapons command under Party in page 1 of your event commands should add weapons to your inventory.

Change Weapons: [weapon1] + 1
 
Last edited by a moderator:

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,860
Messages
1,017,038
Members
137,568
Latest member
invidious
Top