View Issue Details

IDProjectCategoryView StatusLast Update
0004777Spring engineLuapublic2015-05-13 19:04
ReporterGoogle_Frog Assigned TojK  
PrioritylowSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version98.0.1+git 
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

Activities

jK

2015-05-13 19:04

developer   ~0014462

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

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