I've looked around some, but there doesn't seem to be a script to achieve what I'm looking for.
Basically, I'd like to be able to flip a switch ON or OFF depending on if any of the current party has a specified weapon/armour equipped, after changes are made to equipment, and the members in a current party. I kind of imagine this looking like so:
EQUIPCHECK = [# EQUIP ID, SWITCH TO FLIP [10, 90], [27, 91], [2, 92]]WEAPONCHECK = [# WEAPON ID, SWITCH TO FLIP [17, 28], [1, 19], [7, 85]]I guess logic would be:
1) Whenever party equipment is changed, go through these arrays and update switches.
2) Whenever there is a change to who is in the party, go through these arrays and update switches.
Basically, I'd like to be able to flip a switch ON or OFF depending on if any of the current party has a specified weapon/armour equipped, after changes are made to equipment, and the members in a current party. I kind of imagine this looking like so:
EQUIPCHECK = [# EQUIP ID, SWITCH TO FLIP [10, 90], [27, 91], [2, 92]]WEAPONCHECK = [# WEAPON ID, SWITCH TO FLIP [17, 28], [1, 19], [7, 85]]I guess logic would be:
1) Whenever party equipment is changed, go through these arrays and update switches.
2) Whenever there is a change to who is in the party, go through these arrays and update switches.