Jump to content

npcs sleep nude


Recommended Posts

I was in the NCP barracls with my toon, and decided the soldiers should be nude.  I found the 5000 Nude ray, but the use of it lowers faction.  Anyone seenan update for the nude ray, or a mod that lets you remove npcs clothing without casuing problesm, or a mod that makes npcs sleep nude?

 

 

Link to comment
  • 4 weeks later...
Guest tomm434

I just tried using events for that but didn't manage to detect the moment NPC is activating the bed.

 

Another way to implement this idea would be too script-intensive.

Link to comment
  • 2 weeks later...

In my companion script i used this code to undress and then dress:

 

Ref MyNPC

Ref NPC0 

Ref NPC1 

Ref NPC2 

Ref NPC3 

Ref NPC4 

Ref NPC5 

Ref NPC6

Ref NPC7 

Ref NPC8

Ref NPC9 

Ref NPC10

Ref NPC11

Ref NPC12

Ref NPC13

Ref NPC14

Ref NPC15

Ref NPC16

Ref NPC17

Ref NPC18

Ref NPC19

int b

ref bItem

int nuda

Set MyNPC to PrecREF; PrecREF = Companion reference

if (MyNPC.GetSleeping == 3) && (nuda == 0)

Set NPC0 to MyNPC.GetEquippedObject 0 ;head

; Set NPC1 to MyNPC.GetEquippedObject 1 ;hair

Set NPC2 to MyNPC.GetEquippedObject 2 ;upper body - armor - clothes

; Set NPC3 to MyNPC.GetEquippedObject 3 ;left hand

; Set NPC4 to MyNPC.GetEquippedObject 4 ;right hand

Set NPC5 to MyNPC.GetEquippedObject 5 ;weapon

; Set NPC6 to MyNPC.GetEquippedObject 6 ;pip boy

Set NPC7 to MyNPC.GetEquippedObject 7 ;backpack

; Set NPC8 to MyNPC.GetEquippedObject 8  ;necklace

Set NPC9 to MyNPC.GetEquippedObject 9 ;headband

Set NPC10 to MyNPC.GetEquippedObject 10 ;hat

; Set NPC11 to MyNPC.GetEquippedObject 11 ;eyeglasses

; Set NPC12 to MyNPC.GetEquippedObject 12 ;nosering

; Set NPC13 to MyNPC.GetEquippedObject 13  ;earrings

Set NPC14 to MyNPC.GetEquippedObject 14 ;mask

Set NPC15 to MyNPC.GetEquippedObject 15 ;choker

; Set NPC16 to MyNPC.GetEquippedObject 16  ;mouth object

Set NPC17 to MyNPC.GetEquippedObject 17 ;body addon 1

Set NPC18 to MyNPC.GetEquippedObject 18 ;body addon 2

Set NPC19 to MyNPC.GetEquippedObject 19  ;body addon 3

if NPC0 != 0

  MyNPC.UnequipItem NPC0

endif

if NPC1 != 0

  MyNPC.UnequipItem NPC1

endif

if NPC2 != 0

   MyNPC.UnequipItem NPC2

endif

if NPC3 != 0

   MyNPC.UnequipItem NPC3

endif

if NPC4 != 0

   MyNPC.UnequipItem NPC4

endif

if NPC5 != 0

  MyNPC.UnequipItem NPC5

endif

if NPC6 != 0

  MyNPC.UnequipItem NPC6

endif

if NPC7 != 0

   MyNPC.UnequipItem NPC7

endif

if NPC8 != 0

   MyNPC.UnequipItem NPC8

endif

if NPC9 != 0

   MyNPC.UnequipItem NPC9

endif

if NPC10 != 0

  MyNPC.UnequipItem NPC10

endif

if NPC11 != 0

  MyNPC.UnequipItem NPC11

endif

if NPC12 != 0

   MyNPC.UnequipItem NPC12

endif

if NPC13 != 0

   MyNPC.UnequipItem NPC13

endif

if NPC14 != 0

   MyNPC.UnequipItem NPC14

endif

if NPC15 != 0

  MyNPC.UnequipItem NPC15

endif

if NPC16 != 0

  MyNPC.UnequipItem NPC16

endif

if NPC17 != 0

   MyNPC.UnequipItem NPC17

endif

if NPC18 != 0

   MyNPC.UnequipItem NPC18

endif

if NPC19 != 0

   MyNPC.UnequipItem NPC19

endif

Set nuda to 1

endif

if (MyNPC.GetSleeping == 0) && (nuda == 1)

let b := MyNPC.GetNumItems

while b > 0

    let b -= 1 ; decrement b, the first item is '0'

    let bItem := MyNPC.GetInventoryObject b

    if gettype bItem == 24 || gettype bItem == 26 || gettype bItem == 40

       MyNPC.EquipItem bItem

    endif

loop

Set nuda to 0

endif

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use