Code: Select all
* Don't shoot civilians
if [THIS] -> is of class Big Ship
if $Target -> is of class Astronaut
*$Dummy1 = [THIS] -> get attack target
*if not $Target == $Dummy1
$Dummy1 = [THIS] -> get incoming marines
skip if is datatype[ $Dummy1 ] == DATATYPE_ARRAY
continue
skip if find $Target in array: $Dummy1
continue
*end
end
end
Code: Select all
* Don't shoot civilians
if $Target -> is of class Astronaut
skip if [THIS] -> is of class Big Ship
continue
*$Dummy1 = [THIS] -> get attack target
*if not $Target == $Dummy1
$Dummy1 = [THIS] -> get incoming marines
skip if is datatype[ $Dummy1 ] == DATATYPE_ARRAY
continue
skip if find $Target in array: $Dummy1
continue
*end
end
Also should check SS_LASER_PD again, 2600 is not dividable by 3 my number was 2520, I bet the player station will produce batches of size 3 Plasma Burst Generators. The next larger working number should be 2640.