| 10-08-2004, 10:12 PM | #1 |
I will start to tell english is not my native language :\ ... Anyway... there is something that is really annoying, it is when you create a weapon (Special Effect) on a unit, and you want to change it to another weapon... Then is the only way (I see), to destroy the Special effect and create an new one... But... It takes some secs before the old special effect is destroyed so in these secs he got two weapons... So... is there another way to do it...?? :( - Valle ![]() |
| 10-08-2004, 10:25 PM | #2 |
it takes timer to remove a special effect?!? what do you mean with weapon, is it like a sword or some glowy ball? If it is a sword it should just remove atm u call to remove it, be sure to remove before you create the second weapon |
| 10-08-2004, 10:39 PM | #3 |
How to be sure..??? :\ and yes its a Sword, Bow, Axe thing.. you know... downloaded... and im using special effect - destroy (Variable) - Valle ![]() |
| 10-08-2004, 10:42 PM | #4 |
That's not good. It shouldn't take time to remove it. What kind of computer are you running on? Right click your trigger title and select copy as text and post it here. |
| 10-08-2004, 10:46 PM | #5 |
Weapon Destroy Events Unit - A unit Loses an item Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Item-type of (Item being manipulated)) Equal to Sturdy War Axe Then - Actions Special Effect - Destroy WeaponSE[1] Else - Actions |
| 10-08-2004, 10:54 PM | #6 |
Hmmm, that should't lag to bad. You should take a look at your Special Effect line though, will you always be sure that that will be the right special effect to remove? Can you also post the trigger where you display the item? |
| 10-08-2004, 10:58 PM | #7 |
The problem is that it take few secs before it get destroyed... is there a way to destroy it in another way...? - Valle ![]() |
| 10-08-2004, 11:02 PM | #8 |
Try this: Code:
Weapon Destroy
Events
Unit - A unit Loses an item
Conditions
(Item-type of (Item being manipulated)) Equal to Sturdy War Axe
Actions
Special Effect - Destroy WeaponSE[1] |
| 10-08-2004, 11:03 PM | #9 |
full triggers...: Use Sturdy War Axe Events Unit - A unit Begins casting an ability Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Ability being cast) Equal to Study War Axe Then - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions RightHandFull Equal to False Then - Actions Unit - Add |cffFF8040Weapon:|r Sturdy War Axe (+5) to (Casting unit) Set RightHandSkill = |cffFF8040Weapon:|r Sturdy War Axe (+5) Special Effect - Create a special effect attached to the right hand of (Casting unit) using war3campImported\MasterAxe2.mdx Set RightHandSE = (Last created special effect) Set RightHandFull = True Else - Actions Special Effect - Destroy RightHandSE Unit - Remove RightHandSkill from (Casting unit) Unit - Add |cffFF8040Weapon:|r Sturdy War Axe (+5) to (Casting unit) Set RightHandSkill = |cffFF8040Weapon:|r Sturdy War Axe (+5) Special Effect - Create a special effect attached to the right hand of (Casting unit) using war3campImported\MasterAxe2.mdx Set RightHandSE = (Last created special effect) Set RightHandFull = True Else - Actions - Valle ![]() |
| 10-08-2004, 11:17 PM | #10 |
That is true, above. |
| 10-08-2004, 11:27 PM | #11 | |
Quote:
|
| 10-08-2004, 11:33 PM | #12 |
Argh... okææ thx couldnt understand why it didnt work... thx again... - Valle ![]() |
