HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how do i make this?

12-31-2003, 02:55 PM#1
Raptrex
i want to do this-
-when u buy a certain item, it does a certain special effect like...

buy a sword (item)
put sword (special effect) on arm

how do i do this?
12-31-2003, 03:01 PM#2
linkmaster23
well you have to import a sfx for the sword. then you have to base the sword of the Orc Stadard ability. Then for the target attachments you put right hand, and then for the sfx you put the imported weapon. then TADA
12-31-2003, 03:30 PM#3
Raptrex
i want it to be an item not a ability

i have the model i want to use
12-31-2003, 03:41 PM#4
LegolasArcher
Trigger 1:
Code:
Events:
  Unit- Aquires an Item
Condition:
  Item Type Comparison - item being manipulated is equal to <Your Item Here>
Actions:
  Special Effect - Attach <your model> to unit manipulatinting itm at <attachment point>
  Set Variable <Special Effect Array>[effect_num(int variable)]
  Set Custom Value for unit manipulating item to effect_num
  Set Variable effect_num = effect_num + 1

Trigger 2:
Code:
Events:
  Unit- Loses an Item
Condition:
  Item Type Comparison - item being manipulated is equal to <Your Item Here>
Actions:
  Special Effect - Destroy Special Effect <special effect array>[custom value of unit manipulating item]

SOmething like that should work. I havent worked alot with attachments, so Im not positive.
12-31-2003, 05:59 PM#5
Raptrex
wat does the special effect vairable should have like its type and value?
12-31-2003, 08:20 PM#6
Lil Blue Smurf
Couldn't you do something now with the new buff triggers/editor? Like give the item the sword ability (dummy) and the ability has the special effect of the sword attached at the hand? You wouldn't have to do things with triggers that way right? Haven't messed a whole lot with the attachments either though, so I don't know if that would work. See if you can look at the later bonus campaign levels. I think they have the flag on the beastmaster working this way, only it attaches at the head.
01-01-2004, 10:28 AM#7
kodorevithoulis
well there's another way, u canget a metamorphosis like ability to the item and have your unit replaced by another one u imported (e.g. arthas becomes an arthas with frostmourne).
01-01-2004, 10:36 AM#8
Krakou
Take a look here.