31 lines
753 B
Plaintext
31 lines
753 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Name x2_def_ondeath
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Default OnDeath script
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Keith Warner
|
|
//:: Created On: June 11/03
|
|
//:://////////////////////////////////////////////
|
|
|
|
void main()
|
|
{
|
|
ExecuteScript("nw_c2_default7", OBJECT_SELF);
|
|
ExecuteScript("tab_xpscript",OBJECT_SELF);
|
|
|
|
object oPC = GetLastKiller();
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
location lTarget;
|
|
oTarget = GetWaypointByTag("WP_CLANLEADERPORTAL");
|
|
|
|
lTarget = GetLocation(oTarget);
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "clanleaderportal", lTarget);
|
|
|
|
DestroyObject(oSpawn, 300.0);
|
|
}
|