I have a piece of armor which, when equipped, I would like to trigger a cut scene. I cannot know when the player will equip this armour, if at all, so I thought to use a parallel process, which is messy and not my preferred solution. However, even that does not appear to be an option because the conditional will only check if the item is in the inventory, not if it is equipped.
Does anyone know how to do this? I know that Tsukihime has a script for triggering events if something is equipped/unequipped, but it is not available for commercial use.
Thank you.
I would write you a script once i got home, but what you are asking for is really simple and Hime already implemented the most practical solution. So i would basically rewrite Hime's script and i don't know if i could legally give free commercial use in this case.
Oh dear. It's just that I'm already well over budget, and $20 just to trigger a cut scene is hard for me to justify.
umm...
[IMG]http://i.imgur.com/kmCIWYx.png[/IMG]
is this what you is looking for...
@DOTCreeper
Ah, I managed to forget that one. Yes, so that takes care of the parallel process alternative if nothing else comes up. thanks.
If it's equippable by anyone and you just want to check if any character has it equipped, this should do the trick as a conditional branch in your event:
$game_party.members.any? { |member| member.equips.include?($data_armors[armor id]) }
@Trihan
Looks like you just came up trumps again. Thank you.
EDIT
Just tested this, and everything flows smoothly.
Once more, thank you.