作者:
koko147 (心情電梯)
2026-03-19 16:47:14版本:現行
因為任務因素打了戰場
發現幾個喊話巨集失效,請問怎樣更正使其回復作用?
1.回報人數
/script if not ce or not le or GetTime()-le>10 then ce=0; end; le=GetTime();
ce=ce+1; SendChatMessage( GetMinimapZoneText().."有"..ce.."個敵人來襲!",
"instance_chat")
以前點幾下,就會回報自己的地點,有多少敵人來襲
像阿拉西這種要守點戰場很重要
現在這個巨集失效
2.求援
/script t=GetSubZoneText();if t=="" then local
x,y=GetPlayerMapPosition("player");t=string.format("%d,%d",x*100,y*100);end;SendChatMessage("["..t.."]
請支援我我快抵擋不住了~~","instance_chat")
點一下就會回報自己的地點,急需支援
3.安全回報
/script t=GetSubZoneText();if t=="" then local
x,y=GetPlayerMapPosition("player");t=string.format("%d,%d",x*100,y*100);end;SendChatMessage("["..t.."]
安全~~","instance_chat")
點一下就會回報自己的地點已經安全
和求援是一樣寫法,只是字串不同
請問如何修正使其作用呢?謝謝!