UnitBumped()
Posted: 04 Mar 2009, 03:17
Lua callin. Would return the unitID that has bumped into something, and the ID of the Unit or Feature bumped into.
Could be used for all sorts of physical interactions between Units- everything from physics (pushing) to knocking over Units used as trees, etc.
I'm currently using some code that's cyclical in nature, it's not terribly expensive, but I think that this might be a more effective way of handling such things.
Could be used for all sorts of physical interactions between Units- everything from physics (pushing) to knocking over Units used as trees, etc.
I'm currently using some code that's cyclical in nature, it's not terribly expensive, but I think that this might be a more effective way of handling such things.