Difference between revisions of "Command an NPC/Creature to Attack"
Command an NPC/Creature to Attack (edit)
Revision as of 11:09, 26 December 2009
, 11:09, 26 December 2009no edit summary
imported>Phinix |
imported>Phinix |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
This tutorial will explain how to set up a script on a custom NPC/creature so that by activating it you will be able to command it to attack nearby actors (including friendlies.) | This tutorial will explain how to set up a script on a custom NPC/creature so that by activating it you will be able to command it to attack nearby actors (including friendlies.) | ||
== Create a Global variable == | == Create a Global variable == | ||
Line 39: | Line 37: | ||
begin ScriptEffectFinish | begin ScriptEffectFinish | ||
SetAV Aggression 10 | |||
end | end | ||
Line 127: | Line 126: | ||
Best of luck! | Best of luck! | ||