Created by Bryan Draffen aka Skillator
email = gandolf@vci.net 
Free - free for all GameStudio projects, without restrictions

//////////////////////////////////////////////////////////////////////////////////////////////////

Hi,

This script is for attaching weapons Etc to characters without having to animate the weapons.
Comes in handy for having multiple characters/weapons.

The position of the weapon in MED is a key element. If its a sword for example handle needs
to be near the origin, and the blade pointing forward. I move the sword around after testing it
in-game a few times to get it right.


For an example copy sword2.mdl into the work folder. Create a backup of office.wdl
and replace, in the action patrol prog the line  
ent_create(mace_mdl,nullvector,attach_entity);
with
create(<sword2.mdl>,nullvector,vertex_attach);
and copy vertex_attach after the end of that action.

