1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<action name="parse_roundedge">
indexoftxt(sp1, '%1', ' ');
add(sp1,1);
indexoftxt(sp2, '%1', ' ', get(sp1));
add(sp2,1);
indexoftxt(sp3, '%1', ' ', get(sp2));
add(sp3,1);
sub(len1, sp1, 1);
sub(len2, sp2, sp1);
sub(len3, sp3, sp2);
subtxt(e1, '%1', 0, get(len1));
subtxt(e2, '%1', get(sp1), get(len2));
subtxt(e3, '%1', get(sp2), get(len3));
subtxt(e4, '%1', get(sp3), 20);
</action>
<action name="tween_roundedge">
parse_roundedge(%2);
txtadd(target, get(e1),'|',get(e2),'|',get(e3),'|',get(e4));
parse_roundedge(get(%1));
tween(e1|e2|e3|e4, get(target), %3, %4, %5, txtadd(%1, get(e1),' ',get(e2),' ',get(e3),' ',get(e4)) );
</action>
|