Jump to content

Detect fleeing in script


GileadMaerlyn

Recommended Posts

Hi,

 

I'd like to be able to detect if an actor is fleeing or fighting in a script, but I can't find any way to do that.

First, I tried GetCombatState(), but both a fleeing or fighting actor is considered in combat. Dead end.

Then, I saw an Actor Value called Mood. I thought that certainly a guy fleeing was in Fear, so I used GetActorValue("Mood"). Well, it turns out being in fear and running away screaming is not correlated for the game. Another dead end.

Finally, I found somewhere that there was a function called isFleeing(), exactly for that, but it's not on the creation kit wiki, and I can't get my script to compile with it, I'm starting to doubt its existence.

 

So, any idea?

 

Thanks in advance.

Edited by Gilead Maerlyn
Link to comment
Share on other sites

  • Recently Browsing   0 members

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