PoLlama Forums  

Go Back   PoLlama Forums > WarCraft > World Editor Help

Reply
 
LinkBack Thread Tools
Old 02-10-2008   #1
 
Join Date: Feb 2008
Posts: 3
Bluebomber is an unknown quantity at this point
Trigger for specific unit if picked...

Ok so here is the deal.

I have a hero "Mur'cupine" Said hero can be picked by any player at the start of the game and there can be only one murcupine at a time.

Mur'cupine has an ability. Burrow. Keeps him underground until the user decides to bring him up.

I tried to make it through abilities that when he was below ground he would regain mana faster like a brilliance aura but it just isn't really possible.

In my other thread someone mentioned making a trigger for it. Ok I have tried like crazy but I can't figure it out.

so I need a trigger that will only work if someone has actually picked murcupine and will only trigger when he uses the ability burrow. I need it to remove mana regen when he comes back up and here's the kicker I need it to scale 1.00 - 1.5 - 2.0 - 2.5 - 3.0 for the 5 different levels of the ability and activate the correct amount of regen based on the level of the ability.

Thanks for the help
-BB
Bluebomber is offline   Reply With Quote
Old 02-10-2008   #2
 
King_Leopold's Avatar
 
Join Date: Apr 2007
Posts: 2,436
King_Leopold is a jewel in the roughKing_Leopold is a jewel in the roughKing_Leopold is a jewel in the rough
Re: Trigger for specific unit if picked...

make an ability with the mana regeneration, base it off the fountain of mana, and have a trigger that goes sorta like

Even:
Unit begins casting an ability
Condition:
Ability being cast = burrow
Actions:
Add Ability Mana regeneration to triggering unit
Set level of mana regeneration to level of Burrow for triggering unit

Go to this link, now. [Only registered and activated users can see links. ]
King_Leopold is offline   Reply With Quote
Old 02-11-2008   #3
 
Join Date: Feb 2008
Posts: 3
Bluebomber is an unknown quantity at this point
Re: Trigger for specific unit if picked...

Quote:
Originally Posted by King_Leopold View Post
make an ability with the mana regeneration, base it off the fountain of mana, and have a trigger that goes sorta like

Even:
Unit begins casting an ability
Condition:
Ability being cast = burrow
Actions:
Add Ability Mana regeneration to triggering unit
Set level of mana regeneration to level of Burrow for triggering unit
I'm the noob so correct me if I am wrong but in your code when the hero unburrows the mana regen stays and doesn't go away.

I guess I could just set another trigger to remove it? do triggers work like that?

thanks
-BB
Bluebomber is offline   Reply With Quote
Old 02-11-2008   #4
 
King_Leopold's Avatar
 
Join Date: Apr 2007
Posts: 2,436
King_Leopold is a jewel in the roughKing_Leopold is a jewel in the roughKing_Leopold is a jewel in the rough
Re: Trigger for specific unit if picked...

yea, youd need a second trigger for when it unburrows

Go to this link, now. [Only registered and activated users can see links. ]
King_Leopold is offline   Reply With Quote
Old 02-11-2008   #5
 
MrApples's Avatar
 
Join Date: Sep 2006
Location: Your Mom
Posts: 2,241
MrApples has a spectacular aura about
Re: Trigger for specific unit if picked...

Burrow requires a second unit, can you have better mana regen on that unit?
MrApples is offline   Reply With Quote
Old 02-18-2008   #6
 
SKuLL09's Avatar
 
Join Date: Feb 2008
Posts: 10
SKuLL09 is an unknown quantity at this point
Re: Trigger for specific unit if picked...

give the burrowed unit IN OBJECT EDITOR mana regen ability, and like leo said, set it to the same level as the other unit when it burrows, like leo has in his trigger

shouldn't that work?

Last edited by SKuLL09; 02-18-2008 at 05:12 PM. Reason: "IN OBJECT EDITOR"
SKuLL09 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unit editor basic guide Halakbalakbalak Submit a Tutorial [World Editor] 1 10-19-2007 02:18 PM
Respawning + Hero Selection on Circle DarkBlade Tutorials 4 09-07-2007 07:56 PM
Trigger error MoonRazer World Editor Help 2 07-18-2007 12:45 PM
A Simple Footmen Spawn MrOrange Tutorials 9 07-14-2007 10:51 AM
Cinematics! CaptainSnake World Editor Help 17 05-18-2007 11:39 AM


All times are GMT -5. The time now is 10:04 PM.

A friend of Wc3Happy
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165