|
发表于 2006-4-2 09:14:11
|
显示全部楼层
[trigger]
Initial
Events
Map initialization
Conditions
Actions
Custom script: set udg_Loc=Location(-2390,2370)
Custom script: call RandomMZ(66)
Game - Display to (All players) for 30.00 seconds the text: Map Created
For each (Integer A) from 0 to 10, do (Actions)
Loop - Actions
For each (Integer B) from 0 to 9, do (Actions)
Loop - Actions
Custom script: if (udg_toRight[bj_forLoopBIndex+bj_forLoopAIndex*11]==false) then
Custom script: call MoveLocation(udg_Loc,-2368+bj_forLoopBIndex*512,2368-bj_forLoopAIndex*512)
Destructible - Create a Door (Vertical) at Loc facing 0.00 with scale 0.50 and variation 0
Destructible - Make (Last created destructible) Invulnerable
Custom script: endif
Custom script: if (udg_toDown[bj_forLoopAIndex+bj_forLoopBIndex*11]==false) then
Custom script: call MoveLocation(udg_Loc,-2624+bj_forLoopAIndex*512,2112-bj_forLoopBIndex*512)
Destructible - Create a Door (Horizontal) at Loc facing 0.00 with scale 0.50 and variation 0
Destructible - Make (Last created destructible) Invulnerable
Custom script: endif
[/trigger]
测试...
测试结果:All Pass...
恩恩,以后的JASS语法显示应该是[JASS][/JASS]标签吧...
[ 本帖最后由 白银の游戏王 于 2006-4-2 09:18 编辑 ] |
|