Code: Select all
Set{Unit,Feature}Blocking(
number objectID,
boolean isBlocking,
boolean isSolidObjectCollidable
[, boolean isProjectileCollidable
[, boolean isRaySegmentCollidable
[, boolean crushable
[, boolean blockEnemyPushing
[, boolean blockHeightChanges ]]]]]
)
I would like to set parameters which are late in the signature without overriding the preceding blocking types. I know that I could feed the values of Get{Unit,Feature}Blocking back into the function but that is pretty ugly. Is there currently a way to only set one of the types of blocking?
If there is not then perhaps instead of this massive signature the function could take keys or a table. The parameters for Spring.MoveCtrl.SetGroundMoveTypeData is a good example.