Maybe I didn't find the correct way to use it but it seems that "Unit filter" => "Item: Required" doesn't work.
I created a unit with "Object type" => "Item" and with "Unit flags" => "Pawnable" but it seems that this trigger doesn't work:
NearestItem = (Closest unit to Hero in (Any units in (Region((Position of Hero), PickupRange)) owned by player 0 matching Required: Item, with at most Any Amount)) <Unit>
Removing the "Unit filter" => "Item: Required" it works correctly. That means that this filter is bugged or I'm missing something...
Maybe I didn't find the correct way to use it but it seems that "Unit filter" => "Item: Required" doesn't work.
I created a unit with "Object type" => "Item" and with "Unit flags" => "Pawnable" but it seems that this trigger doesn't work:
NearestItem = (Closest unit to Hero in (Any units in (Region((Position of Hero), PickupRange)) owned by player 0 matching Required: Item, with at most Any Amount)) <Unit>
Removing the "Unit filter" => "Item: Required" it works correctly. That means that this filter is bugged or I'm missing something...
Anyone with some idea to fix that?