31 lines
422 B
Plaintext
31 lines
422 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
PlayVoiceChat(VOICE_CHAT_GOODBYE);
|
|
|
|
|
|
object oTarget;
|
|
|
|
|
|
|
|
SetPlotFlag(OBJECT_SELF,FALSE);
|
|
SetImmortal(OBJECT_SELF, FALSE);
|
|
SetIsDestroyable(TRUE, FALSE, FALSE);
|
|
DestroyObject(OBJECT_SELF, 0.2);
|
|
|
|
|
|
|
|
|
|
|
|
object oSpawn;
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("WP_HRESPAWN");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "ug001", lTarget);
|
|
|
|
}
|
|
|