kryptopyr Posted May 14, 2012 Posted May 14, 2012 I'm trying to set up a trigger box to act as an activator for a container. Under primitive, I have Player Activation checked. And it has the following script attached... Scriptname RWContainerTriggerScript extends ObjectReference ObjectReference Property RWContainer auto Event OnActivate(ObjectReference obj) if(obj == game.getPlayer()) RWContainer.Activate(Game.GetPlayer()) endif endEvent The code compiles without any errors, but when I go into the game, I can't find the activator (there doesn't seem to be anything to click) and nothing happens when I click on the space where the activator is suppose to be. Any thoughts or suggestions?
Nerevarine0117 Posted August 3, 2020 Posted August 3, 2020 I'm not too sure, but try a new game and see if the trigger box spawns.
Recommended Posts