How do you disable an activated object?

Post » Thu Jun 21, 2012 3:24 pm

I have an object with a script that fires when you activate the object. After I run the script, I want to disable the object, rather then it move into my inventory. How do I do this?
User avatar
WYatt REed
 
Posts: 3409
Joined: Mon Jun 18, 2007 3:06 pm

Post » Thu Jun 21, 2012 4:25 pm

disable()

at the last executable line of code in your script. it will disable itself
User avatar
Marlo Stanfield
 
Posts: 3432
Joined: Wed May 16, 2007 11:00 pm

Post » Thu Jun 21, 2012 8:48 am

Thanks so much! You rock! Adding your name to the credits you've helped so much!
User avatar
clelia vega
 
Posts: 3433
Joined: Wed Mar 21, 2007 6:04 pm


Return to V - Skyrim