Shargast_PRC8/_module/Chapter 1/nss/zep_shrieknoaatt.nss
Jaysyn904 66a0a3e043 Initial commit
Initial commit.
2024-08-03 14:13:18 -04:00

24 lines
752 B
Plaintext

//::///////////////////////////////////////////////
//:: patchnoattack
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Derrick's script to make combat dummies not attack
you.
*/
//:://////////////////////////////////////////////
//:: Created By:
//:: Created On:
//:://////////////////////////////////////////////
void main()
{
object oPC = GetLastAttacker();
SetIsTemporaryFriend(oPC,OBJECT_SELF,FALSE,0.001);
DelayCommand(0.001,SetIsTemporaryEnemy(oPC));
//Shout Attack my target, only works with the On Spawn In setup
SpeakString("NW_ATTACK_MY_TARGET", TALKVOLUME_SILENT_SHOUT);
//Shout that I was attacked
SpeakString("NW_I_WAS_ATTACKED", TALKVOLUME_SILENT_SHOUT);
}