| 01-05-2003, 04:16 PM | #1 |
I want to make item that is a weapon. So when you pick up the item and put it in you invetory it always produces a special effect on the hand of the heroe untill you throw it away is it possible and how do you make that? |
| 01-05-2003, 06:13 PM | #2 |
this is possible let's see... Trigger: I got the item Events: Unit - A unit owned by (Owner of (Triggering Unit)) Acquires an item. Conditions: (Item-type of (Item being manipulated)) Equal to YourWeapon Actions: Special Effect - Create a special effect attached to the right hand of (Triggering unit) using yourpathandfile.mdl -------------------- Trigger: drop item Events: Unit - A unit owned by (Owner of (Triggering Unit)) Loses an item. Conditions: (Item-type of (Item being manipulated)) Equal to YourWeapon Actions: Special Effect - Destroy (last created special effect) --------------- If you want to do more of this items it's easy.. you just have to store the value of the special effect in a variable of type: special effect to delete it later. |
| 01-05-2003, 07:20 PM | #3 |
great thx:D |
| 01-05-2003, 07:41 PM | #4 |
well... i made this but my mom was on the phone so i couldnt post it.... but will still post it because ht eevent for his wouldnt work... the only bug is that it only supports the last item picked up right now... but anyways here |
| 01-06-2003, 12:36 AM | #5 |
Yeah, I have done something similar to this (take a look at this post ). The problem is that you can only attach one animation to a unit, but I think you can store a point variable, and then attach the animation to this point, but I haven't tried this yet. |
