0AndyVan0 Posted August 8, 2016 Share Posted August 8, 2016 So I am setting up a Tesla Coil defense tower and am wondering if you can set up Meshes to work as TiggerOnEnter objects, like if an entity walks into the box the script will check to see if they are enemies or allies, and attack it if it is an enemy. So the Tesla Coil tower won't be killing everything that gets near it. I was wondering if you can use Raycasts as you would in Unity ? Link to comment Share on other sites More sharing options...
steve40 Posted August 9, 2016 Share Posted August 9, 2016 http://www.creationkit.com/fallout4/index.php?title=OnTriggerEnter_-_ObjectReferencehttp://www.creationkit.com/index.php?title=Complete_Example_Scripts#A_Trigger_That_Detects_When_The_Player_Enters I think you can use an Activator as a trigger, so you could simply make the Tower using an Activator form rather than as a movable static. Alternatively, you could add a trigger primitive over the tower and add a small trigger script to it that activates a script on your tower when fired. Link to comment Share on other sites More sharing options...
Recommended Posts