VanyarElf Posted December 15, 2023 Posted December 15, 2023 Hey everyone, I'm having trouble finding a way to program a script for New Vegas GECK which makes every NPC who hasn't been designated ( I.E, Player and another NPC ) leave a room located inside an interior cell. Any idea how I would go about doing it?
ebizoe Posted December 15, 2023 Posted December 15, 2023 It'll be easily done by using a ref-walking function. There are several ways to do ref-walking, but you probably should try GetFirstRef/GetNextRef first.
VanyarElf Posted December 16, 2023 Author Posted December 16, 2023 (edited) 20 hours ago, ebizoe said: It'll be easily done by using a ref-walking function. There are several ways to do ref-walking, but you probably should try GetFirstRef/GetNextRef first. Oh, I've been kind of working with the vanilla GECK scripting so far, the best I managed to come up currently is using OnTriggerEnter and GetActionRef to basically expel by teleportation any NPC's walking into an area while a quest objective/stage is active, but something more natural would be great. Edited December 16, 2023 by VanyarElf
Recommended Posts