Could we get a keyword that will check the distance between the source and the target?
The question came up in formatting a targetcondition that required the target be within one tile of the user.
(Also, Hi Arte, thanks for adding targeting)
I can add an additional MaxTargetRange property to the XmlUse attachment. I'll post it in the 3.23 beta.
Adding a RANGE keyword is easy enough, but I would have to think about what that would generally refer to when used in a spawner entry, since XmlUse is the only thing that actually has a targeting ability.
I was thinking it would be like RANGE,name/serial and it would return the integer value of the distance between the parent of the entry, (so for attachments it would be what it was attached to and for spawners it would be the spawners), and the indicated entity.
Or perhaps it would be RANGE,<location> so it could detect the distance from a point in space and that value could just get substituted for a {GET,location} check.
yeah, I'll think about those.