![]() ![]() I hope this is a suitable answer to your problem. Which means, if the player has 5 potions OR 1 Hi-potion in their inventory, the text will be displayed. To go even further, you can use || to denote OR. But it seems that the only way to do this is to convert those stats into variables and then run the conditional on those variables. In this scenario, since I'm using a default project, this is checking if the player has 5 Potions and 1 hi-potion in their inventory. I want to create a conditional that uses an actor's HP or MP as the determining factor. $game_em_number($data_items) = 5 & $game_em_number($data_items) = 1 If you want the player to have 2 specific items in their inventory, you can do something like this. ![]() Replace ITEM_ID with the database number for the item and the ITEM_AMOUNT is the amount you want to have.Īs well, you can replace = with different operators such as >= (equal to or greater),, <, != (not equal to). RPG Maker MZ - Creepy Land Tileset Pack Plus -10 6.99 6.29 RPG Maker MZ - Original Fantasy Character Pack -10 11.99 10.79 RPG Maker MZ - RPG BGM Collection 8bit Edition 11.99 RPG Maker MZ - RPG BGM Collection Orchestral Edition 11.99 RPG Maker MZ - Grid Map Tiles RPG Maker Edition 39. $game_em_number($data_items) = ITEM_AMOUNT Under conditional branch, go to the last page and select the script button. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |