Lambosan5545 Posted August 29, 2020 Share Posted August 29, 2020 (edited) So I am really new to modding and I was just wondering if I could get some help with my mod. I am making a mod that uses an elevator master and I have buttons linked to the elevator master to activate the elevator, but I now want to make the elevator automatic, that is when you enter the elevator it activates automatically. I added a trigger box to the place where I want the player to activate the elevator, but no matter what script I use nothing happens, my script compiles but it will not work. The first thing I tried is having the trigger box activate the button that is linked to the elevator, the elevator does work when I press the button manually. First I tried adding a script to the Trigger Box that uses the button (which is an activator) as an object reference property : I named the button IntermediateButton01 Event OnTriggerEnter(ObjectReference akActionRef) Actor kPlayerRef = Game.GetPlayer() IntermediateButton01.Activate(kPlayerRef)EndEventI also tried the same script except with the additional bool value true: IntermediateButton01(kPlayerRef, true) Neither of these worked. The next thing I tried is instead of adding a script to the trigger box, adding a script to the button and using the trigger box as an object reference property:Event OnTriggerEnter(ObjectReference akActionRef) Actor kPlayerRef = Game.GetPlayer() Self.Activate(kPlayerRef)EndEvent I again also tried with the bool value true Neither of these worked either.The last thing I tried is adding the script to the elevator master itself and again using the trigger box as an object reference property Event OntriggerEnter(ObjectReference akActionRef) Actor kPlayerRef = Game.GetPlayer() Self. activate(kPlayerRef)Endevent Again I also tried with the bool true None of the scripts above worked, They all compiled, but none of them workDoes anyone know how to do what I am trying to do? Edited August 29, 2020 by Lambosan5545 Link to comment Share on other sites More sharing options...
Recommended Posts