• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

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 4
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