View Issue Details

IDProjectCategoryView StatusLast Update
0003047Spring engineGeneralpublic2012-04-01 14:11
ReporterGoogle_Frog Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Summary0003047: Collidee parameter in UnitPreDamaged with weaponDefID = -3
DescriptionWhen a unit collides with another unit/feature it would be nice to know which two objects have collided. I am unaware of a robust method of gathering this data via lua so I would like it passed to UnitPreDamaged (of course only given that there is a notion of collider and collidee in the engine). attackerID is always nil with negative weaponDefID so I think this parameter could be used for the collidee.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

Kloot

2012-04-01 13:13

developer   ~0008549

READ. THE. CHANGELOG.

github.com/spring/spring/blob/develop/doc/changelog.txt
springrts.com/wiki/LuaCallinReturn

Google_Frog

2012-04-01 13:56

reporter   ~0008550

You will have to elaborate. I do not see how to do what I requested.

To reiterate I want to know which two objects collided.

Kloot

2012-04-01 14:10

developer   ~0008551

1) open springrts.com/wiki/LuaCallinReturn
2) ctrl+f --> collision
3) hit <enter> a number of times
4) maybe get new glasses?

Issue History

Date Modified Username Field Change
2012-04-01 12:23 Google_Frog New Issue
2012-04-01 13:13 Kloot Note Added: 0008549
2012-04-01 13:13 Kloot Status new => closed
2012-04-01 13:13 Kloot Resolution open => no change required
2012-04-01 13:56 Google_Frog Note Added: 0008550
2012-04-01 13:56 Google_Frog Status closed => feedback
2012-04-01 13:56 Google_Frog Resolution no change required => reopened
2012-04-01 14:10 Kloot Note Added: 0008551
2012-04-01 14:11 Kloot Status feedback => closed
2012-04-01 14:11 Kloot Resolution reopened => no change required