Advertisement
lucasgautheron

Untitled

Mar 8th, 2013
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1.  
  2. // closearea
  3. // closearea $x0 $y0 $x1 $y1
  4. closearea = [
  5. num_i = (div (- $arg3 $arg1) 40);
  6. num_j = (div (- $arg4 $arg2) 40);
  7. loop i $num_i [
  8. loop j $num_j [
  9. x = (+ $arg1 (* $i 40));
  10. y = (+ $arg2 (* $j 40));
  11. select $x $y 1 3;
  12. solid 1;
  13. //edittex 2 1
  14. ]
  15. ]
  16. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement