You can not manually flip an entity, but you can add this code in the script of any entity to flip it with a FLIP node. Only some entities have this code in Aquaria.
function postInit(me)
f = entity_getNearestNode(me, "FLIP")
if f ~= 0 and node_isEntityIn(f, me) then
entity_fh(me)
end
end
If the entity is moving, you can just use :
entity_flipToVel(ent)
in the update() function to flip it according to it's direction
You can also use this in the init() so the entity will be randomly flipped when it is created :
if math.random(2) == 2 then
entity_fh(me)
end
Of course if you modify an entity's script, you have to copy it in your mod first.