wc3edit.net

United Warcraft 3 map hacking!
It is currently April 27th, 2024, 11:22 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Pathing Type like fly
PostPosted: August 24th, 2009, 8:48 pm 
Offline
Newcomer

Joined: January 25th, 2009, 4:24 pm
Posts: 15
how i can create a trigger who can disable pathing type or make unit can fly over trees and etc like spectre dagger


Top
 Profile  
 
PostPosted: August 24th, 2009, 8:56 pm 
Offline
Forum Staff
User avatar

Joined: November 17th, 2008, 3:49 pm
Posts: 610
Unit - Turn Collision On/Off.

Example.
Code:
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)


Flying is a whole different thing, this will make them walk through whatever.

_________________
Image


Top
 Profile  
 
PostPosted: August 24th, 2009, 9:13 pm 
Offline
Newcomer

Joined: January 25th, 2009, 4:24 pm
Posts: 15
ok thanks this help me one more question can i add buff to unit without casting ability


Top
 Profile  
 
PostPosted: August 24th, 2009, 9:35 pm 
Offline
Forum Staff
User avatar

Joined: November 17th, 2008, 3:49 pm
Posts: 610
Sorry, im having trouble understanding. Explain it a bit more please.

_________________
Image


Top
 Profile  
 
PostPosted: August 24th, 2009, 9:51 pm 
Offline
Newcomer

Joined: January 25th, 2009, 4:24 pm
Posts: 15
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


Top
 Profile  
 
PostPosted: August 24th, 2009, 10:14 pm 
Offline
Forum Staff
User avatar

Joined: November 17th, 2008, 3:49 pm
Posts: 610
Code:
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


Alright, its quite simple. Create a new ability, base it off an arua, scroll down and change Stats - Levels, to 1. Change the data, text, and art to what you want. Also change Stats - Area of Effect to something low..0 is recommended, dunno if it will work though.

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.

_________________
Image


Top
 Profile  
 
PostPosted: August 24th, 2009, 10:54 pm 
Offline
Newcomer

Joined: January 25th, 2009, 4:24 pm
Posts: 15
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


Top
 Profile  
 
PostPosted: August 24th, 2009, 11:02 pm 
Offline
Forum Staff
User avatar

Joined: November 17th, 2008, 3:49 pm
Posts: 610
I see, to get a buff without a spell..that cant be done without a spellbook http://www.hiveworkshop.com/forums/trigger-gui-editor-tutorials-279/the-mysteries-of-the-spellbook-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.
Code:
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 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.


You do not have the required permissions to view the files attached to this post.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)