Warcraft III resources & community, 2003–2006 · archived

Idems

10 posts
#1

Idems

just wondering how do you make a hero pick up a idem and a sword just pops out of the hand and if u drop it, it disappears.
#2
Some items put special effects onto units (for example, the orbs). Just upload a sword model attachment from the models section and assign that as the attached visial effect for that item via the object editor.
-VGsatomi
#3
Or you can simply use Special Effect actions:

Special Effect - Add (Your sword model) to the "right hand" of (unit picking up item).
Set HeroWeapon = (Last created special effect).

IF you want to remove weapon, use

Special Effect - Destroy HeroWeapon.

It is more complicated way, but it is good to know all ways ;)
#4
Naw, its much simpler just to type one line of text in the object editor and avoid using triggers and variables when you can when doing item-related effects.
-VGsatomi
#5
thanks
#6
And about that thing of variables; i don't like the idea. Why? Because it could lead into a great bugg with or without variables. If each unit that picks a weapon receives a variable for storing information, then a variable would be needed for every unit or hero of the map.

-Rui
#7
sure you are right, and its surely harder to make these triggers i have tested it and without some help from another map whihc has this wield weapon system i wouldnt be able to do those triggers by myself. but on the other side i dont understand really what vgsatomi said, or i dont find the right space where i should write these words in.. and what words?!

Question: vgsatomi can u explain me WHERE should i writee the words in.. exactly the line and how its called, and WHAT should i write in?! two questions, if they qill be answered i will be happy and see much clearer.. (i know my english is very bad, but hope u know what i mean) ;)
#8
I could do it without problems, so I thought you too, but if not... :?
#9
Question: vgsatomi can u explain me WHERE should i writee the words in..


Basically every item has an ability. Every ability has an effect. So when you assign an item an ability, go to the item ability section in the object editor. Under your ability there will be a a few lines for attachments. That is where you can assign where and what to attach.

For referance to what I'm talking about, look at the orb item effects (orb of fire, orb of frost, ect).
-VGsatomi
#10
wow really simple, thx for it ;)