Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Attach to bone :S
Attach to bone :S [message #187576] Sun, 29 January 2006 01:37
theplague is currently offline  theplague
Messages: 261
Registered: May 2004
Karma: 0
Recruit
Here is the code i use:
rlogo = Commands->Create_Object_At_Bone(obj, "Invisible_Object", "K_R UPPERARM");
llogo = Commands->Create_Object_At_Bone(obj, "Invisible_Object", "K_L UPPERARM");
Commands->Attach_To_Object_Bone(rlogo,obj,"K_R UPPERARM");
Commands->Attach_To_Object_Bone(llogo,obj,"K_L UPPERARM");
Commands->Set_Model(rmedal, "p_doubdam");
Commands->Set_Model(lmedal, "p_doubdam");
i wanted it to attach to the upper arms, but no matter what bone name i try, it always ends up on the butt...

here are the bone names i have:
C_ENO_H
C_ENO_
WORLDBOX
K_R THIGH
K_R CALF
K_R FOOT
K_L THIGH
K_HEAD
K_L CALF
K_L FOOT
K_PELVIS
BOUNDINGBOX
K_ABDOMEN
K_CHEST
K_NECK
K_R UPPERARM
K_R FOREARM
K_R HAND
K_L UPPERARM
K_L FOREARM
K_L HAND
K_HEAD

can someone tell me what i'm doing wrong? cos this is realy anoying...


http://users.tpg.com.au/ling44/av_firefox.gifhttp://users.tpg.com.au/ling44/av_rg.gif

[Updated on: Sun, 29 January 2006 01:37]

Report message to a moderator

Previous Topic: Bot drop Tutorial
Next Topic: scripts.dll 2.2.3 progress report
Goto Forum:
  


Current Time: Fri Mar 29 08:23:30 MST 2024

Total time taken to generate the page: 0.01017 seconds