TriggerHappy
...
- Reaction score
- 341
Anyways with 1.21 mind testing this?
I am just curious if it works. The fogstate return doesn't seem to allow typecasting destrutable to item.
JASS:
function D2I takes destructable d returns item
return d
return null
endfunction
function SetDestructableX takes destructable d, real x returns nothing
call SetItemPosition(D2I(d), x, GetWidgetY(d))
endfunction
I am just curious if it works. The fogstate return doesn't seem to allow typecasting destrutable to item.