Conditional Branch: Chests Tutorial
#1
Conditional Branch

Introduction

I'm sure you have read my Tutorial on keeping chests open after you get an item from it (if not click here). Now lets use the information from that Tutorial and teach you about conditional Branches in RMXP.

Basic Conditional Branch

A conditional branch is an event or part of an event that says in short you have to do this, have this item, talk to this person before you can move on in the game (i e a key to unlock a door).

Set Up The Chest Event

1) Right click where you want the chest and click NEW EVENT.

2) Then Click the button: CONDITIONAL BRANCH.

3) Now click the tab number FOUR (4) and check the box that says ITEM.

4) Then pick the item the player needs to have before they can open the chest. Then click OK.

5) Now in the EVENT COMMAND box right below the words: CONDITIONAL BRANCH: [name of item] POSSESSED double click the: <> symbol and set up your ITEM Event Like so:

Quote:a) Click the CHANGE ITEM button or Money or Skill, etc that you want in the chest.
Quote:*If you wish then choose the MESSAGE button and have it say something like: “ You Found 1 Potion.”
B) Now click the SWITCH OPERATION button. When the window pops up click the SQUARE button with the three dots on it ( ...).
c) Give the Switch a name, i. e. CHEST--OPEN and click OK.
d) Then click OK again to go back to the EVENT COMMANDS window.
e) Now click the NEW PAGE button.
f) On the new page check the box that says SWITCH then click the SQUARE button (with 3 dots) and pick the Name of the SWITCH you want.
g) Now go to the GRAPHIC and pick the OPEN CHEST image of the chest you are using.
Quote:*If you want you can use the MESSAGE button to have it say something like: “It is Empty” in-case the player tries to see what would happen.

6) Now click the <> below the ELSE HANDLER.

7) Click the MESSAGE button and say what you would like (i e “You need a Key to open this chest”)

And that should do it.

---Lord Rasler
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
Wink  RPG Developer Bakin: The Active Timed Battle System Tutorial JayRay 0 1,403 01-09-2023, 04:36 AM
Last Post: JayRay
   Tutorial: How to create a minimap in Smile Game Builder JayRay 1 3,483 05-11-2022, 11:38 PM
Last Post: JayRay
   Liberated Pixel Cup Tutorial DerVVulfman 2 7,251 08-30-2013, 03:23 AM
Last Post: DerVVulfman
   Simple Blood Tutorial ClockworkAngel 6 16,884 04-19-2012, 01:24 AM
Last Post: yamina-chan
   Shapeshifter Tutorial KasperKalamity 0 4,862 04-01-2012, 09:17 PM
Last Post: KasperKalamity
   MetalRenard's Music Tutorial Thread - Videos! MetalRenard 14 22,957 02-15-2012, 10:12 PM
Last Post: MetalRenard
   [Pixel Art] Cactus Tutorial Kain Nobel 1 9,322 11-01-2011, 01:04 PM
Last Post: MetalRenard
   Happy Map Tutorial (Photoshop) Shiroiyuki 9 15,008 06-25-2010, 02:47 AM
Last Post: MagitekElite
   Shiroiyuki's Battler Tutorial Shiroiyuki 2 6,809 05-25-2010, 07:54 PM
Last Post: Shiroiyuki
   TUTORIAL TWO: OUTDOOR MAPPING(Port City) computerwizoo7 4 8,301 05-07-2010, 01:18 AM
Last Post: HakktHazard



Users browsing this thread: 1 Guest(s)