|
楼主 |
发表于 2012-8-1 23:47:34
|
显示全部楼层
回 美味豆沙包 的帖子
美味豆沙包:
1:executefunc??
2:负的你想做什么! 1.要和timer绑定循环运行的。。
2.感觉y=0还是太上面。。想调下来一点。。
现在的代码是这样的。。。有点乱
[jass]
if ( flag = 1 ) then
if ( IsKilledWhenHit ) then
if ( RunFuncName == null ) then
if ( EndFuncName == null ) then
call TimerStart( t, inv, true, function SimObjectMove_Action_tar_K )
else
call TimerStart( t, inv, true, function SimObjectMove_Action_tar_KE )
endif
else
if ( EndFuncName == null ) then
call TimerStart( t, inv, true, function SimObjectMove_Action_tar_KR )
else
call TimerStart( t, inv, true, function SimObjectMove_Action_tar_KRE )
endif
endif
else
if ( RunFuncName == null ) then
if ( EndFuncName == null ) then
call TimerStart( t, inv, true, function SimObjectMove_Action_tar )
else
call TimerStart( t, inv, true, function SimObjectMove_Action_tar_E )
endif
else
if ( EndFuncName == null ) then
call TimerStart( t, inv, true, function SimObjectMove_Action_tar_RE )
else
call TimerStart( t, inv, true, function SimObjectMove_Action_tar_R )
endif
endif
endif
else
if ( IsKilledWhenHit ) then
if ( RunFuncName == null ) then
if ( EndFuncName == null ) then
call TimerStart( t, inv, true, function SimObjectMove_Action_loc_K )
else
call TimerStart( t, inv, true, function SimObjectMove_Action_loc_KE )
endif
else
if ( EndFuncName == null ) then
call TimerStart( t, inv, true, function SimObjectMove_Action_loc_KR )
else
call TimerStart( t, inv, true, function SimObjectMove_Action_loc_KRE )
endif
endif
else
if ( RunFuncName == null ) then
if ( EndFuncName == null ) then
call TimerStart( t, inv, true, function SimObjectMove_Action_loc )
else
call TimerStart( t, inv, true, function SimObjectMove_Action_loc_E )
endif
else
if ( EndFuncName == null ) then
call TimerStart( t, inv, true, function SimObjectMove_Action_loc_R )
else
call TimerStart( t, inv, true, function SimObjectMove_Action_loc_RE )
endif
endif
endif
endif[/jass] |
|