M3rvin Posted April 15, 2012 Share Posted April 15, 2012 (edited) Is it possible to overwrite the default action that an activated objectreference performs?I want to create a script that checks a certain condition and then either opens the container it's attached to or not. I assume that I have to do something with the OnActivate Event but I don't know what. Edited April 15, 2012 by M3rvin Link to comment Share on other sites More sharing options...
DangerManzo Posted April 16, 2012 Share Posted April 16, 2012 (edited) I haven't used this personally, so I'm not sure exactly how to set it up, but I remembered seeing the BlockActivation command once. If you then use Activate to open it you can set the second parameter to true to bypass the block.At least that's how I think it should work. Edited April 16, 2012 by DangerManzo Link to comment Share on other sites More sharing options...
M3rvin Posted April 16, 2012 Author Share Posted April 16, 2012 Thanks for the tip. I did a quick test and it looks good so far. :) Link to comment Share on other sites More sharing options...
Recommended Posts