Page 1 of 1

[2.0.66] on_pre_build flip_horizontal and flip_vertical

Posted: Tue Sep 09, 2025 1:53 am
by hgschmie
for a mod, I intercept the "on_pre_build" event so that I can correct information if a blueprint is placed that contains some of my entities. That event contains the direction in which all following entities are built (direction) and also flags whether the blueprint has been flipped horizontally or vertically.

When the blueprint is not rotated (direction == 0), then pressing "H" flips the graphic horizontally and the "flip_horizontal" flag is set.
When the blueprint is rotated 90ยบ (direction == 4), then pressing "H" still flips the graphic horizontally, but now the "flip_vertical" flag is set.

Is that intentional?