Area Changes and other fixes
added areas and ccoh, fixed some areas to work with crafting fixed some on death issues added server entry/ooc
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
#include "vamp_subrace"
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastRespawnButtonPresser();
|
||||
|
||||
PrintString("vamp_respawn: " + GetName(oPC));
|
||||
if (GetCampaignInt("Vampire", "NewVamp",oPC)==1)
|
||||
{
|
||||
PrintString("vamp_respawn: " + GetName(oPC) + " is a NewVamp.");
|
||||
object oWaypoint = GetWaypointByTag("vamp_crypt");
|
||||
if (GetIsObjectValid(oWaypoint) == TRUE)
|
||||
{
|
||||
PrintString("vamp_respawn: " + GetName(oPC) + "| vamp_crypt is a valid location to be respawned.");
|
||||
location lLoc = GetLocation(oWaypoint);
|
||||
AssignCommand(oPC, ActionJumpToLocation(lLoc));
|
||||
DelayCommand(3.0f, SetSubRace(oPC, "Vampire"));
|
||||
DelayCommand(3.0f, ExportSingleCharacter(oPC));
|
||||
DelayCommand(3.0f, init_subrace(oPC));
|
||||
SetCampaignInt("Vampire","NewVamp",0,oPC);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//Add here what happens to "non new vampires"
|
||||
PrintString("vamp_respawn: " + GetName(oPC) + " is not a new vampire.");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user