| 07-07-2008, 03:38 AM | #1 |
Ok the issue i have this time is with items with the classification powerup. I know that you can detect the point when you buy the item using one of the order detection events, but which one? Since you can't use EVENT_PLAYER_UNIT_ITEM_ACQUIRE to catch itens for the powerup classification. Also on the same topic when i catch the event, is it possible that you can get the item brought and the unit that triggers it? Thanks in advance -Av3n |
| 07-07-2008, 11:29 PM | #2 | |
Quote:
JASS:local function Blah takes nothing returns nothing local unit u = GetManipulatingUnit() local item it = GetManipulatedItem() //do stuff set u = null set it = null endfunction I'm fairly sure these will work. |
| 07-08-2008, 02:22 AM | #3 |
i was refering to the same problem above... my bad for not making it clear. I got the problem sorted out anyway, thanks for at least posting to the thread darkwulfv -Av3n |
