View Issue Details

IDProjectCategoryView StatusLast Update
0004528Spring engineGeneralpublic2016-02-05 00:53
Reportersilentwings Assigned ToKloot  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Product Version97.0.1+git 
Summary0004528: add Spring.GroundPassable(unitDefID, x, z)
Descriptionreturns 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 InformationIt'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.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Google_Frog

2014-09-03 13:15

reporter   ~0013587

Are you aware that Spring.TestMoveOrder exists and might do what you want?

silentwings

2014-09-03 15:26

reporter   ~0013590

Yes - afaics it can't do this.

Kloot

2016-02-05 00:53

developer   ~0015622

it can, wrt the "a bool to say if ground is passable by a moveDefID" part: testTerrain=true, testObjects=false, centerOnly=true

Issue History

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