26 lines
477 B
Plaintext
26 lines
477 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
ClearAllActions();
|
|
|
|
ActionSpeakString("Ohh god help me. Please someone help me.");
|
|
|
|
ActionPlayAnimation(ANIMATION_LOOPING_TALK_PLEADING, 1.0f, 1.0f);
|
|
|
|
object oTarget;
|
|
oTarget = GetObjectByTag("Chard");
|
|
|
|
AssignCommand(oTarget, ActionStartConversation(oPC, "Chardcon"));
|
|
|
|
}
|