Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
39
_module/nss/zep_shrieker_usr.nss
Normal file
39
_module/nss/zep_shrieker_usr.nss
Normal file
@@ -0,0 +1,39 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Custom User Defined Event
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By:
|
||||
//:: Created On:
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
int nUser = GetUserDefinedEventNumber();
|
||||
|
||||
if(nUser == 1002) // PERCEIVE
|
||||
{
|
||||
object oCreature = GetLastPerceived();
|
||||
{
|
||||
|
||||
if (GetLastPerceptionSeen() & GetIsPC(oCreature))
|
||||
{
|
||||
ClearAllActions();
|
||||
SetLocalObject(OBJECT_SELF,"NW_L_TargetOfAttack",oCreature);
|
||||
SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_SHOUT);
|
||||
PlaySound("sdr_mindhit");
|
||||
PlaySound("sdr_mindhit");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
ClearAllActions();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user