Add submodules: warframe data and OpenWF mods
This commit is contained in:
parent
3a3257fa37
commit
6558941ec1
6
.gitmodules
vendored
Normal file
6
.gitmodules
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[submodule "warframe-public-export-plus"]
|
||||||
|
path = warframe-public-export-plus
|
||||||
|
url = https://github.com/calamity-inc/warframe-public-export-plus.git
|
||||||
|
[submodule "Mods"]
|
||||||
|
path = Mods
|
||||||
|
url = https://onlyg.it/OpenWF/Mods.git
|
||||||
1
Mods
Submodule
1
Mods
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 6f4629b550f2c8478a5a2c0e18dfa87b152ff325
|
||||||
26
Scripts/瞬移.pluto
Normal file
26
Scripts/瞬移.pluto
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
local lastPosition = nil -- 记录上一次瞬移的位置
|
||||||
|
|
||||||
|
-- 缓存对象引用,避免重复调用
|
||||||
|
local localPlayer = gRegion:GetLocalPlayer()
|
||||||
|
local localPlayerAvatar = gRegion:GetLocalPlayerAvatar()
|
||||||
|
local hudStatus = localPlayer:GetHudStatus()
|
||||||
|
|
||||||
|
repeat
|
||||||
|
local flashMarkers = hudStatus:GetFlashMarkers()
|
||||||
|
|
||||||
|
for _, marker in ipairs(flashMarkers) do
|
||||||
|
if marker.markerType == 49 and not marker.garbage then
|
||||||
|
local markerPosition = marker.baseMarkerInfo:GetPosition()
|
||||||
|
|
||||||
|
-- 只有当标记位置与上次瞬移的位置不同,才执行瞬移
|
||||||
|
if markerPosition ~= lastPosition then
|
||||||
|
-- 执行瞬移
|
||||||
|
localPlayerAvatar:SetPosition(markerPosition)
|
||||||
|
|
||||||
|
-- 更新最后瞬移的位置
|
||||||
|
lastPosition = markerPosition
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
until yield()
|
||||||
1
warframe-public-export-plus
Submodule
1
warframe-public-export-plus
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit a8bb7be7b8f43a751949f0186982e20d2ce94c8e
|
||||||
Loading…
x
Reference in New Issue
Block a user