void main() { object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR,PLAYER_CHAR_IS_PC); DelayCommand(2.0, AssignCommand(oPC, JumpToObject(GetWaypointByTag("WP_cainlair")))); }