Jump to content

Let an NPC sleep in any bed...


0magma0

Recommended Posts

Is there a way to let an NPC sleep in an bed that's already owned by someone with a script or something?

 

Let's say this is for a mod i like to call: "Sleeping Beauty" :whistling:

 

It adds an grenade that allows you to summon her, but she needs to find ANY (owned/unowned) bed and sleep in it... :sweat:

Link to comment
Share on other sites

You can change ownership with the command 'setownership', as in 'furnitureref.setownership NPCref'. I don't know of a way to just bypass ownership, which doesn't mean there's not a way.

 

You could capture the current owner, change ownership during your script, then set the ownership back at the end.

Link to comment
Share on other sites

what about factions?

 

will befriended and/or allied factions let an NPC sleep in a bed they own???

 

 

I think the owner would need to be set to a faction not an individual to allow this.

What about disabling the bed and replacing with a duplicate? Doing what you need to do then replacing or re-enabling the original again? Just a thought

Link to comment
Share on other sites

What about disabling the bed and replacing with a duplicate? Doing what you need to do then replacing or re-enabling the original again? Just a thought

 

again, suggestions on how to archive this?

 

my scripting knowledge in GECK is quite limited to the standard functions on the wiki...

 

i made a custom grenade with projectile and explosion, where the explosion summons the NPC.

 

can i maybe use something with the explosions range???

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...