Jump to content

Detecting "Bleeding out" State of a NPC that isn't near the player.


AfroAttack

Recommended Posts

Say I have an NPC that gets into has goes to Embershard Mine and that same NPC gets into the "downed" due to it being essential how do I detect that "downed" state or "bleeding out" state if the player is somewhere say, in riverwood.

If I could call or reference the state in a script, then its as easy as using a boolean condition to check whether or not this NPC is "downed" but I don't even know if I can really do that or not :/.

Thanks in advance for the advice and help.

Link to comment
Share on other sites

If I'm not mistaken though, AI isn't really being processed in unloaded cells anyway, so they may never actually enter bleedout. What's likely to happen is they'll be there for however long their package tells them to be there, then leave unscathed. It's the same reason that NPCs are able to travel from town to town (well, not a lot of NPCs have this kind of package anyway) even if the player normally runs into all kinds of dangers those NPCs aren't supposed to survive. They don't actually walk all the way. The game spawns them in the loaded cell if the time is right.

 

If the player goes to the mine while they're still there, that's when the NPCs start processing their AI. So bandits will suddenly start attacking the NPC if they can detect them, etc.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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