28 lines
874 B
Plaintext
28 lines
874 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: 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);
|
|
}
|