Create AmmoCrate in Mission editor
in INIT string type
' this setvehiclevarname "TEST123" '
Enter Game
When you mouseover and use hint like
"
hint format ["VarName = %1", cursortarget]
"
The object is referred too as the varname you set.
HOWEVER
in debug type
player setpos (getpos TEST123)
This does not work and the player stays where he is.