2019-08-24 10:01 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004916Spring engineGeneralpublic2015-07-26 20:39
Reporterlhog 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
Product Version100.0 
Target VersionFixed in Version 
Summary0004916: CMD.FIGHT implementation is too rigid
DescriptionEngine implementation of CMD.FIGHT is rigid.

The current implementation is so, that CMD.FIGHT issues CMD.ATTACK command to the euclidean nearest unit, that formally qualifies as target. Obviosly that target could be not the best or completely not appropriate at some stage of the game. Issues are:
1) No targetting priorities are queried during the selection
2) It's impossible to invalidate that target from unitscript or gadget

Proper implementation of CMD.FIGHT (for fighting domain) should
1) select target according to a priority returned by AllowWeaponTarget
2) also it should be possible to invalidate the current target, so re-targeting (according to priorities) is done.
TagsNo tags attached.
Checked infolog.txt for lua Errors
Attached Files

-Relationships
+Relationships

-Notes
There are no notes attached to this issue.
+Notes

-Issue History
Date Modified Username Field Change
2015-07-26 20:39 lhog New Issue
+Issue History