woovias Posted November 1, 2017 Posted November 1, 2017 Forgive my poor English. I want to make a mod so that when wearing panties, the player's aroused decreases. I made an enchantment for the panties: Event OnEffectStart(Actor akTarget, Actor akCaster) akTarget.SetFactionRank(sla_Exposure, ((akTarget.GetFactionRank ( sla_Exposure)) - 10)) endEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) akTarget.SetFactionRank(sla_Exposure, ((akTarget.GetFactionRank ( sla_Exposure)) + 10)) endEvent But the excitation value does not change. What am I doing wrong?
woovias Posted November 1, 2017 Author Posted November 1, 2017 I found a solution. Maybe someone will come in handy. Correctly write the following: slaframeworkscr Property SLA Auto Event OnEffectStart(Actor akTarget, Actor akCaster) SLA.SetActorExposure(Game.GetPlayer(), (SLA.GetActorExposure(Game.GetPlayer()) - 10)) endEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) SLA.SetActorExposure(Game.GetPlayer(), (SLA.GetActorExposure(Game.GetPlayer()) + 10)) endEvent
Andy14 Posted November 2, 2017 Posted November 2, 2017 Replace Game.GetPlayer () with akTarget. Otherwise it is only for the player.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.