tonyg
Junior Member
Posts: 73
|
Post by tonyg on Apr 8, 2005 13:13:29 GMT
The showbounding% parm of HUD_DrawCollisionShapes causes 'Too many Parameters'. I'm using... HUD_DrawCollisionShapes (image1,255,0,0,1) <edit> Checked the code and HUD_DrawCollisionShapes function simply doesn't accept a showbounding% parm. The function code doesn't refer to anything that looks relevant either. There's an error (unrelated) where HUD_DrawCollisionShapes checks...
If Col\ObjID = ObectID Or ObjectID = 0 Then
so ObectID needs to be ObjectID. <edit2> and my fix is to change HUD_DrawCollisionShapes to...
Function HUD_DrawCollisionShapes (ObjectID%=0, R%=255, G%=255, B%=255, TG_bound%=0)
and just before the 'end function' add...
If TG_bound HUD_SetObjectBorder(objectid,1,r,g,b,1.0)
Hope it helps.
|
|
|
Post by Xpressive on Apr 17, 2005 6:13:27 GMT
You're right - I removed the showBounding stuff to speed things up and did not update the manual afterwards, sorry.
|
|