lynzxcv 发表于 2011-8-22 15:01

关于僵尸世界原版刷新不停的原因代码求解

scn 0CRIntroductionQuestScript
float time
float time2
int zombies
Begin GameMode
   set time to time + GetSecondsPassed
   Iftime > 20
            player.placeatme zombie02 zombies 1024 0
            player.placeatme zombie02 zombies 1024 1
            player.placeatme zombie02 zombies 1024 2
            player.placeatme zombie02 zombies 1024 3
            set time2 to time2 + 1
            set time to 0
         if time2 > 4   
                  set zombies to zombies + 1
                  set time2 to 0   
         endif
   endif
End
这一段中应该没有循环的效果才对呀,执行一次就该END了吧
如果加入以下这一段它会执行一次后自动结束么?
Begin ScriptEffectFinish
; <<< Not Used >>>
End


就像:Begin ScriptEffectStart
Player.placeatme PLAChimera 1 1
player.AddItem PLAComeHereRadio 1 1
End
Begin ScriptEffectUpdate
; <<< Not Used >>>
End
Begin ScriptEffectFinish
; <<< Not Used >>>
End
就是执行一次后就停止了,还是说和脚本属于Effect还是Quest有关?
页: [1]
查看完整版本: 关于僵尸世界原版刷新不停的原因代码求解