Lua_Handle - beyond-all-reason/RecoilEngine GitHub Wiki

UnitFeatureCollision(number colliderUnitId, number collideeFeatureId)

This callback is triggered whenever a unit collides with a feature.

Note: this function used to allow a bool to be returned. When set to true it would prevent the engine from processing the collision. This is now deprecated.

UnitUnitCollision(number colliderUnitId, number collideeUnitId)

This callback is triggered whenever a unit collides with another unit.

Note: this function used to allow a bool to be returned. When set to true it would prevent the engine from processing the collision. This is now deprecated.