31 lines
642 B
Plaintext
31 lines
642 B
Plaintext
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)&&
|
|
(GetLevelByClass(CLASS_TYPE_SHADOWDANCER, oPC)==0))
|
|
return;
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("wp_falcon_01");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "falcon", lTarget);
|
|
|
|
oTarget = GetWaypointByTag("wp_blackbear_01");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "blackbear", lTarget);
|
|
|
|
}
|
|
|