Initial Upload
Initial Upload
This commit is contained in:
35
_module/nss/rogue_sign1.nss
Normal file
35
_module/nss/rogue_sign1.nss
Normal file
@@ -0,0 +1,35 @@
|
||||
#include "prc_inc_racial"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
int iRogue = GetLevelByClass(CLASS_TYPE_ROGUE, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_SCOUT, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_NINJA, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_FACTOTUM, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_BEGUILER, oPC)
|
||||
+ GetLevelByClass(CLASS_TYPE_PSYCHIC_ROGUE, oPC);
|
||||
|
||||
if (iRogue >= 1)
|
||||
{
|
||||
|
||||
object oTarget1 = GetWaypointByTag("arrow1");
|
||||
object oTarget2 = GetWaypointByTag("arrow2");
|
||||
object oTarget3 = GetWaypointByTag("arrow3");
|
||||
location lTarget1 = GetLocation(oTarget1);
|
||||
location lTarget2 = GetLocation(oTarget2);
|
||||
location lTarget3 = GetLocation(oTarget3);
|
||||
|
||||
object oSpawn1 = CreateObject(OBJECT_TYPE_PLACEABLE, "plc_flrdesigns3", lTarget1);
|
||||
object oSpawn2 = CreateObject(OBJECT_TYPE_PLACEABLE, "plc_flrdesigns3", lTarget2);
|
||||
object oSpawn3 = CreateObject(OBJECT_TYPE_PLACEABLE, "plc_flrdesigns3", lTarget3);
|
||||
|
||||
DestroyObject(oSpawn3,5.0f);
|
||||
DestroyObject(oSpawn2,6.0f);
|
||||
DestroyObject(oSpawn1,7.0f);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user