Changed folder name.
Changed folder name.
This commit is contained in:
23
_module/nss/portguild2dracs.nss
Normal file
23
_module/nss/portguild2dracs.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
location lTarget;
|
||||
object oTarget;
|
||||
|
||||
//Put this on action taken in the conversation editor
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
if (GetHitDice(oPC) >= 14)
|
||||
{
|
||||
oTarget = GetWaypointByTag("motherentrance");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
if (GetArea(GetAreaFromLocation(lTarget))==OBJECT_INVALID) return;
|
||||
|
||||
AssignCommand(oPC, ClearAllActions());
|
||||
|
||||
AssignCommand(oPC, ActionJumpToLocation(lTarget));
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user