Jump to content

Recommended Posts

Posted (edited)
Is there any way to force enemies to ignore player, without changing factions? I want them to search for player normally and to force AI package after detecting him, ignoring combat completely. Is it even possible? I'm going to try adding unaggressive combat style, but I'm not sure if this will do exactly what I want. Edited by Med111
Posted

Not sure what you are trying to do but if you just want a particular actor to shun combat, you can set their aggression to 0.

 

<NPCRef>.SetAV Aggression 0

Posted (edited)

Not sure what you are trying to do but if you just want a particular actor to shun combat, you can set their aggression to 0.

 

<NPCRef>.SetAV Aggression 0

 

Unfortunately they won't be considered as enemies (red threats), but I guess there is no other way. Is it possible to restore their aggression back to normal by saving previous one and restoring it later?

 

EDIT: Is there any way to use same variable in two different scripts? I'm going to store default aggression in quest script and restore it in effect script.

Edited by Med111
Posted

You can access variables in quest script by <quest>.<variable>

 

For objects, <reference>.<var>

 

Not sure abt effect scripts though.

  • 5 years later...
Posted

Is there any way to force enemies to ignore player, without changing factions? I want them to search for player normally and to force AI package after detecting him, ignoring combat completely. Is it even possible? I'm going to try adding unaggressive combat style, but I'm not sure if this will do exactly what I want.

 

Maybe

 

tdetect

?

  • Recently Browsing   0 members

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