Jump to content

Unequip script ?


deskchairlamnp

Recommended Posts

Posted

Hello,

 

What would be the script if I want to force someone (NPC and Player) to unequip all items when passing a certain point on a map (without loading screens). When the NPC exits the place they auto-equip everything back (is there a way to mark an area in SCK? ) ?:huh:

 

example: There is a water/bath area and as soon as someone steps into the water they automatically unequip.

 

Thank you in advance

Posted

Look at the BBLS (Bathing Beauties/Beefcake Luxury Suite) on the Nexus for an example on how that [edit] can [/edit] be done.

 

[edit]Damn my digital dyslexia...[/edit]

Posted

Look at the BBLS (Bathing Beauties/Beefcake Luxury Suite) on the Nexus for an example on how that be done.

 

Thank you, I will check it out. Though if someone has some free time, could she/he write a more detailed description ? (i'm pretty new to scripting)

 

P.S. looked into Beefcake mod, there is no source file (only pex) so can't really use it or do anything with it...

Posted

Update, found the Un-equip script for a trigger :

 

Scriptname Unequip extends ObjectReference

 

Event OnTriggerEnter(ObjectReference akActionRef)

 

if(akActionRef != Game.GetPlayer())

actor who = akActionRef as actor

who.unequipall()

endif

 

EndEvent

 

 

 

 

Now how to reverse this one to force equip ?

Archived

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

  • Recently Browsing   0 members

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