View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003106 | Spring engine | General | public | 2012-06-07 03:06 | 2012-06-07 16:05 | ||||
Reporter | luckywaldo7 | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 88.0 | ||||||||
Target Version | Fixed in Version | 89.0 | |||||||
Summary | 0003106: trouble with GetUnitVelocity | ||||||||
Description | I'm trying to get unit speed as described by this forum thread: http://springrts.com/phpbb/viewtopic.php?f=21&t=25308 and this commit that is mentioned: https://github.com/spring/spring/commit/3089a9da1769d3d9b1c42b74c5d29c852495240d I can't figure out how to get it to to return "speed.Length()" I could just be silly, but it looks like this line: "if (lua_isboolean(L, 1) && lua_toboolean(L, 1)) {" wants to see a "true" in GetUnitVelocity where the unitID should go. If it in fact works right and I'm just looking at the code right, help me out with the correct usage so I can update the wiki. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-06-07 03:06 | luckywaldo7 | New Issue | |
2012-06-07 16:05 | Kloot | Note Added: 0008741 | |
2012-06-07 16:05 | Kloot | Status | new => resolved |
2012-06-07 16:05 | Kloot | Fixed in Version | => 89.0 |
2012-06-07 16:05 | Kloot | Resolution | open => fixed |
2012-06-07 16:05 | Kloot | Assigned To | => Kloot |