22 lines
811 B
Plaintext
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));
|
|
}
|