minimap does not need to be shown, but I would like the arrow on the minimap showed the direction in which the go
direction - this being the magic word.
Now I understand. Well, seems you'll need an expert. While it's no problem (from theory) to calculate a vector's (= arrow's) angle using trigonometric functions - putting it onto the hud could require some efforts.
Easiest way imho would be to have let's say 24 predefined arrow icons (with angles from 0 to 360 degrees, step by 15 degrees) and place the suitable one depending on the result of the direction. The player position being variable the aim's position being constant.
Getting the positions will require some scripting I guess. So I have to do some investigations.
(Maybe Benze or someone else having a quick answer?)