2025-07-22 05:12 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004777Spring engineLuapublic2015-05-13 19:04
ReporterGoogle_Frog 
Assigned TojK 
PrioritylowSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
Product Version98.0.1+git 
Target VersionFixed in Version 
Summary0004777: Method for lua to clear a unit target
DescriptionCurrently when I want to clear the target of a unit I set its target to unitID 0.

Spring.SetUnitTarget(unitID,0)

This still works but is hacky. Perhaps if the second argument is false then the target could be cleared.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0014462

jK (developer)

Fix b31de4c10ed7e9b9f4ec189a8337f8a8f5c5d499 committed to develop branch: fix 0004777: add Spring.SetUnitTarget(unitid, nil), repo: spring changeset id: 4975
+Notes

-Issue History
Date Modified Username Field Change
2015-05-09 04:17 Google_Frog New Issue
2015-05-13 19:04 jK Changeset attached => spring develop b31de4c1
2015-05-13 19:04 jK Note Added: 0014462
2015-05-13 19:04 jK Assigned To => jK
2015-05-13 19:04 jK Status new => resolved
2015-05-13 19:04 jK Resolution open => fixed
+Issue History