Hoosmhasm Posted July 2, 2019 Share Posted July 2, 2019 Hey everyone, there is probably a post somewhere on here that addresses this, but I'm brand new so please bare with me. I'm trying to make a script where when you enter a trigger box, it enables an NPC that I have placed and set to start as disabled. Ik this is simple but despite watching tutorials it seems most of them focus on enabling objects rather than actors with trigger boxes. Any help for me please? An example script that enables an actor when you enter a trigger box would help. Thanks! Link to comment Share on other sites More sharing options...
maxarturo Posted July 2, 2019 Share Posted July 2, 2019 Use one of the vanilla scripts listed below : defaultEnableDisableLinkedRef This script will, variably, enable or disable the reference's linked reference when activated or entered. This can work for triggerboxes OR activators. I.e. enabling an entrance-blocking pile of rocks after explosion. defaultEnableEncLinkedRef This script will enable the reference's linked reference when the player enters it, provided the players level is bigger than or equal to a global variable. Then, it will go to a state wherein triggering will do nothing. I.e. a random encounter with a hagraven in the wild. defaultEnableTrigScript This script will disable the triggerbox it is on when entered. Note from script: Trigger Box script used to enable/disable objects linked to this. Link to comment Share on other sites More sharing options...
Recommended Posts