Yami RPG Editor

Yami RPG Editor

abv.isj Mar 8, 2023 @ 2:12am
"Set Inventory" question
I am trying to add an item stored in global variables. The item is stored in a variable with the category "Object". In the "Set inventory" function, in the "Item" line, I can select "file" or "var" property. If I choose "var", then I am required to set a global variable of type "string", not "object". Is this a bug or am I just not understanding how it works?
Last edited by abv.isj; Mar 8, 2023 @ 2:13am
< >
Showing 1-5 of 5 comments
abv.isj Mar 8, 2023 @ 2:31am 
Same question for the following function:
Set Number > Operation = Set | type = object | Property = Actor - Item Quantity | Actor = PlayerActor | Item = Global Variable
Item requires variable of type "string"
yami  [developer] Mar 15, 2023 @ 4:06am 
There is a tip missing here
If you input <file>, it's actually the ID of this file, so it should also be the file ID after switching to the variable
yami  [developer] Mar 15, 2023 @ 4:11am 
The file is used to create items, which cannot be accessed until they are created
abv.isj Mar 23, 2023 @ 1:41am 
Originally posted by yami:
There is a tip missing here
If you input <file>, it's actually the ID of this file, so it should also be the file ID after switching to the variable

Thank you very much for your answer.

I figured out what my mistake is. But I can't find a solution for my problem.

For example, to add equipment to inventory from a variable, I need to use the "Gain Equipment Instance" function. This is a very handy feature.

Is there something similar to add an item saved in a variable to the inventory?
yami  [developer] Apr 10, 2023 @ 9:59am 
Originally posted by abv.isj:
Thank you very much for your answer.

I figured out what my mistake is. But I can't find a solution for my problem.

For example, to add equipment to inventory from a variable, I need to use the "Gain Equipment Instance" function. This is a very handy feature.

Is there something similar to add an item saved in a variable to the inventory?
Good idea, this option used to be there but was removed and will be enabled again
< >
Showing 1-5 of 5 comments
Per page: 1530 50