|
|
5仿真币
学习过程中遇到几个命令看不懂,急盼高手指教0 P. t2 T0 c! b* U' {+ G0 x
1.. Q: D m( w; a# M* S
is
. d% i- Z: H+ j+ G1 ]do( A: A- f; v! N0 G1 ?
waituntil side1.occupation and side2.occupation and side3.occupation and mainentry.occupation and mainexit.empty pro 2;
. K% t' ^" q* c* Y~~~~
. K( d% D* ~/ S) h0 v4 t5 r~~~~) j! e- \0 ]+ B, o; W2 ^1 h4 ]
中pro 2是什么意思,起什么作用?有没有pro 1/3的用法?( X/ @1 n% ]% ~) c( T7 `; i9 D
2.tirgger调用的method中的命令2 S# K# G0 T8 ~ T6 p; j: T
(old,new:boolean)8 v$ H* Y; |% F* _+ w% ]
is9 {. J" H; t7 E
do
* R- U+ T& G- q/ J9 T, V e3.pause:=new;2 ?! W7 J# [" o, G, U/ K
end;1 b% c T* r) ^ s- ~; L* m
中old和new是trigger传回来的布尔值,为什么是 e3.pause:=new;而不是 e3.pause:=old;.用 e3.pause:=old则不能激活e3物件实现暂停功能?: j o8 {1 ~3 L1 a/ A! Z; q
求高手详解。 |
|