///////////////////////////////////////////////////////// // // Craftable Natural Resources (CNR) by Festyx // // Name: cnr_curing_anim // // Desc: This script animates the PC when crafting // at the curing tub. // // Author: Gary Corcoran 22Mar03 // ///////////////////////////////////////////////////////// void main() { object oPC = GetLocalObject(OBJECT_SELF, "oCnrCraftingPC"); if (GetIsPC(oPC)) { // The animation delay should be set to the number of seconds it // takes to complete this animation. SetLocalFloat(oPC, "fCnrAnimationDelay", 6.0); int bSuccess = GetLocalInt(oPC, "bCnrCraftingResult"); AssignCommand(oPC, ActionPlayAnimation(ANIMATION_LOOPING_GET_LOW, 1.0, 6.0)); PlaySound("as_na_waterlap1"); } }