Major update
Fixed CCOH, Fixed starting GP, Fixed DMFI languages, Fix cep weapon appearances, Fixed new player start up system. Added PC deleter. Added ACP 4.1. Full compile. Updated release archive.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// onenter of trigger over the start location
|
||||
#include "prc_inc_racial"
|
||||
|
||||
void main()
|
||||
{
|
||||
@@ -47,42 +48,55 @@ void main()
|
||||
// If you prefer to not have Racial starting places and want only a single "Default" start then don't make any waypoint except the
|
||||
// one with tag "Default_Start"
|
||||
{
|
||||
if (GetRacialType(oPC)==RACIAL_TYPE_DWARF)
|
||||
int iRace = MyPRCGetRacialType(oPC);
|
||||
int iSubrace = GetRacialType(oPC);
|
||||
|
||||
if (iRace == RACIAL_TYPE_DWARF)
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Dwarf_Start"),FALSE)));
|
||||
}
|
||||
if ((GetRacialType(oPC)==RACIAL_TYPE_ELF)&& ((GetSubRace(oPC)!="Drow")||(GetSubRace(oPC)!="drow")))
|
||||
if ((iRace == RACIAL_TYPE_ELF) && (iSubrace != RACIAL_TYPE_DROW_MALE) && (iSubrace != RACIAL_TYPE_DROW_FEMALE))
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Elf_Start"),FALSE)));
|
||||
}
|
||||
if ((GetRacialType(oPC)==RACIAL_TYPE_ELF)&& ((GetSubRace(oPC)=="Drow")||(GetSubRace(oPC)=="drow")))
|
||||
if ((iRace == RACIAL_TYPE_ELF) && (iSubrace == RACIAL_TYPE_DROW_MALE) || (iSubrace == RACIAL_TYPE_DROW_FEMALE))
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Drow_Start"),FALSE)));
|
||||
}
|
||||
if (GetRacialType(oPC)==RACIAL_TYPE_GNOME)
|
||||
if (iRace == RACIAL_TYPE_GNOME)
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Gnome_Start"),FALSE)));
|
||||
}
|
||||
if (GetRacialType(oPC)==RACIAL_TYPE_HALFELF)
|
||||
if ((iRace == RACIAL_TYPE_ELF) && (iSubrace != RACIAL_TYPE_HALFDROW))
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Halfelf_Start"),FALSE)));
|
||||
}
|
||||
if (GetRacialType(oPC)==RACIAL_TYPE_HALFLING)
|
||||
if (iSubrace == RACIAL_TYPE_HALFDROW && GetAlignmentGoodEvil(oPC) != ALIGNMENT_EVIL)
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Halfelf_Start"),FALSE)));
|
||||
}
|
||||
else if (iSubrace == RACIAL_TYPE_HALFDROW && GetAlignmentGoodEvil(oPC) == ALIGNMENT_EVIL)
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Drow_Start"),FALSE)));
|
||||
}
|
||||
if (iRace == RACIAL_TYPE_HALFLING)
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Halfling_Start"),FALSE)));
|
||||
}
|
||||
if (GetRacialType(oPC)==RACIAL_TYPE_HALFORC)
|
||||
if (iRace == RACIAL_TYPE_HALFORC)
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Halforc_Start"),FALSE)));
|
||||
}
|
||||
if (GetRacialType(oPC)==RACIAL_TYPE_HUMAN)
|
||||
if (iRace == RACIAL_TYPE_HUMAN)
|
||||
{
|
||||
SendMessageToPC(oPC,"Portaling to your homeland in 3 Seconds...");
|
||||
DelayCommand(3.0,AssignCommand(oPC,ActionJumpToObject(GetObjectByTag("Human_Start"),FALSE)));
|
||||
|
||||
Reference in New Issue
Block a user