| 06-19-2004, 05:27 PM | #1 |
Im trying to make a ability that when the unit shoots it at a torch it ether turns the torch into a passive unit so the owner cant see with the torch or to take away the sight of the torch down to 1 but im having problems finding the proper trigger.. it leaves a buff |
| 06-20-2004, 03:49 PM | #2 |
Try using this code: Code:
Melee Initialization
Events
Unit - A unit Is attacked
Conditions
(Unit-type of (Attacked unit)) Equal to Torch (Light)
Actions
Unit - Change ownership of (Attacked unit) to Neutral Passive and Change color
Unit - Set life of (Attacked unit) to 100.00%
-------- or --------
Unit - Replace (Attacked unit) with a Torch (Dark) using The new unit's max life and mana |
| 06-24-2004, 12:03 AM | #3 |
regretfully i tried.. and it didnt work .. =( i did it EXECT way you did it.. added 1 damage to the spell so it actucaly hurts the ward and it failed.. i made a ward of another team and it still didnt work.. thanks for your help |
| 06-27-2004, 07:45 PM | #4 |
I correct myself.. it works but not the way i wanted to.. it requires my unit to actucaly attack the thing so they have to have "ward" as a targetable thing.. when i want it so when they use the spell on it. |
| 07-02-2004, 02:38 PM | #5 | |
Quote:
He showed you the write code that code should work .. man i think you did something wrong with the triggers...well that is an easy code ever in the trigger thing... i would say .. dont write triggers if ya noob to it. try not to make map so... on bnet right now there lots of NOOB makin shi-t maps and released them out make user cuss on it..on the host...! |
| 07-07-2004, 07:24 PM | #6 |
err.. that made no sense.. and some reason the code only worked for if you do a normal attack not if you do a spell or something.. i figured that much out.. but it isnt the way i wanted it to work.. i wanted it so it required a spell on it not a nromal attack.. cause i dont want the player to beable to take out torches without using mana or wood.. as for noobs on bnet.. i will make my map so if edit it just crashes.. i found a map that actucaly has a trigger that does it.. So back to the origiunal question.. can anyone help me with a way to make it so if i use a spell like stormbolt on the ward it would turn it to another team. so far i only get it to work when i attack it normally but that requires the hero to have WARD as targetable allow. and i dont need that =/ |
| 07-07-2004, 08:40 PM | #7 |
you only want it one way so it just turn off? "E:unit-unit takes damage C:Unit type of triggering unit qual to torch A: change ownership of triggering unit to neutral passive" if you dont get it now stop working on your map... |
| 07-07-2004, 08:47 PM | #8 |
Dude, lay of thief =P Mozared |
| 07-08-2004, 02:47 AM | #9 | |
Quote:
|
| 07-08-2004, 09:12 AM | #10 | |
Man... read some FaQ's first or explore some things for yourself... otherwise you'll never learn it. If you use an ability, it would be logical to use the event- a unit starts the effect of an ability (or the others, just something with ability in it). If you don't try to do the work for yourself, then you should stop making triggers. This is such a simple trigger to construct, you could've made it if you read a FaQ. To quote somebody on another Wc3 mapmaking forum: Quote:
|
| 07-08-2004, 10:15 AM | #11 | |
Quote:
I see no reason to not let him try to make his map. In fact I am interested in it since it sounds like it will be a bit like Theif 2, which was a great game for me. Yes there are tons of craptacular maps out there.....and people keep hosting them constantly. They are all ignorant children who wish to brag about a small victory in my mind. Everyone who has played my maps loved them, and usually force me to become there /f friends. Sadly I have yet to see another person host them...perhaps the game length/size has something to do with it. Oh well gotta keep tryin. -Kiradacon |
| 07-08-2004, 09:56 PM | #12 | |
Quote:
you and up to 4 other players play as the thief. your attack and hp is low of course and you must sneak into the castle, disable the "power generators" hit the gate switch and get teh treasure and get back out alive. your speical consist of (As of Right now)(evently all arrows will have a missing rate) NOTE: All USeable Speicals use "Arrows" (Wood) Water Arrow - Turns Torches Off, Also makes it so the reliter cant relite torches for 10 seconds (explain later) Sleep - puts a unit to sleep for a set time.. Heros are half of normal unit (30 max hero, 60 max unit) Cripple - Slows atk rate, movement Evasion - Dodge Permanent Invisible (Explain in alittle) The Next group of players will be the Guards of the Castle Which consist of a few selected units Torches Allow the guards to see the thieves can be turned off.. must be relit to turn back on Magic Laterns Always Lite Till Power Generators are Destroyed Typical Guard Low Armored Guard, Low Hp, Low Attack Damage, High Rate. Speical: None: Dogs (Future Verisons) Typical Watch Dogs, Very Low HP, Low Attack, High Rate. Speical: See Invis Elite Guards Heavely Armored, Low Attack Rate, High Hp, High Damage. Spiecal: Critical Torch Carrier No Armored, Low HP, Low Attack/Rate, Speical: Carries Torch to Relite the other Torches, Also can catch Thieves on Fire for alittle. Peasants Typical Peasants, Cant Build, Low Attack, Low Hp Heros: Captain Guard Healing Wave - Heals Fellow Soldiers Critical Strike - 2x -> 4x Devotion Aura +1 - +5 |
