Jump to content

Recommended Posts

Posted

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:

Posted

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.

Posted

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

 

any suggestions on Getting the current owner?

can't find the proper command...

Posted
I sort of assumed that if you can set ownership you would be able to call that info, but I could be wrong. 'isowner' exists but that's probably a little too specific for what you need.
Posted

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

Posted

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???

  • Recently Browsing   0 members

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