Always-in-front entity?

Blitz3D Forums/Blitz3D Programming/Always-in-front entity?

Yes, use EntityOrder with a negative value

i.e. EntityOrder MyEntity,-1

the lower the number the more in front the entity becomes so

EntityOrder ent1,-1
EntityOrder ent2,-2

means both ent1 and ent2 will be in front of everything else plus ent2 will also always be draw in front of ent1.

This is useful for things like a 3D on screen HUD.