KappaLima Posted March 7, 2020 Posted March 7, 2020 Hello guys, does anyone here know how to use script to put a NPC into a zaz furniture? I am trying to convert naked dungeon to be follower friendly ( follower tied to a zaz furniture after being violated by aggressors like the player.) So far the sex scene is done. But I can't get the follower to use bondage furniture correctly. I have tried the method like ZAP helper (using quest alias and AI package.) Which did put the follower into a furniture I spawned by script. But the follower lost its AI behavior ( won't move or react to hostiles ) after released from the alias. Please share some advice.
MTB Posted March 7, 2020 Posted March 7, 2020 54 minutes ago, KappaLima said: Hello guys, does anyone here know how to use script to put a NPC into a zaz furniture? I am trying to convert naked dungeon to be follower friendly ( follower tied to a zaz furniture after being violated by aggressors like the player.) So far the sex scene is done. But I can't get the follower to use bondage furniture correctly. I have tried the method like ZAP helper (using quest alias and AI package.) Which did put the follower into a furniture I spawned by script. But the follower lost its AI behavior ( won't move or react to hostiles ) after released from the alias. Please share some advice. Using a quest alias and AI package seems the right way to get them into the device. What I did (in SkyrimChainBeasts-UseDeviceMultipleScript-PassToNext) to release them is: - have them activate the device; as victim is already in device this will release them from it. - clear the alias, removing the custom AI. They should now be acting normally again; removing the custom AI package would normally have them reevaluate their AI. You could call EvaluatePackage() to make sure. Actor victim = victimalias.getRef() as actor devicealias.getRef().activate( victim, true ) ; get out of device. victimalias.clear() ; current victim alias, removing AI package. victim.EvaluatePackage() ; should not be needed.
KappaLima Posted March 8, 2020 Author Posted March 8, 2020 9 hours ago, MTB said: Using a quest alias and AI package seems the right way to get them into the device. What I did (in SkyrimChainBeasts-UseDeviceMultipleScript-PassToNext) to release them is: - have them activate the device; as victim is already in device this will release them from it. - clear the alias, removing the custom AI. They should now be acting normally again; removing the custom AI package would normally have them reevaluate their AI. You could call EvaluatePackage() to make sure. Actor victim = victimalias.getRef() as actor devicealias.getRef().activate( victim, true ) ; get out of device. victimalias.clear() ; current victim alias, removing AI package. victim.EvaluatePackage() ; should not be needed. Thank you for the codes. Unfortunately, I tried it but this does not solve the issue. Follower still lost behavior after clearing the alias.
Heroine HoneyCrotch Posted March 8, 2020 Posted March 8, 2020 you can look in this mod, system works good.
KappaLima Posted March 8, 2020 Author Posted March 8, 2020 11 hours ago, MTB said: Using a quest alias and AI package seems the right way to get them into the device. What I did (in SkyrimChainBeasts-UseDeviceMultipleScript-PassToNext) to release them is: - have them activate the device; as victim is already in device this will release them from it. - clear the alias, removing the custom AI. They should now be acting normally again; removing the custom AI package would normally have them reevaluate their AI. You could call EvaluatePackage() to make sure. Actor victim = victimalias.getRef() as actor devicealias.getRef().activate( victim, true ) ; get out of device. victimalias.clear() ; current victim alias, removing AI package. victim.EvaluatePackage() ; should not be needed. Update: This works after I created a new quest to keep the alias and the package. I had put them in the old naked dungeons captive quest. Don't know what makes it break follower's AI.
KappaLima Posted March 8, 2020 Author Posted March 8, 2020 1 hour ago, Heroine of the Night said: you can look in this mod, system works good. Hey Thanks! This looks very alike what I am trying to do.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.