EntityInView with types

Blitz3D Forums/Blitz3D Programming/EntityInView with types

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi Mortiis,

Thanks for that, However, I still get the last ship in the list detected,

The little bit of code I placed in the For next loop was,

If EntityInView( S\SIMAGE, camera ) = True Then
Shipseen=1
Else
shipseen=0
End If

The S\SIMAGE element in the type holds a sprite as below,

S\SIMAGE = LoadSprite(SIMAGE$,7)

Not sure why its not working...I will have another go...