PWE_PRC8/_module/nss/trigger3.nss

26 lines
477 B
Plaintext
Raw Permalink Normal View History

2025-04-03 10:29:41 -04:00
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"));
}