OK guys i need help!
I have 3 bushes near each other and i want them all to give you exactly one healing herb.
Bush 1. How can i set it so that when you click on one it gives you 1x healing herb but if you click on the same one again it doesn't.
Bush 2. Then move on to next bush it gives you 1x healing herb but if you try again it doesn't.
Bush 3. Then same as bush 2.
Thanks :blizj:
Use self-switches. So have the first page of the event give you the herb and then turn on Self-Switch A. Then make a new page and have the condition on that page be self-switch A.
Alternatively, you could do something like this on one page of the event:
@>Conditional Branch: Self-Switch A is OFF
@>Change Items: Healing Herb + 1
@>Text: You received 1 Healing Herb!
@>Control Self Switch: A = ON
@>
: Branch END
@>
OK thanks for your help, but i didnt actually use self swhitches!
What did you use? If you used Erase Event then the events will return the next time you enter the map. You can use regular switches if you aren't using RMXP or RMVX, since earlier versions of RM don't have self-switches.
Oh sorry should have told u im using RPG maker 2k3.
This is what i did:
Page 1:
Message: you search bush and find healing herbs.
change item: healing herb add 1.
Switch operation: [0002:bush] ON
Page 2:
Precondition: 0002:bush is on.
Branch if switch [0002:bush] is ON
Message: you search the bush but find nothing
This might go without saying, but when your Event is on the second page, you don't need that conditional branch. The second page is what will always be active, and since there is nothing on the page, but the message of you not being able to take any more, that is. Also you could do it all on one page like MA said. But instead of self switches, use real switches, again like MA said. But, eh. :)
Wouldn't it be the exact same as making a chest? Possibly with some kind of timer attached so they'll regrow? It doesn't sound that hard.
It might not sound hard to you but......... I fail (and im new at this!)