my code is kinda long and very dirty Even sometimes have hard time understanding it myself. I am just interested in the overall idea of how this would be done, some pseudocode would be good enough.
basically i have some buttons loaded to the inside of the loop. I have them all in functions which have all the stuff that needs to be done when a certain buttton is pressed. I need one button when its pressed to make a certain objects limbs of another object.
so
sync
all my global variables
load all of the buttons()
setup stuff() rem lights camera position and stuff
do
button 1()
button2()
button3()
------
button 5() rem this is the buttoni need to turn objects into limbs
sync
loop
function button 1
do stuff
function button2
do stuff
blah
blah
function button five
code that triggers the button
if button five triggered =1
used limb=1
while limb exist=1(objnum2)
usedlimb =used limb+1
endwhile
freelimb=usedlimb+1
make mesh from object meshnum,objnum
add limb objnum2,freelimb,meshnum
this is kinda what my code looks like, a simplified version. i think i got all the limbnum stuff rightm, but i guess the problem is i got it in the loop. so it dosent work.
dont hate people who rip you off,cheat and get away with it, learn from them