1.7.4 Pickline Documentation Wrong
by Unk · in Torque Game Builder · 01/23/2009 (2:10 pm) · 0 replies
The included pickline documentation for TGB v1.7.4 is a little wrong.
It says:
pickLine(startx/y, endx/y,[groupMask],[layerMask],[showInvisible?],[excludeObject])
It should say:
pickLine(startx,starty,endx,endy,...)
In order to get it to work you need to specify startx, starty, endx, endy not startx/y,endx/y.
Also, some better documentation on setting the masks could be helpful since if you set them wrong you won't get any results.
It says:
pickLine(startx/y, endx/y,[groupMask],[layerMask],[showInvisible?],[excludeObject])
It should say:
pickLine(startx,starty,endx,endy,...)
In order to get it to work you need to specify startx, starty, endx, endy not startx/y,endx/y.
Also, some better documentation on setting the masks could be helpful since if you set them wrong you won't get any results.
About the author