Jump to content

A script to make all actors except for designated actors leave a room?


Recommended Posts

Posted

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?

Posted (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 by VanyarElf
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...