ukjah Posted February 28, 2012 Share Posted February 28, 2012 Hi, i tryed to make a torture chamber like in dawnstar sanctuary, tortures victims don't have any script, they just have an AI package to sittarget on the wall torture rack. But my prisoners dont stay restrained when i hit them, i tryed many tricks to add a script on the actor or on the torture rack, and i can't manage this actor to stay restrained by default like the vanilla ones. If anyone know how to do it i'll be glad he share the right script, and the right way to use it. Thanks ! Link to comment Share on other sites More sharing options...
Korodic Posted February 29, 2012 Share Posted February 29, 2012 your definitely missing either A code, or B AI (or AI conditionals that force them to skipfallout and always just sit on the rack) on your NPCs so they will not fight back. Link to comment Share on other sites More sharing options...
ukjah Posted February 29, 2012 Author Share Posted February 29, 2012 your definitely missing either A code, or B AI (or AI conditionals that force them to skipfallout and always just sit on the rack) on your NPCs so they will not fight back. i watched everything there is nothing more than ai package sitarget on the npc, look yourself in the creation kit you will see. Actualy i havent seen anybody restrain them in any mod, so i think there is something we all missed. Link to comment Share on other sites More sharing options...
Korodic Posted February 29, 2012 Share Posted February 29, 2012 doubtful nobody has done it yet... but anyways did you link them to the furniture? I will look into it myself tonight or tomorrow if you cannot figure it out, as I will eventually need at look at it anyways. Link to comment Share on other sites More sharing options...
PaladinRider Posted March 2, 2012 Share Posted March 2, 2012 (edited) Have you experimented withSetRestrained - Actor? d'oh - thread title fail Edited March 3, 2012 by PaladinRider Link to comment Share on other sites More sharing options...
anon1anon Posted March 3, 2012 Share Posted March 3, 2012 (edited) I've been able to do this:http://skyrim.nexusmods.com/downloads/file.php?id=11743 Bethesda sandbagged us: You have to modify the default animation Gameplay tab -> Actors\Character\... -> ActionActivate -> ActivateRootChar -> Chair -> ShackleWallRoot Change the anim EventIdleShackleWall -> IdleShackled_01IdleShackleExit -> IdleSHackled_01_exit I use an Alias that has the necessary package (sit at the shackle target). My script is: Actor newVictim = [iNSERT YOUR VICTIM SELECTION FUNCTION CALL] victimAlias.ForceRefTo(newVictim) newVictim.SetRestrained(1) newVictim.Disable() newVictim.Enable() The final [Disable -> Enable] allows the victim to avoid clipping and settle into the shackles. This was a suggestion from captainunderpants123 in the comments section for my mod and it worked really well. Best of luck with your mod. Try mine out if you have the time :) [edit]If you want to have some fun, you can experiment with IdleShackled_02, where the victim hangs by one hand ;)[/edit] Edited March 3, 2012 by anon1anon Link to comment Share on other sites More sharing options...
ukjah Posted March 5, 2012 Author Share Posted March 5, 2012 I've been able to do this:http://skyrim.nexusmods.com/downloads/file.php?id=11743 Bethesda sandbagged us: You have to modify the default animation Gameplay tab -> Actors\Character\... -> ActionActivate -> ActivateRootChar -> Chair -> ShackleWallRoot Change the anim EventIdleShackleWall -> IdleShackled_01IdleShackleExit -> IdleSHackled_01_exit I use an Alias that has the necessary package (sit at the shackle target). My script is: Actor newVictim = [iNSERT YOUR VICTIM SELECTION FUNCTION CALL] victimAlias.ForceRefTo(newVictim) newVictim.SetRestrained(1) newVictim.Disable() newVictim.Enable() The final [Disable -> Enable] allows the victim to avoid clipping and settle into the shackles. This was a suggestion from captainunderpants123 in the comments section for my mod and it worked really well. Best of luck with your mod. Try mine out if you have the time :) [edit]If you want to have some fun, you can experiment with IdleShackled_02, where the victim hangs by one hand ;)[/edit] Sorry if i'm late, and thanks a lot ! it work perfectly, and your mod is fun, you improoved the vanilla sanctuary as it should be.Thanks for the tricks, it gave me lot of new ideas. Link to comment Share on other sites More sharing options...
anon1anon Posted March 10, 2012 Share Posted March 10, 2012 Sorry if i'm late, and thanks a lot ! it work perfectly, and your mod is fun, you improoved the vanilla sanctuary as it should be.Thanks for the tricks, it gave me lot of new ideas. Glad this worked out for you! What mod are you using it in, your player home "Last Nerevarine"? Link to comment Share on other sites More sharing options...
MesaSolar Posted October 5, 2020 Share Posted October 5, 2020 I've been able to do this:http://skyrim.nexusmods.com/downloads/file.php?id=11743 Bethesda sandbagged us: You have to modify the default animationGameplay tab -> Actors\Character\... -> ActionActivate -> ActivateRootChar -> Chair -> ShackleWallRoot Change the anim EventIdleShackleWall -> IdleShackled_01IdleShackleExit -> IdleSHackled_01_exit I use an Alias that has the necessary package (sit at the shackle target). My script is: Actor newVictim = [INSERT YOUR VICTIM SELECTION FUNCTION CALL] victimAlias.ForceRefTo(newVictim) newVictim.SetRestrained(1) newVictim.Disable() newVictim.Enable() The final [Disable -> Enable] allows the victim to avoid clipping and settle into the shackles. This was a suggestion from captainunderpants123 in the comments section for my mod and it worked really well. Best of luck with your mod. Try mine out if you have the time http://forums.nexusmods.com/public/style_emoticons/dark/smile.gif [edit]If you want to have some fun, you can experiment with IdleShackled_02, where the victim hangs by one hand http://forums.nexusmods.com/public/style_emoticons/dark/wink.gif[/edit] I know this is an old post but hoping you can help me. Trying to set up a kidnapped npc as part of a quest. I've managed to get them to stay put in shackles using a sittarget package and linking them to wall shackles. But I'm still confused as to how to free them when activated. Could you explain how to do this? I'm not very familiar with papyrus and have relied on a lot of tutorials to advance my mod. The part of your script that confuses me is "Insert your victim selection function call" Link to comment Share on other sites More sharing options...
Recommended Posts