|
|
ent_bonehandle - invalid function arguments
#457670
01/26/16 11:31
01/26/16 11:31
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
OP
Senior Expert
|
OP
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
long MFBoneHandle = ent_bonehandle(my,"Bone2",0);
printf("%d",(int)MFBoneHandle);
I'm getting an "invalid function arguments" error, after that it prints "3" to the screen which I guess is the correct handle (as I can use it to reset a bone's position). When I use a regular string it works without error message:
str_cpy(str_tmp,"Bone2");
long MFBoneHandle = ent_bonehandle(my,str_tmp,0);
printf("%d %s",(int)MFBoneHandle,_chr(str_tmp));
Nothing of importance and it may even be my misunderstanding but I thought I should post it here.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual Check out my new game: Pogostuck: Rage With Your Friends
|
|
|
|