| 11-10-2002, 11:56 AM | #1 |
Guest | OK I can't seem to get this code to work.... I need a trigger that goes as follows: If any hero who is the enemy of team "pink" is holding item "custom item 1" at 18:00 (night time) then text message "The enemy has your custom item 1" Basicly I want the game to check at a certain time of day if any hero on one team has an item. I don't need any help on the action it's just the conditions that are getting to me.... I've got the event as time = 18.00 so that part is done but I cant' find a trigger that does what I need! PLEASE HELP! Going iNsAnE! The True Phoenix....emote_confused |
| 11-10-2002, 12:30 PM | #2 |
i dont know what u need to know... post is fairly vague.. but anyways for the item boolean condition hero- hero has item of type the player one is a player comparison (owner of (matching unit)) is equal to (random player from (all enemies of player 8 (pink))) i hope that is the answer to what you are asking |
| 11-10-2002, 12:42 PM | #3 |
Guest | Problem is what do I put for the start of the hero has bit... By default it will be: ((Triggering Unit) has an item of type custom 1) Equal to True. I don't have a triggering Unit as the event starts based on the time of day. |
| 11-11-2002, 06:43 AM | #4 |
hmm id say make the action a pick all units of type then an if/then/else that contains the other stuff, and use event response-picked unit |
