727 SetHealth(AddGear(specialPointsX[i], specialPointsY[i], gtExplosives, 0, 0, 0, 0),100) |
727 SetHealth(AddGear(specialPointsX[i], specialPointsY[i], gtExplosives, 0, 0, 0, 0),100) |
728 |
728 |
729 -- There are about 58+- weps / utils |
729 -- There are about 58+- weps / utils |
730 -- Weapon Crates |
730 -- Weapon Crates |
731 elseif (specialPointsFlag[i] >= 20) and (specialPointsFlag[i] < (#atkArray+20)) then |
731 elseif (specialPointsFlag[i] >= 20) and (specialPointsFlag[i] < (#atkArray+20)) then |
732 SpawnAmmoCrate(specialPointsX[i],specialPointsY[i],atkArray[i-19][1]) |
732 SpawnAmmoCrate(specialPointsX[i],specialPointsY[i],atkArray[specialPointsFlag[i]-19][1]) |
|
733 |
733 |
734 |
734 -- Utility Crates |
735 -- Utility Crates |
735 elseif (specialPointsFlag[i] >= (#atkArray+20)) and (specialPointsFlag[i] < (#atkArray+20+#utilArray)) then |
736 elseif (specialPointsFlag[i] >= (#atkArray+20)) and (specialPointsFlag[i] < (#atkArray+20+#utilArray)) then |
736 SpawnUtilityCrateCrate(specialPointsX[i],specialPointsY[i],utilArray[i-19-#atkArray][1]) |
737 SpawnUtilityCrate(specialPointsX[i],specialPointsY[i],utilArray[specialPointsFlag[i]-19-#atkArray][1]) |
737 |
738 |
738 --79-82 (reserved for future wep crates) |
739 --79-82 (reserved for future wep crates) |
739 --89,88,87,86 and 85,84,83,82 (reserved for the 2 custom sprites and their landflags) |
740 --89,88,87,86 and 85,84,83,82 (reserved for the 2 custom sprites and their landflags) |
740 |
741 |
741 --90-99 reserved for scripted structures |
742 --90-99 reserved for scripted structures |