Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
16
_module/nss/en3_respawn2.nss
Normal file
16
_module/nss/en3_respawn2.nss
Normal file
@@ -0,0 +1,16 @@
|
||||
void main()
|
||||
{
|
||||
object oPC;
|
||||
object oSpawnPoint;
|
||||
string sDestTag = "en3_respawning";
|
||||
|
||||
oPC = GetEnteringObject();
|
||||
|
||||
if (GetIsPC(oPC))
|
||||
{
|
||||
sDestTag = GetLocalString(oPC,"Respawn");
|
||||
oSpawnPoint = GetObjectByTag(sDestTag);
|
||||
AssignCommand(oPC,JumpToLocation(GetLocation(oSpawnPoint)));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user