25 lines
559 B
Plaintext
25 lines
559 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetLastUsedBy();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
int DoOnce = GetLocalInt(oPC, GetTag(OBJECT_SELF));
|
|
|
|
if (DoOnce==TRUE) return;
|
|
|
|
SetLocalInt(oPC, GetTag(OBJECT_SELF), TRUE);
|
|
|
|
AssignCommand(oPC, ClearAllActions());
|
|
|
|
DelayCommand(1.0, AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_WORSHIP, 1.0f, 5.0f)));
|
|
|
|
DelayCommand(6.0, AssignCommand(oPC, ActionPlayAnimation(ANIMATION_FIREFORGET_VICTORY3, 1.0f, 0.0f)));
|
|
|
|
DelayCommand(7.0, AssignCommand(oPC, ClearAllActions()));
|
|
|
|
DelayCommand(8.0, ActionStartConversation(oPC, ""));
|
|
|
|
}
|