0magma0 Posted April 26, 2010 Share Posted April 26, 2010 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 More sharing options...
Quetzlsacatanango Posted April 26, 2010 Share Posted April 26, 2010 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 More sharing options...
0magma0 Posted April 26, 2010 Author Share Posted April 26, 2010 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... Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted April 26, 2010 Share Posted April 26, 2010 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. Link to comment Share on other sites More sharing options...
0magma0 Posted April 27, 2010 Author Share Posted April 27, 2010 what about factions? will befriended and/or allied factions let an NPC sleep in a bed they own??? Link to comment Share on other sites More sharing options...
Agnot2006 Posted April 27, 2010 Share Posted April 27, 2010 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 More sharing options...
0magma0 Posted April 28, 2010 Author Share Posted April 28, 2010 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 More sharing options...
Recommended Posts