![]() |
|
|
#4 |
|
Архивный участник
Join Date: Mar 2006
Posts: 17
|
For kids nask
NPC Answers attack Code:
EventHandler ATTACKED(attacker, damage)
{
AddAttackDesire(attacker, @AMT_MOVE_TO_TARGET, 2000);
}
Code:
EventHandler SEE_CREATURE(creature)
{
if(creature.karma > 0)
{
AddAttackDesire(creature, @AMT_MOVE_TO_TARGET, 1500);
}
}
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|