View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004528 | Spring engine | General | public | 2014-09-03 10:56 | 2016-02-05 00:53 |
| Reporter | silentwings | Assigned To | Kloot | ||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | no change required | ||
| Product Version | 97.0.1+git | ||||
| Summary | 0004528: add Spring.GroundPassable(unitDefID, x, z) | ||||
| Description | returns a bool to say if ground is passable by a unitDefID (or maybe better, a double in [0,1] to indicate the local restriction to max speed) perhaps that arg would be better taken as a moveDef ID/name | ||||
| Additional Information | It's confusing when the tooltip (and GetGroundInfo) return speedmodifiers that only partially reflect the real ones; I don't think the real info is accessible to lua. | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
Are you aware that Spring.TestMoveOrder exists and might do what you want? |
|
|
Yes - afaics it can't do this. |
|
|
it can, wrt the "a bool to say if ground is passable by a moveDefID" part: testTerrain=true, testObjects=false, centerOnly=true |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-09-03 10:56 | silentwings | New Issue | |
| 2014-09-03 13:15 | Google_Frog | Note Added: 0013587 | |
| 2014-09-03 15:26 | silentwings | Note Added: 0013590 | |
| 2016-02-05 00:53 | Kloot | Note Added: 0015622 | |
| 2016-02-05 00:53 | Kloot | Status | new => closed |
| 2016-02-05 00:53 | Kloot | Assigned To | => Kloot |
| 2016-02-05 00:53 | Kloot | Resolution | open => no change required |