| 04-01-2007, 03:31 PM | #1 |
Is there a way to use the return bug for locations beside saving the Xs and Ys of the locations ? Itried this .. but it didnt work JASS:function L2I takes location l returns integer return l return 0 endfunction function I2L takes integer i returns location return i return null endfunction |
| 04-01-2007, 03:35 PM | #2 |
I think you want this function, at least they work for me JASS:function H2I takes handle h returns integer return h return 0 endfunction JASS:function I2Loc takes integer i returns location return i return null endfunction |
| 04-01-2007, 03:51 PM | #3 | |
Quote:
functions H2I & I2H work for sure ... but teh function I2Loc & Loc2I didnt work for me -.- im using Xs and Ys now .. |
