21 lines
458 B
Plaintext
21 lines
458 B
Plaintext
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, OBJECT_SELF, 1, CREATURE_TYPE_PERCEPTION, PERCEPTION_SEEN);
|
||
|
|
||
|
if (IsInConversation(OBJECT_SELF) || GetIsInCombat()) return;
|
||
|
|
||
|
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
||
|
|
||
|
if (DoOnce==TRUE) return;
|
||
|
|
||
|
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
||
|
|
||
|
ActionPlayAnimation(ANIMATION_FIREFORGET_GREETING);
|
||
|
|
||
|
ActionSpeakString("Damn that Mouser!!");
|
||
|
|
||
|
}
|
||
|
|