CYNIC78 Posted August 15, 2022 Posted August 15, 2022 Guys hello. I need help with papyrus script. I have mod which disables all restoration magic effects. To heal player need to have some sex via dialogue. Lol. It's all working fine but I want a bit polish my system. Right now healing is anchored to OnOrgasm event. I just apply magic effect restoring health and magicka. Here is my event event OnSexLabOrgasm(Form FormRef, int enjoyment, int number_of_orgasms) (FormRef as Actor).RestoreActorValue("Health",9000) (FormRef as Actor).RestoreActorValue("Magicka",9000) Utility.Wait(1) _Sexlab_HealBuffSpell.Cast((FormRef as Actor), (FormRef as Actor)) Debug.Notification((FormRef as Actor).GetDisplayname() + " healed") endevent But instead instant heal I would like progressive healing during scene. So basicly I need some function working while animation scene is running - player restore some amount of health\magicka per time. Once scene is ended(or aborted by player) regen is stopped. What is easiest way to achive this?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now