• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Sword_1H_Short_A_02

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
Contents

Sword_1H_Short_A_02 (Model)

Level 3
Joined
Feb 18, 2006
Messages
11
how can you attach it to models?

ok, presume your using the human model posted before this. What you need to do is import both the sword and human in your map along with the correct skins etc. Once you have done that there are a few ways to get the sword on the model, depending on whether its a hero or normal unit etc.

Lets say you just want to put the sword straight into the human's hand (not as a seperate item). You'll need to get the trigger editor up. Then code something like this (sorry don't have worldeditor on this comp so can't remember exact code)

Code:
Event: Map Initialisation
Action: Special Effect - Create Special Effect "imported/wc3/ShortSword" (just use the interface to select it) to attachment "righthand" (no quotes) of unit00 (use the select unit button or set a unit type manually)

sorry that didn't really make sense[/code]
 
Top