Functions Documentation
View Function Edit Function
Name shpDamageArmor
Syntax (shpDamageArmor ship number number number)
Argument List ship: The ship that you want to damage an armor segment on.
number: Where on the ship the armor segment is.
number: The damage type.
number: The amount of damage.
Returns condition: True is successful.
Category ship, repair/damage, armor
Description Damages the armor with the given damage and damage type.
Example
(shpDamageArmor gplayership 0 0 1)


Does one point of kinetic damage to the players forward armor.
Comment Very nice function for damaging armor in code. Would be nice if you could do this with shields too.
Use 'nosrsflash to stop the Red Screen of Death from showing, as requested in this thread: http://wiki.neurohack.com/transcendence/trac/ticket/648