LinePick...argh

Blitz3D Forums/Blitz3D Beginners Area/LinePick...argh

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.

You mean, if no mesh is picked, you don't want to place any entities, right?
Then I think this code would do that:
LinePick ccx, 20, ccz, 0,-9000,0
If PickedEntity() = terrain Then
  cccopy = CopyEntity( gem )
  PositionEntity cccopy, ccx,PickedY()+1.5, ccz
End If