Sorry if this question is a pain to all you professionals out there but having spent last 3 hours on this and despite having searched the forums I can't get this right!
I have created a sprite as below and created an entitybox but although I can pick the sprite it only sort of works in that there are parts of the rectangle which don't register the pick. Unfortunately the parts "not picked" appear to be random each time I run the programme. I have tried all sorts of coordinates on the entity box but none work properly.
Any guide as to what the cords should be please?
global help=CreateSprite(cam)
helptex=LoadTexture("helpparchment.jpg")
EntityTexture help,helptex
ScaleSprite help,15,10
PositionEntity help,0,8,30
entitypickmode help,3
entitybox help,-15,-10,0,30,20,1
; the sprite help has cam as parent
I have created a sprite as below and created an entitybox but although I can pick the sprite it only sort of works in that there are parts of the rectangle which don't register the pick. Unfortunately the parts "not picked" appear to be random each time I run the programme. I have tried all sorts of coordinates on the entity box but none work properly.
Any guide as to what the cords should be please?
global help=CreateSprite(cam)
helptex=LoadTexture("helpparchment.jpg")
EntityTexture help,helptex
ScaleSprite help,15,10
PositionEntity help,0,8,30
entitypickmode help,3
entitybox help,-15,-10,0,30,20,1
; the sprite help has cam as parent