Pathing Type like fly
Moderator: Cheaters
-
- Newcomer
- Posts: 15
- Joined: January 25th, 2009, 4:24 pm
Pathing Type like fly
how i can create a trigger who can disable pathing type or make unit can fly over trees and etc like spectre dagger
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Pathing Type like fly
Unit - Turn Collision On/Off.
Example.
Flying is a whole different thing, this will make them walk through whatever.
Example.
Code: Select all
Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing fly as An exact match
Conditions
Actions
Unit Group - Pick every unit in (Units currently selected by Player 1 (Red)) and do (Unit - Turn collision for (Picked unit) Off)

-
- Newcomer
- Posts: 15
- Joined: January 25th, 2009, 4:24 pm
Re: Pathing Type like fly
ok thanks this help me one more question can i add buff to unit without casting ability
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
-
- Newcomer
- Posts: 15
- Joined: January 25th, 2009, 4:24 pm
Re: Pathing Type like fly
when you learn endurance aura you have visual effect and tooltip box with icon and text "This unit is under the effects of Endurance Aura; it has an increased movement speed and attack rate." can you make this tooltip box without have aura with trigger i need only the icon and text no need stats
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Pathing Type like fly
Code: Select all
Untitled Trigger 001
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Phase (Neutral Hostile)
Actions
Unit - Turn collision for (Learning Hero) Off
Then create a new buff. Again, base it off whatever. Change the text and icon to whichever you want. Then go back onto the ability, and change Stats - Buffs, to the newly created buff.
Then, go ahead and create the above trigger. Change Phase to whatever ability you made. And there you go.

-
- Newcomer
- Posts: 15
- Joined: January 25th, 2009, 4:24 pm
Re: Pathing Type like fly
but i want only to have buff and have free slot for new spell without learn this spell sorry if you don't understand me
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Pathing Type like fly
I see, to get a buff without a spell..that cant be done without a spellbook http://www.hiveworkshop.com/forums/trig ... ook-33039/
So pretty much now we need to do is make a few triggers..First off is that when the unit learns the skill we give him the no collision, secondly we need to remove the learned skill, third we have to add the spellbook which will be set up to be invisible, yet still give the buff.
This will take a bit of time, so just hold on for a while.
Edit : Alright, took a lot less time than i expected. Use this trigger.
So basicly, what we need to do is create three abilites. First one, Make a Hero Skill, based off An arua. This will be the skill that the unit learns, so give it a good icon, name, and change the level to 1. Next, copy the above skill, and paste it. Change the name as this will be the one that goes into the book. Finally, create another new ability, this time base it off the Item abilty, Spellbook. Scrolldown and change Data - Spell List, remove all the ones there and add the one for the book. Now, create a new buff, as stated above, and add it to the book version.
So, if i havent confused you, well down and goodluck. If i have, just refer to the map attached.
So pretty much now we need to do is make a few triggers..First off is that when the unit learns the skill we give him the no collision, secondly we need to remove the learned skill, third we have to add the spellbook which will be set up to be invisible, yet still give the buff.
This will take a bit of time, so just hold on for a while.
Edit : Alright, took a lot less time than i expected. Use this trigger.
Code: Select all
Untitled Trigger 001
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Phase (Ability, Unit)
Actions
Unit - Turn collision for (Learning Hero) Off
Wait 1.00 seconds
Unit - Remove Phase (Ability, Unit) from (Learning Hero)
Unit - Add Phase (Book) to (Learning Hero)
Player - Disable Phase (Book) for (Owner of (Learning Hero))
So, if i havent confused you, well down and goodluck. If i have, just refer to the map attached.
You do not have the required permissions to view the files attached to this post.
