th3overseer Posted December 11, 2020 Share Posted December 11, 2020 I need an "ontrigger enter" type script that will disable and remove any NPCs in a specific faction that enter the trigger area. I need the trigger to completely ignore anything that enters it that isn't a member of this specific NPC faction. So, any of y'all know what that'd look like? Link to comment Share on other sites More sharing options...
lc1000 Posted December 14, 2020 Share Posted December 14, 2020 Something like this? ref Actor Begin OnTriggerEnter Set Actor to GetActionRef If Actor.GetInFaction NCRFaction == 1Actor.DisableEndif End Link to comment Share on other sites More sharing options...
Mcdoye Posted December 14, 2020 Share Posted December 14, 2020 was going to type exactly what lc1000 said. that script should work. Link to comment Share on other sites More sharing options...
th3overseer Posted December 15, 2020 Author Share Posted December 15, 2020 I'll give that a shot, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts