maxrsp Posted December 2, 2010 Share Posted December 2, 2010 (edited) This simple problem is frustrating me... I want to access a container object interface through a script that has nothing directly to do with the container itself. I tried the following approach with no luck: 1. Declare a ref variable: Ref rContainer 2. Set the variable using the reference editor ID of the desired container: set rContainer to ModFC1 3. Open the container: rContainer.Activate The script which has these commands compliles and runs, but the Activate does not open the container inventory interface like I want. Please tell me what I am stupidly doing wrong. Thanks!!! P.S. Edit - the object ModFC1 is tagged as Persistent Reference. Edited December 2, 2010 by maxrsp Link to comment Share on other sites More sharing options...
thc1234 Posted December 2, 2010 Share Posted December 2, 2010 rContainer.Activate Player 1 Link to comment Share on other sites More sharing options...
FutureVisions Posted December 2, 2010 Share Posted December 2, 2010 rContainer.Activate Player 1 yup activatercontainer.activate player 1 and check to see if the container isn't locked. Link to comment Share on other sites More sharing options...
maxrsp Posted December 2, 2010 Author Share Posted December 2, 2010 Thanks guys, that did the trick. I gave you both kudos; I would have subtracted a kudos from myself for being so stupid but it isn't possible. :tongue: Link to comment Share on other sites More sharing options...
Recommended Posts