Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Making an item usable on event
#4
Depending on how you've set up the first step, you could cheat by having two items.
KeyItem(a) and KeyItem(b).
KIa and KIb are identical in everything, except that KIa is not usable, KIb is.
In the event that is wanting you to use KI, have a conditional branch check if you have KIa in your inventory. If you do, just before you open your item selection window, add KIb to your inventory and remove KIa.
Thus when you enter the item menu, you are now allowed to use KIb and activate it's switch/trigger/function and have it be consumed.
Make a fail-save too, if the player uses the wrong item or backs out of the selection. If KIb is not used and still in your inventory and it's switch not activated, remove KIb from inventory and replace it with KIa.
If the item is not consumed and stays in your inventory, you can just use the switch alone to determine whether or not you should have KIa or KIb.
Friendship is born at that moment when one person says to another: "What! You, too? Thought I was the only one." (C.S. Lewis)
For the time you're laughing, there's nothing wrong in the world. (Colin Mochrie)

If it's funny, make sure people laugh. If it's not funny, make it funny (unless it's actually really serious). (silvercheers)

Please don't spell my name "Yamina-chan". It's all small. Thank you =D
Reply }


Messages In This Thread
Making an item usable on event - by swickster - 05-18-2019, 08:50 AM
RE: Making an item usable on event - by Someone - 05-18-2019, 11:52 AM
RE: Making an item usable on event - by swickster - 05-19-2019, 01:02 PM
RE: Making an item usable on event - by yamina-chan - 05-19-2019, 03:07 PM
RE: Making an item usable on event - by swickster - 05-19-2019, 11:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Event Touch Syddo 4 2,758 02-09-2022, 12:14 AM
Last Post: Syddo
   Need help better understanding of Battle Event Geminil 2 5,419 07-11-2018, 03:09 AM
Last Post: DerVVulfman
  Event Freezing KasperKalamity 6 9,923 10-28-2011, 04:06 PM
Last Post: KasperKalamity
  how to make an event touch another event mangamaniacs2064 2 5,842 08-24-2011, 01:55 PM
Last Post: RosyPosy
  Can't stop my event from repeating itself! Jelme 8 8,997 03-15-2010, 05:03 AM
Last Post: fgsfds
  Delete Event Drane 3 5,097 12-12-2009, 08:41 PM
Last Post: Helel
  Event Problem thedeadraven 12 14,553 11-07-2009, 12:09 AM
Last Post: DerVVulfman



Users browsing this thread: