Files
HeroesStone_PRC8/_module/nss/use_transition1.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

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));
}
}