PWE_PRC8/_module/nss/trigger3.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

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"));
}