Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [event]
- name=prestart
- [hide_unit]
- side=2,3,4,5,6,7,8
- [/hide_unit]
- [store_unit]
- [filter]
- x,y=recall,recall
- [/filter]
- variable=stored_initiates
- kill=yes
- [/store_unit]
- {FOREACH stored_initiates k}
- # Approach 1:
- #{VARIABLE stored_initiates[$k].x 12}
- #{VARIABLE stored_initiates[$k].y 34}
- [unstore_unit]
- variable=stored_initiates[$k]
- find_vacant=yes
- # Approach 2:
- #x,y=12,34
- [/unstore_unit]
- {NEXT k}
- [/event]
Advertisement
Add Comment
Please, Sign In to add comment