20 lines
638 B
Plaintext
20 lines
638 B
Plaintext
void main()
|
|
{
|
|
object ranger = GetEnteringObject();
|
|
|
|
int a =GetLevelByClass(CLASS_TYPE_RANGER,ranger);
|
|
|
|
if (a <= 25)
|
|
{
|
|
SendMessageToPC(ranger, "You notice a crude carving of an Arrowhead in the crystal.");
|
|
}
|
|
|
|
if (a == 30 && GetItemPossessedBy(ranger, "Arrowhead") != OBJECT_INVALID)
|
|
{
|
|
DestroyObject(GetItemPossessedBy(ranger, "Arrowhead"));
|
|
location crumble = GetLocation(GetWaypointByTag("ranger2"));
|
|
SendMessageToPC(ranger, "You notice a crude carving of an arrow in the crystal. As you place the arrowhead in the crystal you are teleported!");
|
|
DelayCommand(3.0, AssignCommand(ranger, JumpToLocation(crumble)));
|
|
|
|
}
|
|
} |