function MoveUnitFast takes unit u, real speed, real direction returns nothing
call SetUnitX(u, GetUnitX(u) + speed * Cos(direction) )
call SetUnitY(u, GetUnitY(u) + speed * Sin(direction) )
set u = null
endfunction
Name | Type | is_array | initial_value |
Circle_Position_setter | real | No | |
Config | integer | Yes | |
Debug | integer | No | |
EFB_Hash | hashtable | No | |
EFB_Moving_Units | group | No | |
Temp_Distance | real | No | |
Temp_Group | group | No | |
Temp_Point | location | No | |
Temp_Point_2 | location | No | |
Temp_Point_3 | location | No | |
Temp_Point_4 | location | No |