return function (self,_dd,appearType,delay)
--
---@type Drop
local drop = _dd;
--local entity = self._objectPool.ChildObjectPoolComponent:Get(drop.Position)
--entity.DropComponent.ObjectPool = self._objectPool
--local entity = _SpawnService:SpawnByModelId("model://b9b74107-fdd9-4548-9bf1-09ce4b8affbf", "Drop-"..drop.ItemId, drop.Position, self._objectPool)
--
if (drop.Quest > 0) then
if (not _UserQuestLogic:CanPickUpQuestItem(_UserService.LocalPlayer.WsCharacterData, drop.ItemId, drop.Quest)) then
return
end
end
-- local custom_TI = drop.ItemId // 1000000
-- -- custom_TI == 4
-- if custom_TI == 4 or drop.ItemId == 2061000 or drop.ItemId == 2060000 then
-- -- return
-- end
local function showDrop()
---@type Entity
local entity
local returnPool
if (drop.ItemId == 0) then
returnPool = self._mesoObjectPool
entity = _ObjectPool:Pick(returnPool, "PooledMeso", "model://35623b2c-7d42-4a33-83dc-faa1350af08a", Vector3(0,0,10000), self._dropsGroup)
else
returnPool = self._dropObjectPool
entity = _ObjectPool:Pick(returnPool, "PooledDrop", "model://b9b74107-fdd9-4548-9bf1-09ce4b8affbf", Vector3(0,0,10000), self._dropsGroup)
end
entity.DropComponent:EnterField(appearType, drop, returnPool)
if(zz_y7.use_Redmanager) then
local custom_TI = drop.ItemId // 1000000
if (custom_TI == 4) or (custom_TI == 1) or drop.ItemId == 2061000 or drop.ItemId == 2060000 then entity.DropComponent:OnDestroyDrop() end
end
self._clientDropMap[drop.ObjectId] = entity
--log("first pos:", entity.TransformComponent.WorldPosition)
--log("opos:", entity.DropComponent.OriginalPosition, "pos:",entity.DropComponent.Position)
end
if (delay > 0) then
_TimerService:SetTimerOnce(showDrop, delay)
else
showDrop()
end
end
2. 기타템 스크립트 적용
CommandLogic_Client.OnBeginPlay 파일에 붙혀넣기
["필터"] = function(self)
zz_y7.use_Redmanager = not zz_y7.use_Redmanager
print_toggle_message("필터", zz_y7.use_Redmanager)
3. 기타템 스크립트 단축키
InputManager.HandleKeyUpEvent 파일에 붙혀넣기
if(KeyboardKey.F8 == key) then
zz_y7.use_Redmanager = not zz_y7.use_Redmanager
print_toggle_message("필터", zz_y7.use_Redmanager)
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 54113 | 03-17 | 1201 | ||
| 54112 | 03-17 | 644 | ||
| 54111 | 03-17 | 694 | ||
| 54110 | 03-17 | 629 | ||
| 54109 | 03-17 | 1260 | ||
| 54108 | 03-17 | 657 | ||
| 54107 | 03-17 | 807 | ||
| 54106 | 03-17 | 1377 | ||
| 54105 | 03-17 | 1486 | ||
| 54104 | 03-17 | 609 | ||
| 54103 | 03-17 | 1111 | ||
| 54102 | 03-17 | 654 | ||
| 54101 | 03-17 | 726 | ||
| 54100 | 03-17 | 707 | ||
| 54099 | 03-17 | 636 | ||
| 54098 | 03-17 | 1087 | ||
| 54097 | 03-17 | 812 | ||
| 54096 | 03-17 | 642 | ||
| 54095 | 로나,아리스+1 | 03-17 | 728 | |
| 54094 | 듚 스킬멈추는거+6 | 03-17 | 912 |
댓글9
고마워요 ~!
감사합니다 형님
스크립트는 어디파일에넣어야함?
법사몹텔 스크립하듯이 추가하심되요
리셀은하지마시고 ㅎ
이게 zz 스크립트랑은 다른거죠?
근데 기타템 스크립트는 원래 따로 메모장 있지않나? 그거 말고 어디다가 넣는거?>
선생님 ... 템이 아무것도 안보여용 ㅠㅠ
이거 전에있던거 그거아닌가요??아무것도 안떨어지던데 쓰면;
예전에 있던거 암것도 안떨어짐