Jaysyn904 86feb9ca6f Initial commit
Initial commit.
2024-06-05 21:21:06 -04:00

8 lines
362 B
Plaintext

void teleport( object oPC, string jumplocation )
{
location telepoint = GetLocation( GetObjectByTag( jumplocation ) );
DelayCommand( 2.0f, AssignCommand( oPC, ClearAllActions() ) );
DelayCommand( 2.1f, AssignCommand( oPC, ActionJumpToLocation( telepoint ) ) );
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), oPC);
}