Added PnP Dire Rat.
Added PnP Dire Rat.
This commit is contained in:
10
nwn_dark_sun/ds_amuletexit.nss
Normal file
10
nwn_dark_sun/ds_amuletexit.nss
Normal file
@@ -0,0 +1,10 @@
|
||||
void main()
|
||||
{
|
||||
DelayCommand(20.0,ActionCloseDoor(OBJECT_SELF));
|
||||
string sDoor = GetTag(OBJECT_SELF);
|
||||
int num = Random(9) + 1;
|
||||
string sExit = "MD"+IntToString(num);
|
||||
object oPC = GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC);
|
||||
string sWP = GetLocalString(oPC, sDoor);
|
||||
AssignCommand(oPC,ActionJumpToLocation(GetLocation(GetObjectByTag(sExit))));
|
||||
}
|
Reference in New Issue
Block a user