Welcome to the BF Forums! Register Now, It's Free!
Welcome to the BF Forums; your source for the latest video game news, strategies, discussions, and resources. Join over 66,000 like-minded gamers to chat about your interests in our community.
You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.
Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
First, check and see if the person has the existing items. If they are visible in the hero's inventory, you remove them and replace them with the one item.
__________________
The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.
Events
-Unit - A unit Acquires an item
Conditions
-n/a
Actions
-If (All Conditions are True) then do (Then Actions) else do (Else Actions)
--If - Conditions
---And - All (Conditions) are true
----Conditions
-----((Hero manipulating item) has an item of type item1) Equal to True
-----((Hero manipulating item) has an item of type item2) Equal to True
--Then - Actions
-----Item - Remove (Item carried by (Hero manipulating item) of type item1)
-----Item - Remove (Item carried by (Hero manipulating item) of type item2)
-----Hero - Create item3 and give it to (Hero manipulating item)
-----Special Effect - Create a special effect attached to the overhead of (Hero manipulating item) using Abilities\Spells\Items\AIem\AIemTarget.mdl
--Else - Actions
-----Do nothing
Item 1 and 2 represent the items that you would be combining. Item 3 represents the item that you would get as a result of the combination.
If you need more than 2 items, just repeat the lines for the conditions.
Just remember to test the item setup so it works.
__________________
The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.
That's not all that you do, if you're going to give him advice at least make it full advice.
One) You don't know I make people solve problems
Two) I know that, you need to also allow removal of items.
__________________
The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.