17 lines
512 B
Plaintext
17 lines
512 B
Plaintext
|
//ladderup by Trito
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
//Get PC
|
||
|
object oPC = GetLastUsedBy();
|
||
|
//get the target waypoint destination
|
||
|
object oDrop = GetWaypointByTag("WP_tri_temple1");
|
||
|
object lLoc = GetWaypointByTag("WP_tri_temple2");
|
||
|
//clear all actions
|
||
|
DelayCommand(0.5,AssignCommand (oPC,ClearAllActions()));
|
||
|
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_UNSUMMON), oPC);
|
||
|
//jump the PC to the destination
|
||
|
DelayCommand(1.0,AssignCommand (oPC,JumpToObject(oDrop)));
|
||
|
|
||
|
}
|