So I have this on a medallion, this code changes the Image for the Item when it's attached and back to the original image when detached. It works great for this, but the problem lies in that I have a separate piece of equipment that can have either a weapon augment or a body augment [depending on what slot type you choose to place on it] and I don't want that one to have it's image change when they are attached.
This is what I have on the Augment:
I just want the Augment to apply the Image change when the Item being Augmented in NOT the special item.
I was thinking of adding something to this code like:
which doesn't seem to work... somewhat.
but this just seems to check if the equipment is equipped not whether the item being Augmented to IS the item... if that makes sense.
I looked through this: Script Call List
But didn't understand the calls very well... Not at all.
And so I come to the forums to see what can be brought up here...
Please help me out.
This is what I have on the Augment:
Code:
<Augment Attach Eval: Armament>
if ($gameVariables.value(246) === 1)
$gameVariables.setValue(247, 'Power_Gun1')
else
$gameVariables.setValue(247, 'Power_Staff1')
this.applyAugmentSetPictureImg(mainItem, $gameVariables.value(247), slotId, true)
end
</Augment Attach Eval: Armament>
<Augment Detach Eval: Armament>
if ($gameVariables.value(246) === 1)
this.applyAugmentSetPictureImg(mainItem, $gameVariables.value(316), slotId, true)
else
this.applyAugmentSetPictureImg(mainItem, $gameVariables.value(317), slotId, true)
end
</Augment Detach Eval: Armament>
I just want the Augment to apply the Image change when the Item being Augmented in NOT the special item.
I was thinking of adding something to this code like:
Code:
if ($gameVariables.value(246) === 1 && !$gameActors.actor($gameVariables.value(246)).equips[1]))
but this just seems to check if the equipment is equipped not whether the item being Augmented to IS the item... if that makes sense.
I looked through this: Script Call List
But didn't understand the calls very well... Not at all.
And so I come to the forums to see what can be brought up here...
Please help me out.