|

楼主 |
发表于 2024-5-30 02:32:48
|
显示全部楼层
我自己改了一下,但是找不到正确的人物列表,游戏内表现为始终提示该线程中人物数为0. 有无大手子帮我看看
function DoSpeed(float speed)
ObjectReference Target = Game.GetCurrentCrosshairRef()
if(Target == None)
Target = Game.GetCurrentConsoleRef()
if(Target == None)
Debug.Notification("Not A Target")
return
endif
endif
int labtid = SexLab.FindActorController(Target as Actor)
Debug.Notification("AnimSpeedSL: selected thread : "+ labtid)
Actor[] Positions = SexLab.GetController(labtid) .Positions
Debug.Notification("AnimSpeedSL: actors in thread: "+ Positions.Length)
float transition = GetConfig(4) as float
int idx = 0
while(idx < Positions.Length)
AnimSpeedHelper.SetAnimationSpeed(Positions[idx], speed, transition * 0.001, false)
Debug.Notification("CurrentSpeed: " + speed)
idx += 1
endwhile
endfunction |
|