wardminator Posted January 5, 2013 Posted January 5, 2013 I have been trying to figure out how to script callbacks for Sexout animations in the event the player leaves the cell while the animations are running between two or more NPCs. I seem to have only succeeded in frustrating myself. Can anyone please assist me with this?
astymma Posted January 5, 2013 Posted January 5, 2013 I have been trying to figure out how to script callbacks for Sexout animations in the event the player leaves the cell while the animations are running between two or more NPCs. I seem to have only succeeded in frustrating myself. Can anyone please assist me with this? Â The best way to see how callbacks work is look at Sexout LevelUp.esp and/or SexoutNotify.esp that are found in the SexoutNGOptions folder inside the SexoutNG - Core.fomod. Â You can also find some documentation in the first post in this thread here. Â If you have further questions please come back and ask but we'll probably need mroe specifics about your problems with callbacks.
Halstrom Posted January 5, 2013 Posted January 5, 2013 I have been trying to figure out how to script callbacks for Sexout animations in the event the player leaves the cell while the animations are running between two or more NPCs. I seem to have only succeeded in frustrating myself. Can anyone please assist me with this? I'm doing this from memory, but what essentially happens is you create a Effect Script you want to run on actors engaged in the wild thing, you then put it in a Base Effect, then put that into an Actor Effect, you then add that Effect to the Sexout Formlists when Sexout has an actor engage in a Sexual animation it adds whatever effects in it's form list to the Actor and adds the names of partners into a list. The effect then runs your script on your actor and remove itself and actors from the lists when complete, you can choose to hve the effect added at the start or the end of sex. I use modified versions of Sexout Notify in both SCR & Pregnancy scripts called SexoutSSexEnd or something similar. You can test in the script for Rape using the Sexout tokens or if sex is Vaginal, Anal or Oral.
wardminator Posted January 5, 2013 Author Posted January 5, 2013 I'm doing this from memory' date=' but what essentially happens is you create a Effect Script you want to run on actors engaged in the wild thing, you then put it in a Base Effect, then put that into an Actor Effect, you then add that Effect to the Sexout Formlists when Sexout has an actor engage in a Sexual animation it adds whatever effects in it's form list to the Actor and adds the names of partners into a list. The effect then runs your script on your actor and remove itself and actors from the lists when complete, you can choose to hve the effect added at the start or the end of sex. I use modified versions of Sexout Notify in both SCR & Pregnancy scripts called SexoutSSexEnd or something similar. You can test in the script for Rape using the Sexout tokens or if sex is Vaginal, Anal or Oral. [/quote'] Â I'll have to go back and look at this again then, I was trying to do it from an activation trigger by having it cast the the actor effects on them. The result was that it worked, but too good. The script sequence calling for the sex animations seems to break by doing this as they ignore each other completely now. I'll try adding this to the form list and see if that helps. Thanks!
wardminator Posted January 6, 2013 Author Posted January 6, 2013 Yeah, there is something I'm not getting when it comes to scripting this. What it basically boils down to is this. I need to stop any sex animations that are taking place and have the inventories of all actors involved cleared of any Sexout sex tokens when the player leaves the cell. It doesn't help that I don't seem to know how to reference items from a form list in order to have the items in that list removed from actors other than listing everything line by line. There has to be a better way than that.
Halstrom Posted January 6, 2013 Posted January 6, 2013 Yeah' date=' there is something I'm not getting when it comes to scripting this. What it basically boils down to is this. I need to stop any sex animations that are taking place and have the inventories of all actors involved cleared of any Sexout sex tokens when the player leaves the cell. It doesn't help that I don't seem to know how to reference items from a form list in order to have the items in that list removed from actors other than listing everything line by line. There has to be a better way than that.[/quote']If you can work out who the actors are, add your own effect to them with your own script set up to remove any items it finds in their inventory that are in a Formlist that you fill with all the tokens etc you want removed.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.