Amon_PRC8/_module/nss/to_greattree.nss

14 lines
424 B
Plaintext
Raw Normal View History

2025-04-03 19:00:46 -04:00
void main()
{
// Remove some gold from the player
object oPC = GetLastSpeaker();
CreateItemOnObject("rcq_item_00", oPC, 1);
object oTarget = GetWaypointByTag("GreatTree"); //or whatever the tag is for your destination waypoint
FadeToBlack(oPC);
DelayCommand(2.0, BlackScreen(oPC));
DelayCommand(4.0, FadeFromBlack(oPC));
DelayCommand(4.1, AssignCommand(oPC, JumpToObject(oTarget)));
}