Item triggers help plz

Status
Not open for further replies.
Joined
Oct 2, 2006
Messages
7
Reaction score
0
Okay,see in fun games like element rpg, u can get items so they combine and make 1 item, how do u do this?????!!!!
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
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.
 
Joined
Oct 2, 2006
Messages
7
Reaction score
0
ya but wat trigger is it? I can't find the right one, so only certain items make certain things
 

Octopor

your whole family is made of meat
Joined
Nov 28, 2003
Messages
2,043
Reaction score
2
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.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
If you need more than 2 items, just repeat the lines for the conditions.

Just remember to test the item setup so it works.
 

Octopor

your whole family is made of meat
Joined
Nov 28, 2003
Messages
2,043
Reaction score
2
If you need more than 2 items, just repeat the lines for the conditions.
That's not all that you do, if you're going to give him advice at least make it full advice.

I'm sure he could figure it out on his own anyways.

Problem solved, topic closed.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Octopor said:
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.
 
Status
Not open for further replies.

NewPosts

New threads

Top