Jump to content

Red, Green and Blue Potions

Overview
Creator: Demonlink Added: 19 Oct 2014 Tags: Item Downloads: 57
Rating[?]: Rating: 4/5 (2 ratings)
View Script Download Example
(860.29 KB)
Information

Description Setup Reviews Comments

You need the Std.zh library included by default in ZC. D0 is used for a custom SFX when you use the potion, if it's 0, then it will play the SFX Refill instead. So, let's get started.

1.- Compile the script (Obvious).
2.- Make a Custom Item and assign the script to it's Action slot. (It's also recommendable to have these with Item Class: Custom Itemclass 01).
3.- To make all three of these appear in your subscreen, make three Current Items, make sure all three of them have the same Item Class you assigned to the potions, and in "Item Override", override each Item with each Potion. (See the demo for more details).
4.- Happy Potion Shopping!