generated from Jaysyn/ModuleTemplate
13 lines
420 B
Plaintext
13 lines
420 B
Plaintext
void main()
|
|
{
|
|
location lDestination=GetLocation(GetWaypointByTag(GetLocalString(OBJECT_SELF,"TargetWaypoint")));
|
|
object oPC=GetPCSpeaker();
|
|
object oSelf=GetLastSpeaker();
|
|
AssignCommand(oPC,ClearAllActions());
|
|
AssignCommand(oPC,ActionJumpToLocation(lDestination));
|
|
if(GetLocalInt(OBJECT_SELF,"UseAnimation"))
|
|
{
|
|
DelayCommand(0.5,ActionPlayAnimation(ANIMATION_PLACEABLE_CLOSE));
|
|
}
|
|
}
|