Quote:
Originally Posted by ffcmike
While using a GUI Control is ideal for stuff related to clicking, with normal displays you could try something such as this:
PHP Code:
if( mousescreenx in <temp.d.x, temp.d.x + temp.d.dwidth> && mousescreeny in <temp.d.y, temp.d.y + temp.d.dheight> )
|
wouldnt it have to be like the following?
PHP Code:
if(
mousescreenx in |temp.d.x, temp.d.x + temp.d.dwidth| &&
mousescreeny in |temp.d.y, temp.d.y + temp.d.dheight|
)
if not, what would the < > 's do exactly in this case (i know that they can be used for smaller, bigger checks but wouldnt make sense in here like i am used to it)?