Initial upload
Initial upload
This commit is contained in:
36
_module/nss/cb_ranger_r.nss
Normal file
36
_module/nss/cb_ranger_r.nss
Normal file
@@ -0,0 +1,36 @@
|
||||
//tabbo
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
if (!GetIsPC(oPC)) return;
|
||||
|
||||
if ((GetLevelByClass(CLASS_TYPE_DRUID, oPC)==0)&&
|
||||
(GetLevelByClass(CLASS_TYPE_RANGER, oPC)==0)&&
|
||||
(GetLevelByClass(CLASS_TYPE_HARPER, oPC)==0))
|
||||
return;
|
||||
|
||||
object oTarget;
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
oTarget = GetWaypointByTag("wp_raven_01");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "raven001", lTarget);
|
||||
|
||||
oTarget = GetWaypointByTag("wp_raven_02");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "raven001", lTarget);
|
||||
|
||||
oTarget = GetWaypointByTag("wp_raven_03");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "raven001", lTarget);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user