Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
Verincia

[XP]new with variables, some advice about it. (solved)

Question

I am trying to work with a variable, the idea is that there is an item and has been split into two pieces, and then the characters have to go look for those two pieces, and then have to get the two pieces together. This is how the varialbe is suppose to look, but when it comes to making it work, i am still having trouble. The item is called the Blue Orb. Well this is one of them.

post-6090-1237420240_thumb.png

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

You could also make it where when you get the item it increases the variable by 1. and use the same conditional branch.

Share this post


Link to post
Share on other sites
  • 0

You could use switches,instead of variables. Like a switch for each half of the orb,and then a condition branch that checks if you have either piece or both.

You don't really need a variable for just two pieces. Variables are more for collecting a large number of items.

Example: Star Dust in Legend of Dragoon,or the Star Fish in Skies of Arcadia Legends.

These weren't really items,but collectables.

Share this post


Link to post
Share on other sites
  • 0

You can make a variable that can equal how many of a certain item you have. Let's say you have 4 potions, the variable named potion would equal 4. You just set the variable to "set" instead of "add" and it'll do the rest. So if you have 2 Blue Orbs in your inventory, the variable would equal 2. I just make a common event with the variable so I don't have to put the variable into an event.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...