mayorswaim

Swami
Veteran
Joined
Mar 10, 2015
Messages
55
Reaction score
4
First Language
English
Primarily Uses
I'm trying to make an event where you can mail a gift to an NPC- I've got it all working, except the part where you lose the item in inventory. It doesn't leave the inventory, I don't know how I could get the game to do that. 

part 1.PNG

part 2.PNG
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
that is what the event commands "change gold", "change item", "change weapons" and "change armor" are for - first page, top right
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
I think the script command would be $game_party.lose_item($data_items[$game_variables[21]], 1) and if that's wrong then there's definitely a correct statement that will work.
 
Last edited by a moderator:

mayorswaim

Swami
Veteran
Joined
Mar 10, 2015
Messages
55
Reaction score
4
First Language
English
Primarily Uses
that is what the event commands "change gold", "change item", "change weapons" and "change armor" are for - first page, top right
Yeah, but the player selects it so it's impossible to know what theyre going to do. You can use those..but you'd have to make tons of conditional branches (like, 100 for 100 items.)


Wavelengths should work, sorry i can't quote ^^ but i dont wanna double post
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,355
Reaction score
7,668
First Language
German
Primarily Uses
RMMV
then you need to use the script call equivalents of those commands - like Wavelength described above.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top