View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004777 | Spring engine | Lua | public | 2015-05-09 04:17 | 2015-05-13 19:04 | ||||
Reporter | Google_Frog | ||||||||
Assigned To | jK | ||||||||
Priority | low | Severity | feature | Reproducibility | N/A | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 98.0.1+git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004777: Method for lua to clear a unit target | ||||||||
Description | Currently 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. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
jK (developer) 2015-05-13 19:04 |
Fix b31de4c10ed7e9b9f4ec189a8337f8a8f5c5d499 committed to develop branch: fix 0004777: add Spring.SetUnitTarget(unitid, nil), repo: spring changeset id: 4975 |
![]() |
|||
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 |