14 lines
424 B
Plaintext
14 lines
424 B
Plaintext
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)));
|
|
}
|
|
|