| 11-22-2003, 05:46 AM | #1 |
I was wondering how i could do the following triggers, i tried em both but to no avail. 1. Only allow a hero to buy one item of any certain type. (So, say if they have a Crown of kings. And they try to buy another one, either dont let them or destroy the newly bought one and refund their money. 2. When a player selects a unit, have a text display to just THAT player (like legacies unit select)-- I can get everything but having the text display to just that player. For some reason there isnt a "Triggering Player" trigger selection under message display :mtk: Thanks. |
| 11-22-2003, 06:00 AM | #2 |
1. Setting each item you want limits on to a certain life and checking in inventory for items with the same life - should allow you to do whatever actions you want if items any 2 items are the same. Make sure to make a trigger to give ANY aquired items MAX life to prevent exploitation of this. 2. Try this: "Game - Display to (Player group((Owner of (Triggering unit)))) the text: <text>" - That's the best answer I can give you with the information you've given ;) But I hope it helps. |
| 11-22-2003, 06:10 AM | #3 |
Hmm, thank you. Ill try those out! now for the items, should i have that a repeating event, or just after a hero buys an item? |
