Problem is my poor eyesight is suffering from identifying all the Engine Tunings + Rudder Optimizations from a sea of missiles & E-cells...
how can I identify the identity of a floating crate?
The original script looks like this
Code: Select all
$Sector = get sector from universe index: x=$X, y=$Y
if $Sector -> exists
$Temp = find flying ware: sector=$Sector maintype=null subtype=null flags=[Find.Multiple] refobj=null maxdist=null maxnum=99, refpos=null
$count = size of array $Temp
while $count
dec $count =
$obj = $Temp[$count]
if $obj != null
$num = $obj -> get flying ware count
$pos = $obj -> get position as array
$Xpos = $pos[0]
$Ypos = $pos[1]
$Zpos = $pos[2]
$pos = sprintf: fmt='X=%s Y=%s Z=%s', $Xpos, $Ypos, $Zpos, null, null
$text = sprintf: fmt='%s %s in %s (at %s)', $num, $obj, $Sector, $pos, null
add non selectable menu item: $menu, text=$text
$sat = create ship: type=Advanced Satellite owner=Player addto=$Sector x=$Xpos y=$Ypos z=$Zpos
$text = sprintf: fmt='%s %s', $num, $obj, null, null, null
$sat ->set name to $text
end
end