PDA

View Full Version : Free Trigger Codes


a_p3rf3ct_circl3
08-14-2005, 5:00 AM
Well as i was combing the other warcraft forums i came across thehelper.net which the first thread was a Free Trigger Code thing so i decided to see if this fabulous site has better triggerers to show thehelper.net up. SO....

-Feal free to post any type of trigger that you wish like custom abilities, arean-related triggers, rpg-related triggers, AOS-related triggers etc.
-I prefer normal trigger codes from JASS bcuz i dont know S*** about JASS but feal free to post JASS if you wish:)
-I did this bcuz if you're looking for a certain trigger code, there might be the exact code for you (EX. ItemA+ItemB=ItemC trigger) but that could be hidden somewhere and if you're lazy like me (and have a slow connection) you dont want to go through that......
-Please include name of trigger,req. variables,root action/condition/event(EX. Item - or Unit -) and a description as to what it does

Well i'll post the first trigger code here:

-Simple item conversion Trigger
(This trigger does not require variables)
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item carried by (Hero manipulating item) of type Item A)) Equal to Item A
(Item-type of (Item carried by (Hero manipulating item) of type Item B)) Equal to Item B
Actions
Item - Remove (Item carried by (Hero manipulating item) of type ItemA)
Item - Remove (Item carried by (Hero manipulating item) of type ItemB)
Special Effect - Create a special effect at (Position of (Hero manipulating item)) using (whatever) (not required just adds to the value)
Item - Create ItemC at (Position of (Hero manipulating item))
Hero - Give (Last Created Item) to (Triggering Unit)

So what happens is: When a unit picks up an item the conditons are checked Item A being a item of your choosing and same with Item B. If conditions are true Item A and Item B will be removed from the hero. The special effect is not required but it just looks good. After Item A and B are removed Item C will be created and imediatley moved into the triggering unit's inventory. Simple:)

And thats all i require to add to your trigger.

XZminX
08-14-2005, 8:02 PM
That trigger is already on WB.

a_p3rf3ct_circl3
08-15-2005, 3:29 AM
EXCACTLEY MY POINT hey i didnt know that this trigger was posted BCUZ i couldnt find it ANYWHERE here and it was probably hidden, so make it easy post triggers here:)