LoT_PRC8/_module/nss/gz_chair_use.nss
Jaysyn904 ec287507a1 Initial upload
Initial upload.
2023-09-25 21:32:17 -04:00

26 lines
668 B
Plaintext

//::///////////////////////////////////////////////
//:: gz_chair_use
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Dom Queron
//:://////////////////////////////////////////////
// This script was explained by David Gaider/Bioware in this topic.
// You should read this topic if you are interested in Nwn scripting
// http://nwn.bioware.com/forums/viewtopic.html?topic=74275&forum=47
void main()
{
object oChair = OBJECT_SELF;
if(!GetIsObjectValid(GetSittingCreature(oChair)))
{
AssignCommand(GetLastUsedBy(), ActionSit(oChair));
}
}