generated from Jaysyn/ModuleTemplate
Merged redundant hak files
Merged redundant hak files. Moved hak scripts into module. Updated gitignore. Full Compile. Added release folder & archive.
This commit is contained in:
20
_mod/_module/nss/npcact_use_gong.nss
Normal file
20
_mod/_module/nss/npcact_use_gong.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
/////////////////////////////////////////////////////
|
||||
// NPC ACTIVITIES 5.0 - OnUse Gong
|
||||
//--------------------------------------------------
|
||||
// By Deva Bryson Winblood.
|
||||
// Also used with NPC ACTIVITIES 6.0 but, did not require modification
|
||||
/////////////////////////////////////////////////////
|
||||
// SCRIPT: npcact_use_gong
|
||||
/////////////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
object oUser=GetLastUsedBy();
|
||||
object oMe=OBJECT_SELF;
|
||||
AssignCommand(oUser,ClearAllActions());
|
||||
AssignCommand(oUser,ActionAttack(oMe,TRUE));
|
||||
DelayCommand(5.0,AssignCommand(oUser,ClearAllActions()));
|
||||
DelayCommand(1.0,ActionSpeakString("* DONG *"));
|
||||
DelayCommand(1.0,PlaySound("as_cv_bell2"));
|
||||
DelayCommand(1.0,ActionWait(1.0f));
|
||||
}
|
||||
Reference in New Issue
Block a user