纳金网

标题: 分享个插入场景的小帖子 [打印本页]

作者: 铁锹    时间: 2012-8-24 10:25
标题: 分享个插入场景的小帖子
InsertScene




InsertScene
When a group name is specified in the InsertScene function, (in your case “test”), its this group that is actually moved with the coordinates specified to the InsertScene command



script-scene object pick



Code:

(setq loc (getobjectlocation "test" EC_XFORM_MODE_HOME))                           //test组名

(InsertScene "blue.rsn" (nth 0 loc) (nth 1 loc) (nth 2 loc) "test" "" T)           //把blue.rsn导入test组下面

(setobjectlocation "blue" 1 9 3)                                                   //blue.rsn位置设置



There’s an easy way to turn off the progress bar, try:



Code:

(SetSceneVar "rogressBarOn" 0)                                                    //无进度条








语言:
C, C++, CScript and Lisp Application Program Interface




欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5