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:
30
_module/nss/jw_rev_spn_tri_e.nss
Normal file
30
_module/nss/jw_rev_spn_tri_e.nss
Normal file
@@ -0,0 +1,30 @@
|
||||
void CreateBalor(location lLoc);
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC=GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)&&!GetIsPC(GetMaster(oPC)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (GetLocalInt(OBJECT_SELF,"nDone")==1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
SetLocalInt(OBJECT_SELF,"nDone",1);
|
||||
|
||||
location lLoc=GetLocation(GetWaypointByTag("jw_revenancer_spawn_WP"));
|
||||
effect eVis = EffectVisualEffect(VFX_FNF_SUMMON_GATE);
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, lLoc);
|
||||
DelayCommand(3.0, CreateBalor(lLoc));
|
||||
|
||||
}
|
||||
|
||||
void CreateBalor(location lLoc)
|
||||
{
|
||||
object oObject=CreateObject(OBJECT_TYPE_CREATURE, "jw_revenancer", lLoc);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user