Is there a function to reutn whether an entity is visible used in conjunection with HideEntity() and ShowEntity()? The closest I could find in the manual was EntityVisible() but that returns whether the entity is visible to the camera, not whether or not it's been turned off.
How to determine if entity is hidden or not
Blitz3D Forums/Blitz3D Beginners Area/How to determine if entity is hidden or not No command as such but you could set a flag when an entity is hidden or shown and then check this value. If the entity is a type you could add a field for a visible flag.
Yes I use flags all the time for example
HideEntity ship
shiphidden = true
if shiphidden then ...do something
HideEntity ship
shiphidden = true
if shiphidden then ...do something
Can you see it? If not, it's hidden!