RemoveAllItems

Post » Tue May 17, 2011 3:34 am

To the point.

I have a chest that when activated I want it to remove everything inside it (Destroyed, gone, nothing there) then to open as normal. The usage explanation for RemoveAllItems is a little weird. Id the calling script is attached to the container, do I need to specify what container is removing items, or can I simply call a flat "RemoveAllItems" followed by and Activate?
User avatar
Alexander Lee
 
Posts: 3481
Joined: Sun Nov 04, 2007 9:30 pm

Post » Tue May 17, 2011 3:54 am

If RemoveAllItems is in the script attached to the container, you shouldn't have to specify and can skip the explicit reference part.
User avatar
Steeeph
 
Posts: 3443
Joined: Wed Apr 04, 2007 8:28 am

Post » Tue May 17, 2011 4:06 am

As I was hoping, thanks a lot.
User avatar
Melung Chan
 
Posts: 3340
Joined: Sun Jun 24, 2007 4:15 am


Return to Fallout 3