Guest ffabris Posted October 24, 2016 Posted October 24, 2016 So, here's the scenario: a nude NPC using SOS body (vesion 3.whatever) enters a trigger which has a strip spell. The NPC equips underwear on entering the trigger. On leaving, the underwear stays on. I'm confused as to why... the effect isn't touching slot 52, which is what I thought SOS used for the schlong. Script is: Scriptname RES_StripEffect extends activemagiceffect Actor Property PlayerRef Auto Armor Property JewelryRingGold auto Event OnEffectStart(Actor akTarget, Actor akCaster) if(akTarget != PlayerRef) ; akTarget.unequipall() akTarget.UnequipItemSlot(30) akTarget.UnequipItemSlot(31) akTarget.UnequipItemSlot(32) akTarget.UnequipItemSlot(33) akTarget.UnequipItemSlot(34) akTarget.UnequipItemSlot(37) akTarget.UnequipItemSlot(38) akTarget.UnequipItemSlot(39) akTarget.UnequipItemSlot(41) akTarget.UnequipItemSlot(42) EndIf endEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) if(akTarget != PlayerRef) akTarget.additem(JewelryRingGold,1,true) akTarget.equipitem(JewelryRingGold,false,true) akTarget.removeitem(jewelryringgold,1,true) EndIf endEvent If relevant, this doesn't occur with SAM - but that may use a different slot, dunno. Any suggestions as to what might be going on here?
Guest ffabris Posted October 24, 2016 Posted October 24, 2016 After trying various things, this has started to look like a race condition within SOS code. Not sure why else it would affect SOS but not SAM.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.