Difference between revisions of "Questions"
Jump to navigation
Jump to search
no edit summary
imported>Decoup |
imported>Decoup |
||
Line 424: | Line 424: | ||
</pre> | </pre> | ||
I don't understand why it does not work.[[User:Decoup|Decoup]] 20:36, 27 May 2006 (EDT) | I don't understand why it does not work.[[User:Decoup|Decoup]] 20:36, 27 May 2006 (EDT) | ||
==Determine Enemy== | |||
I can't find a command that will tell you if an npc is an enemy of another. For example the [[GetCombatTarget]] function tells you who the npc is in combat with. What if you just want to know if an npc is the players enemy, or if npc a considers npc b to be an enemy. | |||
I am specifically looking for a command that will tell you if the character will attack the player on sight. There is another command called [[GetShouldAttack]] but this does not indicate if they are an enemy, just if they are currently capable of making an attack and can see the character.[[User:Decoup|Decoup]] 20:45, 27 May 2006 (EDT) |