Now trying to code for a "generic" item that can improve one of the wearer's affinities. I want to use a dropdown selector to allow the player to choose which item slot the item occupies.
Selection: Magic Item Slots
Restriction: None
First-500
Code:
~ We establish the item slot
~ If we're not equipped, get out now
doneif (field[gIsEquip].value = 0)
~ If slot not chosen, get out now
doneif (field[usrChosen2].ischosen = 0)
perform field[usrChosen2].chosen.pulltags[Hero.?]
perform pushtags[Hero.?]
This does not work. I think this is because usrChosen2 is not "EqpSLOT" (eg EqpFoot) but is "isEqpSLOT" instead. How can I make the slot chosen be applied to the item?