Initial Upload
Initial Upload
This commit is contained in:
27
_module/nss/mdg_hignaronperc.nss
Normal file
27
_module/nss/mdg_hignaronperc.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Name x2_def_percept
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Default On Perception script
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Keith Warner
|
||||
//:: Created On: June 11/03
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
int nHasSpawnedReavers = GetLocalInt(OBJECT_SELF, "SpawnedReavers");
|
||||
|
||||
if(!nHasSpawnedReavers)
|
||||
{
|
||||
SetLocalInt(OBJECT_SELF, "Summoning", TRUE);
|
||||
ActionPlayAnimation(ANIMATION_LOOPING_CONJURE2, 1.0f, 3.0f);
|
||||
DelayCommand(1.5f, ExecuteScript("mdg_hignarrvsumm", OBJECT_SELF));
|
||||
SetLocalInt(OBJECT_SELF, "SpawnedReavers", 1);
|
||||
DelayCommand(2.0f, SetLocalInt(OBJECT_SELF, "Summoning", FALSE));
|
||||
}
|
||||
|
||||
ExecuteScript("nw_c2_default2", OBJECT_SELF);
|
||||
}
|
||||
Reference in New Issue
Block a user