Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Limb Code

Author
Message
TDP Enterprises
20
Years of Service
User Offline
Joined: 28th Mar 2005
Location: on or in front of my computer
Posted: 19th May 2005 03:24 Edited at: 19th May 2005 03:27
i am in need a a piece of code to make into a function. i need code that will be able to know how many limbs are in the object, then make invisible boxes around those limbs. The boxes has to be the same size, be at the same angle, and positioned where the limbs are. If anyone can help, it would be great.
Sven B
20
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 22nd May 2005 21:33
To get the nr of limbs:

perform checklist for object limbs
nr_of_limbs = checklist quantity()

The rest is up to you:
limb exist()
limb offset x()
limb offset y()
limb offset z()
limb angle x()
limb angle y()
limb angle z()
limb position x()
limb position y()
limb position z()
limb direction x()
limb direction y()
limb direction z()
limb texture()
limb visible()
limb texture name()

But no limb size...

Login to post a reply

Server time is: 2025-05-22 23:48:10
Your offset time is: 2025-05-22 23:48:10