Difference between revisions of "Aggression"

160 bytes added ,  03:23, 15 October 2008
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.
imported>Nielius
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.)
Line 1: Line 1:
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.
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 ====
==== See also ====
Anonymous user