Amon_PRC8/_module/nss/give_egg.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

22 lines
811 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName give_egg
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 10/26/2005 9:46:40 PM
//:://////////////////////////////////////////////
void main()
{
// Give the speaker the items
object oPC = GetLastSpeaker();
GiveXPToCreature(oPC, 1000);
CreateItemOnObject("rcq_item_01", oPC, 1);
object oTarget = GetWaypointByTag("CecropsReturn"); //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)));
DelayCommand(5.1, ExecuteScript("killself", OBJECT_SELF));
}