8 lines
362 B
Plaintext
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);
|
|
}
|