17 lines
377 B
Plaintext
17 lines
377 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC = GetFirstPC();
|
||
|
int nInt = GetLocalInt(oPC, "shrine");
|
||
|
while (GetIsObjectValid(oPC))
|
||
|
{
|
||
|
if(nInt==1)
|
||
|
{
|
||
|
SetLocalInt(oPC, "shrine", 1);
|
||
|
AssignCommand(oPC, ClearAllActions());
|
||
|
DelayCommand(0.2, AssignCommand(oPC, PlayAnimation(ANIMATION_FIREFORGET_BOW)));
|
||
|
}
|
||
|
|
||
|
oPC = GetNextPC();
|
||
|
}
|
||
|
}
|