I've been mucking around with this idea all day so far, and thought I had something good going... Yet, it seems to not work as intended (not completely, anyway).
For those that aren't in the know:
The older Wizardy titles had random chests appear at the end of combat. When encountered with this, the player was given a choice: Open/Inspect/Disarm/Leave (and 'CALFO' was also an option, which was an 'x-ray eyes' spell that allowed priests to effectively function as thieves ala chests/traps, but I digress~).
Using Hime's Large Choices plugin, I was able to put together that great big list of traps. That part worked as planned. Following this, I began to set up the event that'd be called after combat - a 1 in 3 shot at a chest spawning, and this worked fine too. I even got individual traps to spring as they should.
The main hang-up I hit, was when I tried to set consequences for identifying and attempting to disarm the wrong trap. It's probably due to the massive list of nested 'if' conditionals I set up, but being a neophyte to scripting/RPGM, it's the best way I could see to do it... >_< I assume arrays could be used to similar effect, but I don't know squat about em'... ~_~
SO -- I guess my question is this: How can I set up a list of traps to function independently of one another, while also allowing the player to be hit with the correct trap upon failing to inspect them correctly..? I can explain further if need be, because I see how all of the above could be a bit confusing.
I'm using a load of different plugins, but nothing that should affect such fundamental functions, I believe; besides the aforementioned Large Choices plugin, I am also using Frog's Talent Core and many of Galv's plugins. Any help would be greatly appreciated, thanks in advance! 🙂
BONUS: If anyone could also help me figure out how to make an unidentified weapon/item identify system ala Wizardy, I'd be your friend for life! 😀
EDIT: Attached screenshots of part of the 'Chest' event, if that helps~
For those that aren't in the know:
The older Wizardy titles had random chests appear at the end of combat. When encountered with this, the player was given a choice: Open/Inspect/Disarm/Leave (and 'CALFO' was also an option, which was an 'x-ray eyes' spell that allowed priests to effectively function as thieves ala chests/traps, but I digress~).
Using Hime's Large Choices plugin, I was able to put together that great big list of traps. That part worked as planned. Following this, I began to set up the event that'd be called after combat - a 1 in 3 shot at a chest spawning, and this worked fine too. I even got individual traps to spring as they should.
The main hang-up I hit, was when I tried to set consequences for identifying and attempting to disarm the wrong trap. It's probably due to the massive list of nested 'if' conditionals I set up, but being a neophyte to scripting/RPGM, it's the best way I could see to do it... >_< I assume arrays could be used to similar effect, but I don't know squat about em'... ~_~
SO -- I guess my question is this: How can I set up a list of traps to function independently of one another, while also allowing the player to be hit with the correct trap upon failing to inspect them correctly..? I can explain further if need be, because I see how all of the above could be a bit confusing.
I'm using a load of different plugins, but nothing that should affect such fundamental functions, I believe; besides the aforementioned Large Choices plugin, I am also using Frog's Talent Core and many of Galv's plugins. Any help would be greatly appreciated, thanks in advance! 🙂
BONUS: If anyone could also help me figure out how to make an unidentified weapon/item identify system ala Wizardy, I'd be your friend for life! 😀
EDIT: Attached screenshots of part of the 'Chest' event, if that helps~