LIMB TEXTURE NAME This command will return the internal name of the limb texture.
Syntax
    Return String=LIMB TEXTURE NAME(Object Number, Limb Number)
    Return String=LIMB TEXTURE NAME(Object Number, Limb Number, Texture Stage)
Parameters
    Object Number
Integer The object number
    Limb Number
Integer The limb number
    Texture Stage
Integer This value is an integer number such as 1.
Returns
This command will return the internal name of the limb texture
Description
The optional parameter will let you specify the texture stage of the limb you have specified.
Example Code
    backdrop off : cls : sync on : sync rate 0 : hide mouse:cls 0

    ObjectNumber=1

    LimbNumber=1

    load object "models\model.x",ObjectNumber

    print "LIMBS"

    print "exist:";limb exist(ObjectNumber, LimbNumber)

    if limb exist(ObjectNumber, LimbNumber)=1

    print "name$:";limb texture name(ObjectNumber, LimbNumber)

    endif

    while mouseclick()=0

    sync

    endwhile

    if object exist(ObjectNumber)=1 then delete object ObjectNumber

    end
See also
BASIC3D Commands Menu Index