Jump to content
主视角中国

Recommended Posts

Posted

可以的

将天气的参数改前和改后加一个时间如

thread day

day:

$world farplane_color (........)//改前

wait 30 //30秒

$world farplane_color (.1 .1 .14)//改后

thread day//循环

end

Posted

老师.按照你教的改动后.过30秒后,天气可以改变.但不知为什么却无法循环.望指教.

level waittill spawn

thread day1

thread day2

/////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////

day1:

$world farplane 5000

$world farplane_color ( 1 0 0 )

wait 30

$world farplane 5000

$world farplane_color ( 0 1 1 )

thread day

end

day2:

$world farplane 5000

$world farplane_color ( 1 1 1 )

wait 30

$world farplane 5000

$world farplane_color ( 1 1 0 )

thread day

end

Posted

1.理论上应是一个指令才行,thread day1

2.为什么要设2条指令?

thread day1

thread day2

这样电脑会执行那一条呢?

3.这里有错

day1:

$world farplane 5000
$world farplane_color ( 1 0 0 )

wait 30

$world farplane 5000
$world farplane_color ( 0 1 1 )

thread day//<-------应是thread day1

end[/code]

Posted

谢谢老师,已改成功,(在第二个天气效果下面加了一句时间指令后,就能正常运行了.)

thread day1

day1:

$world farplane 5000

$world farplane_color ( 1 0 0 )

wait 30

$world farplane 5000

$world farplane_color ( 0 1 1 )

wait 30

thread day1

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.

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