Aggression

Revision as of 03:23, 15 October 2008 by imported>Antares (Added syntax examples, why? to make this wiki a better place =D *dreamy eyes. Plus I am using this in a script and it took me longer than it should have to get the syntax correct.)

Setting an actor's aggression to a value higher than their disposition for any other actor will cause them to attack the other actor. A setting of 5 or below means it will not initiate combat under any circumstance, but will enter combat if directly attacked. A setting of zero means it will refuse combat even if attacked.

Syntax:

SetActorValue Aggression value
SetAV Aggression value

Example:

SetActorValue Aggression 100
NPCRef.SetActorValue Aggression 0 

See also