| 11-29-2016, 03:36 PM | #2 |
Items that are automatically used don't die properly, they still kind of exist (see the shadows that reapper when you load a saved game). When the hero uses/acquires the item, make sure you explicitly destroy it -- can't remember off the top of my head, but there should be a Remove Item trigger. |
| 11-29-2016, 06:13 PM | #3 | |
Quote:
Yes! There is such trigger to remove item from game, but it didn't work, map still pings at its position, but you gave me an idea to solve my problem. I changed condition when picking items and I added to check item's life percentage and when I pick item, I set it life to 0% and in condition I added condition when pinging (greater than 1%) Now trigger looks like this: Trigger: ![]() Set ItemPositions = (playable map area)![]() Item - Pick Every Item in ItemPositions and do (Actions)![]() loop![]() if (Item-Type of (picked item)) equals to Book Of Inteligence +2 and ((Current life of (Picked Item) Greater or Equal 1.00)![]() then![]() Cinematic - Ping Minimap for (HumPlayer) at (ItemPositions) for 3.00 seconds using (simple) ping of color (59%, 80%, 80%)![]() custom script: call RemoveLocation(udg_ItemPositions)![]() else![]() Do NothingAnd This works exacly as I desired. |
