Initial commit. Updated release archive.
This commit is contained in:
74
_module/nss/gz_bindst_ude.nss
Normal file
74
_module/nss/gz_bindst_ude.nss
Normal file
@@ -0,0 +1,74 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Custom User Defined Event
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By:
|
||||
//:: Created On:
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void TurnOffLight()
|
||||
{
|
||||
PlayAnimation (ANIMATION_PLACEABLE_DEACTIVATE);
|
||||
SetPlaceableIllumination (OBJECT_SELF, FALSE);
|
||||
RecomputeStaticLighting (GetArea(OBJECT_SELF));
|
||||
}
|
||||
|
||||
void TurnOnLight()
|
||||
{
|
||||
PlayAnimation (ANIMATION_PLACEABLE_ACTIVATE);
|
||||
SetPlaceableIllumination (OBJECT_SELF, TRUE);
|
||||
RecomputeStaticLighting (GetArea(OBJECT_SELF));
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
int nUser = GetUserDefinedEventNumber();
|
||||
|
||||
if(nUser == 1001) //HEARTBEAT
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 1002) // PERCEIVE
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 1003) // END OF COMBAT
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 1004) // ON DIALOGUE
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 1005) // ATTACKED
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 1006) // DAMAGED
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 1007) // DEATH
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 1008) // DISTURBED
|
||||
{
|
||||
|
||||
}
|
||||
else if (nUser = 2222)
|
||||
{
|
||||
TurnOnLight();
|
||||
DelayCommand(15.0f,TurnOffLight());
|
||||
TurnOffLight();
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user