wc3edit.net

United Warcraft 3 map hacking!
It is currently January 6th, 2009, 11:10 am

 

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: more then 4 ability on 1 item
PostPosted: November 13th, 2008, 9:38 pm 
Offline
Newcomer

Joined: November 8th, 2008, 10:31 pm
Posts: 9
like the topic says ... its any way to add more then 4 abillityes to an item ? i tried with triggers with something like "when unit pick up item [blahblah] then add abilityes [blahlbalhblah] to triggered unit" but ... can't figure it out some help plz ! ty
Spoiler:
demons suit
Events
Unit - A unit Acquires an item
Conditions
Demon's Suit Equal to (Item-type of (Item being manipulated))
Actions
Unit - Set life of (Triggering unit) to ((Max life of (Triggering unit)) + 300.00)


Top
 Profile  
 
 Post subject: Re: more then 4 ability on 1 item
PostPosted: November 14th, 2008, 10:08 am 
Offline
Moderator
User avatar

Joined: August 5th, 2007, 1:38 pm
Posts: 442
Location: *Unknown*
Title: Gui Expert
Well, In a way yes, there is a way to add more than 4 abilities, but as you said it is through triggers.
-Say, you make a Sniper Rifle Item..
Abilities: Critical Strike, Wind Walk, Evasion, +Damage modifier
-However, because its a Sniper rifle, WE NEED RANGE!
So...we make ourself a trigger..

Basically Its like this:

Code:
Aquire Sniper Rifle
    Events
        Unit - A unit Acquires an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Sniper Rifle
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Hero manipulating item) is an illusion) Not equal to True
            Then - Actions
                Unit - Add Sniper Ability to (Hero manipulating item)
            Else - Actions


So if He picks up the item, he gets the ability. Now, what about it he drops it?

Code:
Drop Sniper Rifle
    Events
        Unit - A unit Loses an item
    Conditions
        (Item-type of (Item being manipulated)) Equal to Sniper Rifle
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Hero manipulating item) is an illusion) Not equal to True
            Then - Actions
                Unit - Remove Snipe Ability from (Hero manipulating item)
            Else - Actions

_________________
Image


Top
 Profile  
 
 Post subject: Re: more then 4 ability on 1 item
PostPosted: December 20th, 2008, 5:10 pm 
Offline
Member
User avatar

Joined: May 28th, 2008, 9:21 pm
Posts: 29
Sniper ability, does that ability change attack range? or what, if so can you show me an example or tell me what spell to base it off of?


Top
 Profile  
 
 Post subject: Re: more then 4 ability on 1 item
PostPosted: December 20th, 2008, 7:41 pm 
Offline
Moderator
User avatar

Joined: August 5th, 2007, 1:38 pm
Posts: 442
Location: *Unknown*
Title: Gui Expert
No, it just changed the range the item can see basically

_________________
Image


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 © 2000, 2002, 2005, 2007 phpBB Group

Privacy Policy Statement
Impressum (German)