Attaching Items: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Fidcal (talk | contribs)
No edit summary
Fidcal (talk | contribs)
No edit summary
Line 3: Line 3:
Use [[bind]] to bind entities to other entities, eg, a flame to a moveable candle; a notice on a door; a purse to a guard's belt.
Use [[bind]] to bind entities to other entities, eg, a flame to a moveable candle; a notice on a door; a purse to a guard's belt.


Use [[bindToJoint]] in addition to [[bind]] to specify which joint.
Use [[bindToJoint]] in addition to [[bind]] on AI's to specify which joint of the body to attach to.


Use [[bindOrientated]] in addition to [[bind]] so the bound item doesn't turn with the item it is bound to but remains pointing in its start orientation.
Use [[bindOrientated]] in addition to [[bind]] so the bound item doesn't turn with the item it is bound to but remains pointing in its start orientation.

Revision as of 06:57, 25 April 2009

General placeholder:

Use bind to bind entities to other entities, eg, a flame to a moveable candle; a notice on a door; a purse to a guard's belt.

Use bindToJoint in addition to bind on AI's to specify which joint of the body to attach to.

Use bindOrientated in addition to bind so the bound item doesn't turn with the item it is bound to but remains pointing in its start orientation.

Use def_attach1 for weapons TODO

Use def_head to attach heads TODO