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:
69
_module/nss/jw_sac_usd.nss
Normal file
69
_module/nss/jw_sac_usd.nss
Normal file
@@ -0,0 +1,69 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: Custom User Defined Event
|
||||
//:: FileName
|
||||
//:: Copyright (c) 2001 Bioware Corp.
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By:
|
||||
//:: Created On:
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
void main()
|
||||
{
|
||||
int nUser = GetUserDefinedEventNumber();
|
||||
|
||||
if(nUser == 50) //Event sent by signposts
|
||||
{
|
||||
ActionSpeakString("Is it time? At last?");
|
||||
ActionDoCommand(ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_FNF_HOWL_ODD),OBJECT_SELF));
|
||||
|
||||
|
||||
ActionDoCommand(ActionPlayAnimation(ANIMATION_PLACEABLE_OPEN));
|
||||
|
||||
object oTroll=CreateObject(OBJECT_TYPE_CREATURE,"jw_troll_sham",GetLocation(OBJECT_SELF));
|
||||
AssignCommand(oTroll,SpeakString("You are not the dragon lord . . ."));
|
||||
ActionDoCommand(DestroyObject(OBJECT_SELF));
|
||||
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
if(nUser == 60) //continued
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 70) // PERCEIVE
|
||||
{
|
||||
|
||||
}
|
||||
else if(nUser == 80) // 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