M3rvin Posted April 15, 2012 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
DangerManzo Posted April 16, 2012 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
M3rvin Posted April 16, 2012 Author Posted April 16, 2012 Thanks for the tip. I did a quick test and it looks good so far. :)
Recommended Posts