Is our esteemed
Bong requesting an audience?
I was wondering if it applies to enemy/allied (or both) units? It seems to apply to all units but I can not really tell.
Only enemy units by default, unless you set the allowCrushingAlliedUnits mod-rule. I may also add an explicit allowCrushingEnemyUnits if desired.
Both might be usefull but primary use would probally be "vehicles running over enemy infantry while friendly infantry just gets pushed aside (as currently)"
Will that be possible?
yes
Also it does not seem to require the (expensive?) watchUnit-Unit-collision function thing?
Crushing happens just before the events are sent, you do not need to listen to them.
Question: Can we have a specialised feature that is only called for units, once they get stomped? Want to make a 2dscaled version of mine :D
You can spawn any feature you want by registering for and reacting to the UnitUnitCollision callin, which tells you whether a collidee was crushed.
Of course, that feature might then itself be crushed, so you would probably want it to be non-blocking.
Bonuspoints if you can define a piecewere the "rolled" over unit would be moved towards, before feature converted. Would allow for controlled "vannishing" of infantry at exact spot..
nein (too messy at present, just use SetFeaturePosition und so weiter)