댓 or 1:1
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22386 | |
| 61793 | 03:20 | 126 | ||
| 61792 | 12-28 | 402 | ||
| 61791 | 12-28 | 453 | ||
| 61790 | 12-26 | 693 | ||
| 61789 | 12-25 | 837 | ||
| 61788 | 12-25 | 781 | ||
| 61787 | 12-24 | 1071 | ||
| 61786 | 12-23 | 1424 | ||
| 61785 | 12-22 | 1422 | ||
| 61784 | 12-22 | 1573 | ||
| 61783 | 12-22 | 1384 | ||
| 61782 | 12-21 | 1451 | ||
| 61781 | 12-21 | 1622 | ||
| 61780 | 12-21 | 1538 | ||
| 61779 | 12-19 | 1730 | ||
| 61778 | 12-18 | 1821 | ||
| 61777 | 12-18 | 2454 | ||
| 61776 | 12-16 | 2338 | ||
| 61775 | 12-14 | 2427 |
댓글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