| 11-02-2003, 05:32 PM | #1 |
i want to make it so when you buy an item, it gives you 1 food. how would i go about doing this? |
| 11-02-2003, 05:38 PM | #2 |
First I would try a trigger that uses the action "Player - Add Property" to add 1 to the Food Max or Food Cap of the Owner of the unit that picked up the item... (not sure whether it's Max or Cap, try one way, then the other) Do you want the player's food to return to normal if they drop the item again? |
| 11-02-2003, 05:43 PM | #3 |
I know to do the trigger add property.......but i dont know what the event or condition would be, i tried many combinations, but none worked. I want it to be an item that permanently adds 1 food. Kinda lika a tome. |
| 11-02-2003, 05:50 PM | #4 |
Oh! In that case I think you want Event "Generic Unit Event - a Unit uses an Item." As long as it's like a tome and is used instead of being picked up... And condition Item-Type Comparison - (Item-Type of (Item being manipulated)) is equal to (Item-Type of Your Item) |
| 11-02-2003, 06:22 PM | #5 |
its not working..... |
| 11-02-2003, 06:25 PM | #6 |
why don't you post your map or show your trigger so we can see what you are doing and maybe help a little more. The more you describe the easier it is for you to get help. |
| 11-02-2003, 06:31 PM | #7 |
I fixed the problem, in the event its unit aquires an item...not uses an item |
