Battledale_PRC8/_module/nss/fr_oud_animar02.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

64 lines
1.4 KiB
Plaintext

//::///////////////////////////////////////////////
//:: Custom User Defined Event
//:: FileName
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By:
//:: Created On:
//:://////////////////////////////////////////////
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
{
location llocation = GetLocation(OBJECT_SELF);
effect eFX = EffectVisualEffect(VFX_COM_HIT_FIRE, FALSE);
DelayCommand(5.0, ActionInteractObject(CreateObject(OBJECT_TYPE_CREATURE, "fr_iwd_knight04", llocation, FALSE)));
DelayCommand(5.2, ApplyEffectToObject(DURATION_TYPE_INSTANT, eFX, GetObjectByTag("fr_iwd_knight04"), 3.0));
DelayCommand(5.0, ActionInteractObject(CreateObject(OBJECT_TYPE_CREATURE, "fr_iwd_knight05", llocation, FALSE)));
DelayCommand(5.2, ApplyEffectToObject(DURATION_TYPE_INSTANT, eFX, GetObjectByTag("fr_iwd_knight05"), 3.0));
}
else if(nUser == 1008) // DISTURBED
{
}
}