17 lines
433 B
Plaintext
17 lines
433 B
Plaintext
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);
|
|
}
|
|
}
|
|
|