Negen99 said:
If i give a guard a weapon in his hands it does not show.
In a critter's script, wield_obj( item_ptr ) makes him hold it.
In another script wield_obj_critter( critter_ptr, item_ptr )
It must be a pointer to the weapon, not its PID, example
item:=create_object(PID_SAWED_OFF_SHOTGUN,0,0);
add_obj_to_inven(Critter,item);
wield_obj_critter(Critter,item);
EDIT: If you are adding the weapon to the critter's inventory manually (in the mapper), then you must do a "view inventory list" and place the weapon in "Item 2" slot (the one on the right side). If it's placed in Item 1 slot the critter won't appear to be wearing it. That is, unless you click the red button to make the weapon the active item.
Also note that critters can only use weapons that they have
animations for.