Initial Upload
Initial Upload
This commit is contained in:
24
_module/nss/dragon_enter21.nss
Normal file
24
_module/nss/dragon_enter21.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
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 ));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user