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.
This commit is contained in:
75
_module/nss/jw_zhent3_usd.nss
Normal file
75
_module/nss/jw_zhent3_usd.nss
Normal file
@@ -0,0 +1,75 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Custom User Defined Event
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By:
|
||||
//:: Created On:
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
int nUser = GetUserDefinedEventNumber();
|
||||
|
||||
|
||||
if(nUser == 50) //HEARTBEAT
|
||||
{
|
||||
|
||||
object oGirl=GetNearestObjectByTag("jw_girl_victim");
|
||||
|
||||
if (GetIsObjectValid(oGirl)&&GetObjectSeen(oGirl)&&(!GetIsDead(oGirl)))
|
||||
{
|
||||
AssignCommand(oGirl,SpeakString("No!! Go away!!",TALKVOLUME_TALK));
|
||||
AssignCommand(oGirl,PlaySound("as_pl_screamf4"));
|
||||
AssignCommand(oGirl,ActionMoveToObject(GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR,PLAYER_CHAR_IS_PC,oGirl),TRUE));
|
||||
SetIsTemporaryEnemy(oGirl,OBJECT_SELF,TRUE,240.0);
|
||||
|
||||
DelayCommand(0.5,AssignCommand(oGirl,PlaySound("as_pl_screamf4")));
|
||||
DelayCommand(0.5,ActionAttack(oGirl));
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
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
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user