shadowm

Untitled

Jun 15th, 2012
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. {VARIABLE charge_pos 0}
  2. {VARIABLE continue_lookup yes}
  3.  
  4. [while]
  5. {VARIABLE_NUMERICAL_LESS_THAN charge_pos $siege_charges.length}
  6. {VARIABLE_BOOLEAN_EQUALS continue_lookup yes}
  7. [do]
  8. [if]
  9. {VARIABLE_NUMERICAL_EQUALS siege_charges[$charge_pos].x ({_X})}
  10. {VARIABLE_NUMERICAL_EQUALS siege_charges[$charge_pos].y ({_Y})}
  11. [then]
  12. {VARIABLE continue_lookup no}
  13. [/then]
  14. [else]
  15. {VARIABLE_INC charge_pos}
  16. [/else]
  17. [/if]
  18. [/do]
  19. [/while]
  20.  
  21. {CLEAR_VARIABLE continue_lookup}
Advertisement
Add Comment
Please, Sign In to add comment