27 lines
408 B
Plaintext
27 lines
408 B
Plaintext
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
object oSelf = OBJECT_SELF;
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
object oTarget;
|
|
|
|
oTarget = GetObjectByTag("bsh_5b");
|
|
|
|
AssignCommand(oTarget, ActionStartConversation(oPC, ""));
|
|
|
|
DelayCommand(3.0, DestroyObject(oSelf));
|
|
|
|
}
|
|
|