Jump to content

  •  

ragexe

Member Since 31 May 2017
Offline Last Active Jun 07 2017 04:22 PM
-----

Posts I've Made

In Topic: Custom Instance unitskilluseid (Please help)

01 June 2017 - 04:53 AM

If all you want is get the location then getmapxy() works just fine, no need to use more "advanced" commands such as getunitdata

yea thanks work now


In Topic: Custom Instance unitskilluseid (Please help)

31 May 2017 - 05:06 PM

your .@x and .@y do not get the right data because you call getunitdata() improperly: you have to specify the data type, which would be UDT_MAPIDXY in your case

see https://github.com/H...mands.txt#L9636

hi thanks for answer, but can you give example to use that?
.@x = UDT_MAPIDXY[1]?
.@y =
UDT_MAPIDXY[2]?