Rune_PRC8/_module/nss/sitonconver.nss

17 lines
433 B
Plaintext
Raw Permalink Normal View History

2024-09-13 09:10:39 -04:00
void main()
{
if(GetCommandable(OBJECT_SELF))
{
{
BeginConversation();
}
ClearAllActions();
int nChair = 1;
string sMyTagName = GetTag(OBJECT_SELF);
string sSittableTagName = "CHAIR_" + sMyTagName;
object oChair = GetNearestObjectByTag(sSittableTagName, OBJECT_SELF, nChair);
ActionSit(oChair);
}
}