2019-12-09 08:48 CET

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000181Spring engineGeneralpublic2006-07-06 18:24
Reportercolorblind 
Assigned Tocolorblind 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000181: Attack isn't canceled when enemy unit goes outside LOS
DescriptionWhen you issue an attack, it isn't canceled when enemy unit goes outside LOS. You would expect this to happen, because if you don't know where the unit is then you can't follow it around and try to attack it, yet this is exactly what happens. If you hold down Shift you can even tell the unit's location.

Additional InformationThis is easily fixed by adding an LOS check in the SlowUpdate function of the commandAI files (sim/Units/CommandAI/*.cpp), right next to the check "if(targetDied)" in the CMD_ATTACK case of the switch.

I just don't know if it would gobble up a whole lot of resources, as the LOS handler might be a bit slow (but I'm only guessing here).
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0000202

suit (reporter)

i figured that out too, its very annoying for targeted players on very small maps

if you found the commander once you can target it with some guardian and it wont stop firing till the unit gets out of range

~0000272

alphabeta (reporter)

colorblind fixed this but it wasnt marked as resolved
http://svn.berlios.de/wsvn/taspring-linux/?rev=1564&sc=1

~0000283

tvo (reporter)

fixed in svn
+Notes

-Issue History
Date Modified Username Field Change
2006-05-27 23:38 colorblind New Issue
2006-05-28 20:45 suit Note Added: 0000202
2006-07-03 00:16 alphabeta Note Added: 0000272
2006-07-06 18:24 tvo Status new => assigned
2006-07-06 18:24 tvo Assigned To => tvo
2006-07-06 18:24 tvo Assigned To tvo => colorblind
2006-07-06 18:24 tvo Status assigned => resolved
2006-07-06 18:24 tvo Resolution open => fixed
2006-07-06 18:24 tvo Note Added: 0000283
+Issue History