daisy8 Posted September 14, 2018 Share Posted September 14, 2018 Hi there Is there a way to kill the player if they enter a trigger box ? Say, if they, umm, for example, fall down a really deep elevator shaft ? Cheersdaisy Link to comment Share on other sites More sharing options...
JonathanOstrus Posted September 14, 2018 Share Posted September 14, 2018 Not actually tried this but it should work. Put this code on the trigger box script. Event OnTriggerEnter(ObjectReference akActionRef) if akActionRef == Game.GetPlayer() (akActionRef as Actor).Kill() endif EndEvent Link to comment Share on other sites More sharing options...
daisy8 Posted September 14, 2018 Author Share Posted September 14, 2018 Yep ! Seems to work fine ! Thanks Link to comment Share on other sites More sharing options...
Recommended Posts