Jump to content
主视角中国

Recommended Posts

Posted

俺在CHINA.V那里看到有一个添加升降板的小程序,见下面:

放置一个升降板

/* main program */

main:

......

level waittill prespawn

......

thread lift1

......

level waittill spawn

......

end

/* place a lift */

lift1:

local.crate = spawn script_model

local.crate model "static/cratelid2.tik"

local.crate.origin = ( -1164 -287 439 )

local.crate.angles = ( 0 130 0 )

while (1)

{

wait 5

local.crate moveUp 440

local.crate waitmove

wait 4

local.crate movedown 440

local.crate waitmove

}

end

可是俺不知道加在什么地方,试着加上后,原来单人图里的人物又出来了,郁闷。

两位老大能不给俺说一说要加在什么地方?最好能在一张单人图上举个例子!不胜感谢!

Posted

俺在CHINA.V那里看到有一个添加升降板的小程序,见下面:

放置一个升降板

/*    main program    */

main:

......

level waittill prespawn

......

thread lift1

......

level waittill spawn

......

end

/*    place a lift    */

lift1:

local.crate = spawn script_model

local.crate model "static/cratelid2.tik"

local.crate.origin = ( -1164 -287 439 )

local.crate.angles = ( 0 130 0 )

while (1)

{

wait 5

local.crate moveUp 440

local.crate waitmove

wait 4

local.crate movedown 440

local.crate waitmove

}

end

可是俺不知道加在什么地方,试着加上后,原来单人图里的人物又出来了,郁闷。

两位老大能不给俺说一说要加在什么地方?最好能在一张单人图上举个例子!不胜感谢!

俺那个小坛有介绍

main:

level waittill prespawn

level waittill spawn

thread lift1

end

lift1:

local.crate = spawn script_model

local.crate model "static/cratelid2.tik"

local.crate.origin = ( -1164 -287 439 )

local.crate.angles = ( 0 130 0 )

while (1)

{

wait 5

local.crate moveUp 440

local.crate waitmove

wait 4

local.crate movedown 440

local.crate waitmove

}

end

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

登录

Already have an account? Sign in here.

现在登录
×
×
  • 创建新的...