PoA_PRC8/_module/nss/treedeath.nss
Jaysyn904 8d97886c3f Changed folder name.
Changed folder name.
2022-10-07 21:08:37 -04:00

27 lines
931 B
Plaintext

// * Applies an XP and GP penalty
// * to the player respawning
void ApplyPenalty(object oDead)
{
}
void main()
{
object oArea = GetArea(OBJECT_SELF);
location lBegLoc = GetLocation(OBJECT_SELF);
//The "beggmale001" needs to be changed to whatever your module
//names the BLUEPRINT for your custom created creature. You
//cannot use a completely standard creature, because then you
//won't be able to change the scripts. Just create a regular
//instance of an NPC, right click it and pick properties. Switch
//to the scripts tag and fill in this script's name under the
//on death script. Then close that, and right click on your
//newly created NPC and add pick add blueprint. Then from the
//advanced tab of the properties for the blueprint, find out
//what the blueprint name is.
CreateObject(OBJECT_TYPE_PLACEABLE, "tree1", lBegLoc);
ApplyPenalty(GetLastKiller());
}