[Solved] Getting the player to use ShackleWallMarker

Post » Thu Sep 29, 2016 2:49 am

Anyone know how to put the player into shackles like when you rescue that guy from the thalmor embassy?



The furniture object is ShackleWallMarker and normally you can just call PlayerRef.MoveTo(ShackleRef) to put an actor/the player into furniture.



I am also using a SitTarget package after I call SetPlayerAIDriven() (cell is navmeshed for this). I thought this would take me 5 minutes to get going but its been hours now D:


Please help me! <3



When I make a test npc & package everything works as intended....Why isn't the player cooperating?



Edit: Solved by correcting the Anim Event for IdleShackleWall to use IdleShackleWallEnterInstant.

User avatar
K J S
 
Posts: 3326
Joined: Thu Apr 05, 2007 11:50 am

Post » Wed Sep 28, 2016 6:46 pm

Check if there's a script attached to the ShackleWallMarker. It would normally behave differently for the player, who'd be releasing them, than for an NPC, who'd be "sitting" in them. You might just need to make a clone, or delete and replace the script with another.

User avatar
chinadoll
 
Posts: 3401
Joined: Tue Aug 22, 2006 5:09 am

Post » Wed Sep 28, 2016 5:18 pm

There aren't any scripts on ShackleWallMarker (base object or reference).


I found the problem with some https://forums.nexusmods.com/index.php?/topic/2590439-creation-kit-how-to-create-markers-for-the-bound-and-shackled-animations/#entry22722344, I had to fix the ShackleWallRoot animation record. The IdleShackleWall had an exit animation event instead of the IdleShackleWallEnterInstant event that it needed.

User avatar
Mimi BC
 
Posts: 3282
Joined: Sat Oct 07, 2006 10:30 pm


Return to V - Skyrim