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 Professional Discussion / GET LIMB BY NAME Fail

Author
Message
Daniel wright 2311
User Banned
Posted: 24th Nov 2011 01:06 Edited at: 24th Nov 2011 01:11
Limb number = GET LIMB BY NAME( 4,firespot)

Dark basic pro does not understand this code from the matrix dlls.

And here are the dirrections for this code in the help files.

Limb number = GET LIMB BY NAME( Object number, Limb name )
Limb number = GET LIMB BY NAME( Object number, Limb name, Case )
Limb number = GET LIMB BY NAME( Object number, Starting Limb, Limb name )
Limb number = GET LIMB BY NAME( Object number, Starting Limb, Limb name, Case )

my signature keeps being erased by a mod So this is my new signature.
WickedX
17
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 24th Nov 2011 02:47 Edited at: 24th Nov 2011 02:48
1) A variable cannot have a space.

2) The correct syntax is Limbnumber = GET LIMB BY NAME(4, "firespot").
Daniel wright 2311
User Banned
Posted: 24th Nov 2011 02:58
i tryed

Limbnumber = GET LIMB BY NAME(4, "firespot")

in the first place and it still does not work

where is my space??

my signature keeps being erased by a mod So this is my new signature.
WickedX
17
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 24th Nov 2011 03:12 Edited at: 24th Nov 2011 03:14
Quote: "1) A variable cannot have a space."


Sorry, I got that from the first line on your first post.

Works here, I get limb number 39 using the FPSC ww2 officer model. Here's my simple code to try.



If that doesn’t work, then I don't know what the problem could be.
Daniel wright 2311
User Banned
Posted: 24th Nov 2011 03:16
that worked for me, i must have done something wrong and what ever it was i cant figure it out,lol, any how.

than you

my signature keeps being erased by a mod So this is my new signature.
WickedX
17
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 24th Nov 2011 03:20
No problem. Glad you have it sorted out

Login to post a reply

Server time is: 2026-07-10 21:42:02
Your offset time is: 2026-07-10 21:42:02