View Single Post
Lord Magus
Senior Member
 
Join Date: Jan 2011
Location: Quebec, QC, Canada
Posts: 464

Old January 4th, 2022, 07:22 AM
Progressing, using the Ornament (gear item) script as guide
Candidate expression for usrChosen2: component.ItemSlot & !Helper.Cyberware & !thingid.isEqpArmor & !thingid.isEqpPFRun & !thingid.isEqpS2Les
(usrChosen1 is for targeting the affinity improved by the item)

Pre-Levels - 9000
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[ExtraSlot.?,Hero]
  perform forward[Hero.?]
However, for some reason, this forwards 2 COPIES of the Hero.EqpFoot tag, thus making the item conflict with itself for slot use. I have tried "perform field[usrChosen2].chosen.pulltags[ExtraSlot.?]" and it does nothing... Also tried earlier timing (First 9000), with the same result.

How can I keep the item from competing with itself for slot use???

Last edited by Lord Magus; January 4th, 2022 at 07:56 AM.
Lord Magus is offline   #7 Reply With Quote