|
楼主 |
发表于 2007-1-15 22:46:47
|
显示全部楼层
引用第9楼Red_Wolf于2007-01-15 21:53发表的:
wait 0秒等于0.125秒
timer 0秒等于0.00001秒
也就是它们的最小时间单位
wait会等待其他进程结束~~实际时间是不定的~~测试一下下面2个触发集合的效果就知道了~~前一个组合显然比后一个组合长的多~~
[trigger]
Show_1
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
Countdown Timer - Start t as a One-shot timer that will expire in 1000000000.00 seconds
Wait 0.00 seconds
Debug - Debug (String((Elapsed time for t)))
Do_more
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
For each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
Unit - Create 1 for Player 1 (Red) at (Center of (Playable map area)) facing (Position of (Triggering unit))
Unit - Remove (Last created unit) from the game
[/trigger]
[trigger]
Show_2
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
Countdown Timer - Start t as a One-shot timer that will expire in 1000000000.00 seconds
Wait 0.00 seconds
Debug - Debug (String((Elapsed time for t)))
Do_less
Events
Player - Player 1 (Red) skips a cinematic sequence
Conditions
Actions
For each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
[/trigger] |
|