SHARE
TWEET

Untitled

a guest Mar 4th, 2018 244 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. st = global.stt;
  2. var k;
  3. k = 0;
  4. map_width = real(string_split(st,1,",")) * 256;
  5. map_width += real(string_split(st,2,","));
  6. map_height = real(string_split(st,3,",")) * 256;
  7. map_height += real(string_split(st,4,","));
  8. for (i = 0 i <= map_width-1 i += 1)
  9. {
  10. for (j = 0 j <= map_height-1 j += 1)
  11. {
  12.     map_ind[i,j] = real(string_split(st,5+k,","));
  13.     k += 1;
  14. }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top