25 lines
637 B
Plaintext
25 lines
637 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetEnteringObject();
|
||
|
|
||
|
|
||
|
if (GetItemPossessedBy(oPC, "dragoncall")== OBJECT_INVALID)
|
||
|
{
|
||
|
string oDeny= "You see a dragon circling high above, He notices you but makes no attempt to land.........";
|
||
|
SendMessageToPC(oPC, oDeny);
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
|
||
|
{
|
||
|
effect eArrive = EffectAppear();
|
||
|
object oWP = GetObjectByTag("wp_landing");
|
||
|
object oFlyer = GetObjectByTag("DRAGON_FLYER");
|
||
|
|
||
|
AssignCommand( oFlyer, ClearAllActions());
|
||
|
DelayCommand( 0.5, ApplyEffectToObject( DURATION_TYPE_TEMPORARY, eArrive, oFlyer, 6.0 ));
|
||
|
AssignCommand( oFlyer, ActionJumpToObject( oWP ));
|
||
|
}
|
||
|
}
|