Added PnP Dire Rat.
Added PnP Dire Rat.
This commit is contained in:
13
nwn_dark_sun/ar_s3_cushion.nss
Normal file
13
nwn_dark_sun/ar_s3_cushion.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
// the following script will allow the PC to sit in a chair
|
||||
void main()
|
||||
{
|
||||
object oPlayer = GetLastUsedBy();
|
||||
object oChair = OBJECT_SELF;
|
||||
if (GetIsPC(oPlayer))
|
||||
{
|
||||
if (GetIsObjectValid(oChair) && !GetIsObjectValid (GetSittingCreature(oChair)))
|
||||
{
|
||||
AssignCommand(oPlayer, ActionSit(oChair));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user