| 05-21-2004, 11:34 PM | #1 |
Untitled Trigger 001 Copy Events Unit - A unit Acquires an item Conditions (Item-type of (Item being manipulated)) Equal to BloodSword2 Actions Special Effect - Create a special effect attached to the right hand of (Triggering unit) using war3mapImported\lame.mdx Ok That Works But When i do this Untitled Trigger 001 Copy Copy Events Unit - A unit Loses an item Conditions (Item-type of (Item being manipulated)) Equal to BloodSword2 Actions Special Effect - Destroy (Last created special effect) It Won't Won't Remove The Attachment From The Char :/,Ya I know Its a noob ? but ya Help me please :) :8 |
| 05-21-2004, 11:53 PM | #2 |
You might want to base it off the sphere ability. Give the modified sphere ability to the item. This way, when the unit picks up the item, it'll get the attachment, but not when it puts it down. Plus, it requires no triggers! |
| 05-22-2004, 12:01 AM | #3 | |
Quote:
|
| 05-22-2004, 12:06 AM | #4 |
To do it your way, you should be able to remove the special effect if you set it to a variable and then remove SpecialEffect[X]. |
| 05-22-2004, 12:07 AM | #5 |
Yes, thats another way, but you may encounter a problem where more than one person has the item... So if the item's good, make it unique. |
| 05-22-2004, 12:10 AM | #6 |
Orc battle standard. The reason that SFX wont remove is because last created special effect is getting overwritten. You have to save the SFX into a variable so it can be removed later. I would use a special effect array. Call it sfxBloodSword Unit gets a bloodsword Special Effect - Create a special effect attached to the right hand of (Triggering unit) using war3mapImported\lame.mdx sfxBloodSword[player number of (owner of (hero maniuplating item))] = last created special effect Unit drops a bloodsword remove sfxBloodSword[player number of (owner of (hero maniuplating item))] from (hero manipulating item) |
| 05-22-2004, 12:32 AM | #7 | |
Quote:
|
| 05-22-2004, 12:40 AM | #8 |
Doesn't Seem To Work :( |
| 05-22-2004, 01:31 AM | #9 |
Well Does This Work Match What You Said Flame? Untitled Trigger 001 Copy Events Unit - A unit Acquires an item Conditions (Item-type of (Item being manipulated)) Equal to BloodSword2 Actions Special Effect - Create a special effect attached to the right hand of (Triggering unit) using war3mapImported\lame.mdx Set sfxBloodSword[(Player number of (Owner of (Hero manipulating item)))] = (Last created special effect) Untitled Trigger 001 Copy Copy Events Unit - A unit Loses an item Conditions (Item-type of (Item being manipulated)) Equal to BloodSword2 Actions Special Effect - Destroy sfxBloodSword[(Player number of (Owner of (Hero manipulating item)))] If It Is What You Said Well It Doesn't Work For Some Reason |
| 05-22-2004, 11:50 AM | #10 |
you could try using DT4a the RPG engine linked in my signature, I can assure you it does work. But it might be too much for your map. |
| 05-22-2004, 04:41 PM | #11 |
uhhh I tryed that lol Ya it is :( |
| 05-22-2004, 05:23 PM | #12 |
o and Since It says its impossble to import this with a Save/load thinige Well :( |
| 05-22-2004, 08:14 PM | #13 |
I got it now thankz to you guyz :) |
