Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Special Items

Status
Not open for further replies.

CraftGeek

Knight
Xy$
0.01
Not sure if this is where I need to post this. I would like to make a special or key item that can allow the character to walk on damaged floors (like hot floors or poisoned swamp). I want it to be equipped automatically, so when they get the item, be it a ring or a pair of boots or whatever then they don't have to keep equipping it to walk on or across whatever area that is damaged. Hope this makes sense. I would appreciate any and all help. Thanks.
 

MinisterJay

Administrator
Staff member
Administrator
Here is how I would solve this. 1) Make an item, whatever you desire it to be. 2) Make an event, for each 'damaged floor' or 'poisonous swamp' spot, and include a conditional branch. 3) Within this conditional branch have it check for your special item. 4) If the item is not present, the character takes damage, and if the item is present nothing happens.

Hope this helps out.
 

CraftGeek

Knight
Xy$
0.01
This is very helpful. Thank you for the help. I'm gonna give this a try.


How do you make it do damage withing the conditional branch?
 
Last edited:

MinisterJay

Administrator
Staff member
Administrator
You can adjust the hitpoints negatively within the event, in the part of the conditional branch that deals with not having the special item.

More specifically, in the event, it is stated as Change HP, in the Actor section of Tab One.


Note: Selecting the [Create Else Branch] may help see the conditional branch options better.
Note: The Check Items part of a Conditional Branch is located on the 4th Tab.
[doublepost=1460150482,1459977632][/doublepost]Thread closed due to it being answered.
 
Status
Not open for further replies.
Top