Closed pandaro closed 7 years ago
update on this: method CanBuild, that check if a unit can build another unit, require a subject that: in Lua environment is engineUnit:type() in native is engineUnit
engineUnit:CanBuild(unitTtype)
.engineUnit:CanBuild(unitTtype)
and engineUnit.type:CanBuild(unitTtype)
i think we can close this if no more trouble are on the air.
i'm in fixing on bug and fail under lua and native config here there are a function
unit.type:CanBuild(unittype)
that are not more available under the native environment. It's probably my mistake