View difference between Paste ID: biGhC6MW and tdAb7fny
SHOW: | | - or go back to the newest paste.
1
    [event]
2
        name=prestart
3
        [hide_unit]
4
            side=2,3,4,5,6,7,8
5
        [/hide_unit]
6
7
        [store_unit]
8
            [filter]
9
                x,y=recall,recall
10
            [/filter]
11-
            variable=stored_Initiates
11+
            variable=stored_initiates
12
            kill=yes
13
        [/store_unit]
14
15-
        {FOREACH stored_Initiates k}
15+
        {FOREACH stored_initiates k}
16
            # Approach 1:
17-
                variable=stored_Initiates[$k]
17+
            #{VARIABLE stored_initiates[$k].x 12}
18
            #{VARIABLE stored_initiates[$k].y 34}
19
            [unstore_unit]
20
                variable=stored_initiates[$k]
21
                find_vacant=yes
22
                # Approach 2:
23
                #x,y=12,34
24
            [/unstore_unit]
25
        {NEXT k}
26
    [/event]