antstubell Posted September 1, 2020 Share Posted September 1, 2020 I've looked in CK fir a marker for player to lie down and there isn't one. I thought I'd modify a bed, add my own objects in nifskope etc, but before I tested a bedroll marker with the Sleep checkbox unchecked. All it does is display a message "This bed is occupied."Is there a way I can get player to lie down and be awake? Player needs sugary and a doctor is waiting to operate - yeah another of my crazy scenarios. Link to comment Share on other sites More sharing options...
maxarturo Posted September 1, 2020 Share Posted September 1, 2020 There is actually a marker that npcs can use while sandboxing to lie down, but i don't think its animation will be suitable for your idea, is the "Relaxing" down animation, the same goes for the bed's animation. The only animation that comes close to what you are looking for, is that of the 'Horizontal Coffin'. Make it a "Is a Marker" and modify it so that the player does not go to sleep and he just uses the animation. Your other alternative is to find the name of the animation (from the above / coffin), and play it on your corresponding "Static" furniture. But i think this is an excessive thing to do since it can be done with the Marker (too much scripting for nothing). * And you said that I am the crazy one... Link to comment Share on other sites More sharing options...
antstubell Posted September 2, 2020 Author Share Posted September 2, 2020 So after experimenting there is no real way to modify the horizontal coffin furniture. Unchecking Sleep just means it is stated as occupied. I tired to script an event that makes player use an idle. Actor property PlayerREF AutoIdle Property AnimToPlay AutoEvent OnActivate(ObjectReference akActionRef)if(akActionRef == PlayerREF)PlayerREF.PlayIdle(AnimToPlay)EndIfEndEvent The animation that is used by NPCs when using the furniture is DLC1IdleCoffinHorzEnter but can't make player do this. I don't know what other method to use - if there is one. Link to comment Share on other sites More sharing options...
maxarturo Posted September 2, 2020 Share Posted September 2, 2020 First make sure that what you are sending to the player is either an "Animation" or an "Idle". Answering to your initial question again: I haven't done it / tested it myself, but i'm 100% sure that it can be done !, since there are mods that allows you to use 'Beds' and 'Coffins' without using the game's sleeping function. Link to comment Share on other sites More sharing options...
antstubell Posted September 2, 2020 Author Share Posted September 2, 2020 But doesn't the PlayerRef.PlayIdle(idle property) send the idle to the player? Link to comment Share on other sites More sharing options...
maxarturo Posted September 3, 2020 Share Posted September 3, 2020 Yes you are correct, this line "PlayerRef.PlayIdle(idle property)" will send the Idle to the player as long as it is not an animation but an Idle. Plus the most important: Some idles cannot be played with this function if the idle has an associated special furniture and is not listed in the idle manager. https://www.creationkit.com/index.php?title=PlayIdle_-_Actor Link to comment Share on other sites More sharing options...
antstubell Posted September 3, 2020 Author Share Posted September 3, 2020 Ah, I see. Thanks. Link to comment Share on other sites More sharing options...
thumbincubation Posted September 4, 2020 Share Posted September 4, 2020 Ant, you might want to take a look at what Chesko did in Campfire. The player can lay down on a bedroll but not sleep until they choose to. Link to comment Share on other sites More sharing options...
antstubell Posted September 7, 2020 Author Share Posted September 7, 2020 ok, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts