beginscript; label wait: if (GetState()!=0) { EndFrame(); goto ash; } EndFrame(); goto wait; label ash: ToggleArmor (0x7009); //SelectWeapons (0,0,0); SetFollowWaypoint(21,5,50); SelectWeapons (0,0,1); ExcTargetType (0xffff); ExcludeGTarget (2); IncludeUTarget (0x40f); WaitForTime(350); EndFrame(); goto ash2; label ash2: ToggleArmor (0x7009); SetFollowWaypoint(63,5,350); SetFollowRange(2000); ExcTargetType (0xffff); ExcludeGTarget (2); IncludeUTarget (0x7401); SelectWeapons (0,1,0); EndFrame(); goto health; label health: if (GetOtherUnitHealth(0x7009) <= 40 ) { SelectWeapons (0,0,1); ModifyOtherUnitHealth (0x7009, 100); goto health2; } EndFrame(); goto health; label health2: if (GetOtherUnitHealth(0x7009) <= 40 ) { SelectWeapons (0,1,0); ModifyOtherUnitHealth (0x7009, 100); goto health3; } EndFrame(); goto health2; label health3: if (GetOtherUnitHealth(0x7009) <= 40 ) { SelectWeapons (0,1,0); ModifyOtherUnitHealth (0x7009, 100); goto ash3; } EndFrame(); goto health3; label ash3: if (GetOtherUnitHealth(0x7009) <= 30 ) { ToggleArmor(Ash); SetFollowWaypoint(83,5,350); WaitForTime(40); TriggerMessage(15,h15,0x7803); WaitForTime(70); SpawnOtherUnit(quinn); ExcTargetType (0x2); ExcludeGTarget (2); IncludeUTarget (0x781e); SetFollowUnit(quinn,5,500); WaitForTime(3); TeleportUnit(0x7825, 5, 5); FreezePlayer (); ChangeCamera (0x807, 20, 20); TriggerMessage(16,h16,0x781e); WaitForTime(20); TriggerMessage(17,h17,0x7803); WaitForTime(20); TriggerMessage(18,h18,0x781e); SetButtonJump(); if (HasJumped()) goto skipcs1; WaitForTime(230); JumpOnButton(false); label skipcs1: ChangeCamera (0x801, 20, 20); ResumePlayer (); TriggerMessage(19,h19,0x7803); ExcTargetType (0x2); ExcludeGTarget (2); IncludeUTarget (0x781e); SetFollowUnit(quinn,5,500); ModifyOtherUnitHealth (0x7009, 100); //CanHoverAttack(Ash,0); SelectWeapons (0,1,0); ToggleArmor(Ash); EndFrame(); goto health4; } EndFrame(); goto ash3; label health4: if (GetOtherUnitHealth(0x7009) <= 50 ) { TriggerMessage(14,h14,0x7803); ModifyOtherUnitHealth (0x7009, 100); goto End; } EndFrame(); goto health4; label End: EndFrame(); goto End; endscript; $