| 02-18-2007, 04:41 PM | #1 |
Hello, I making a CTF (capture the flag), it's not wery hard but i stuck on one thing; I cant find any conditions that checks if the hero have an item in the inventory. Anyone know how to do? (sorry for bad English) |
| 02-18-2007, 04:53 PM | #2 |
The amount of times i'v helped people with a CTF trigger is unbelievable, please use the search feature, there is completed triggers with alot of variaty, and the answer your looking for. The most recent answer i gave to a CTF is here Look in the triggers he posted to find your answer. And for the solution why his triggers dident work, wait for the answer :P. |
| 02-18-2007, 04:56 PM | #3 |
I don't know the exact action, but there is an action to get the item a unit is carrying in a certain slot. You just check each slot for the flag and that should work. |
| 02-18-2007, 05:44 PM | #4 |
Thx both of you... I think i could share my trigger if anyone else wants it: Point Human Events Unit - A unit enters Human flag point <gen> Conditions (Item carried by (Entering unit) of type Undead Flag) Equal to Flag[2] Actions Game - Display to (All players) the text: ((Name of (Owner of (Entering unit))) + scored for the human) Item - Move (Item carried by (Entering unit) of type Undead Flag) to FlagPoint[2] |
