早教吧作业答案频道 -->其他-->
我想实现框选,大神帮我看看那里出了问题啊,翻译不了。entity/box(1000)l10:ident/'选择要改变图层的对象',box,cnt(1..a),a,respjump/l10:,end:,,,respl20:param/'输入新图层','图层号=',n,respjump/l10:,end:,,,resp
题目详情
我想实现框选,大神帮我看看那里出了问题啊,翻译不了。entity/box(1000)l10: ident/'选择要改变图层的对象',box,cnt(1..a),a,resp jump/l10:,end:,,,respl20: param/'输入新图层','图层号=',n,resp jump/l10:,end:,,,resp if/n256,jump/pr: &layer(box(1..a))=n jump/l10:pr: messg/'图层输入错误,重新输入' jump/l20:end:halt
▼优质解答
答案和解析
entity/box(1000)l10: choose/'选择对象','片体','实体','曲线',resp jump/l10:,end:,,,l20:,l30:,l40:,resp l20: ident/'选择片体',box,cnt,a,resp jump/l20:,end:,,,resp jump/l50:l30: ident/'选择实体',box,cnt,a,resp jump/l30:,end:,,,resp jump/l50:l40: ident/'选择曲线',box,cnt,a,resp jump/l40:,end:,,,resp jump/l50: l50: param/'输入新图层','图层号=',n,resp jump/l10:,end:,,,respl60: if/n256,jump/pr:l70: &layer(box(a))=n a=a-1 if/a==0,jump/l10: jump/l70: pr: messg/'图层输入错误,重新输入' jump/l10:end:halt我找到了原因,并且做了一些提升,但是新问题是,我要怎么才能只选择面,或者实体,或者曲线。大神们,求教了。
看了我想实现框选,大神帮我看看那里...的网友还看了以下: