HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Weapon trigger

11-14-2004, 03:24 AM#1
I2aging_Rapid
I got some weapons and made a trigger for my heroes to hold them, but it's too slow and i want to see if any of u good trigger maker can give me a better trigger

What it should do:
when a unit abtains an item(example: claws of attack)
then give a special effect on the unit that has the item on owner's hand the hand.
11-14-2004, 04:11 AM#2
Dalten
Quote:
Originally Posted by I2aging_Rapid
I got some weapons and made a trigger for my heroes to hold them, but it's too slow and i want to see if any of u good trigger maker can give me a better trigger

What it should do:
when a unit abtains an item(example: claws of attack)
then give a special effect on the unit that has the item on owner's hand the hand.

In what way is this too slow?
11-14-2004, 08:06 PM#3
Rafael Br
You can't just attach the special effect on the item abillity, like an orb?
11-17-2004, 04:39 PM#4
I2aging_Rapid
The trigger that i did thats a while to make the special effects on and then takes awhile to remove the special effects. mine is prolly different then others cuz "everquest 2" weapon effect gos 3 times faster then mine.
11-17-2004, 05:24 PM#5
DarkMage
Create a custom skill based off Item Damage Bonus and change it so it adds 0 damage then go to Target effect (I think thats right) and add the sword model there, The on the target attackment point add the word hand and right (Or left) Then add it to your sword item. When you pick up the sword your dude will have it and when you drop it it will go away. The speed that it goes away depends on the death animation time. Do the same for your axes and other weapons.

This is how mostly all maps add weapons to units.
11-17-2004, 08:06 PM#6
Demon-Reaper
Quote:
Originally Posted by DarkMage
Create a custom skill based off Item Damage Bonus and change it so it adds 0 damage then go to Target effect (I think thats right) and add the sword model there, The on the target attackment point add the word hand and right (Or left) Then add it to your sword item. When you pick up the sword your dude will have it and when you drop it it will go away. The speed that it goes away depends on the death animation time. Do the same for your axes and other weapons.

This is how mostly all maps add weapons to units.

wouldnt it just be better to ask someone for a jass code it might run more faster.
11-17-2004, 08:13 PM#7
Dead-Inside
No it wouldn't be smoother or run better. It'd run worse and it wouldn't be worth the effort.
11-18-2004, 02:31 AM#8
Dalten
Quote:
Originally Posted by Dead-Inside
No it wouldn't be smoother or run better. It'd run worse and it wouldn't be worth the effort.

You are using custom models for the weapons right?

If so, then they most likely don't have a birth or death animation. I think warcraft models are given a default 3 second birth and death animations unless the model is set to be otherwise. You'll probably have to get the person who made the models or someone else to add such an animation, even if it's nothing other than making the item appear or disappear in an instant.

Try you're trigger out with an attached weapon like the griffon hammer, it'll appear instantly and disipitate in an electric pulse. If that happens instantly, then your trigger is fine and your models definately need proper animations to fix your problem.