댓 or 1:1
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 20437 | 01-28 | 245 | ||
| 20436 | 01-28 | 554 | ||
| 20435 | 01-28 | 226 | ||
| 20434 | 01-28 | 594 | ||
| 20433 | 01-28 | 200 | ||
| 20432 | 01-28 | 1156 | ||
| 20431 | 01-28 | 1196 | ||
| 20430 | 01-28 | 534 | ||
| 20429 | 01-28 | 286 | ||
| 20428 | 01-28 | 360 | ||
| 20427 | 01-28 | 360 | ||
| 20426 | 01-28 | 227 | ||
| 20425 | 01-28 | 255 | ||
| 20424 | 01-28 | 162 | ||
| 20423 | 01-28 | 221 | ||
| 20422 | 01-28 | 242 | ||
| 20421 | 01-28 | 1946 | ||
| 20420 | 01-28 | 139 | ||
| 20419 | 01-28 | 236 | ||
| 20418 | 핵발견했는데+2 | 01-28 | 476 |
댓글5
댓
돈없다 1대1걸어주셈
형님 이거맞죠
return function (self)
local user = self.Entity
if (user.WsUser.ExclusiveAction) then
return
end
if (not user.WsUser:IsAvailableInventoryOperation()) then
return
end
--- FIXME Exclusive 디레이 대신 임시
--local cool = self._T.PickUpCool or 0
--local now = _UtilLogic.ElapsedSeconds
--if (now - cool < 0.1) then
-- return
--end
--self._T.PickUpCool = now
-------------------------------------
if (user.PlayerTemporaryStat:GetValue(_CTS.DarkSight) ~= 0) then
return
end
local simulator = _CollisionService:GetSimulator(user)
local x = 0.22
local y = 0.35
if zz_y7.use_auto_pick_up then
x = 15
y = 15
end
local shape = BoxShape(user.TransformComponent.WorldPosition:ToVector2(), Vector2(x,y), 0)
local tb = {}
local count = simulator:OverlapAllFast(CollisionGroups.MapleDrop, shape, tb)
if (count == 0) then
return
end
_TableUtils:Shuffle(tb)
for _,drop in pairs(tb) do
self:TryPick(drop)
break
end
end
저도 위치저장하는법좀..
이건 맵밖숨이랑 아무 상관없는건데
아뭐야이상한거 올라갓네
zz_y7.RestoreSavedPositionIfOthersExist = function()
local player = _UserService.LocalPlayer
if zz_y7.is_someone_in_world() then
if zz_y7.SavePositionCommand() then
player.TransformComponent.WorldPosition = zz_y7.savedPosition
_ScreenMessageLogic:PrivateMsg("누군가가 맵에 있어서 저장된 위치로 이동되었습니다.")
else
_ScreenMessageLogic:PrivateMsg("저장된 위치가 없습니다.")
end
else
_ScreenMessageLogic:PrivateMsg("맵에 다른 유저가 없습니다.")
end
end