zz_y7.buff_func = function(self)
if zz_y7.use_buff then
_PlayerActiveSkillLogic:DoActiveSkill(1101006, false)
_PlayerActiveSkillLogic:DoActiveSkill(11101001, false)
end
end
분노는 되는데 부스터가 안돼서 여쭤봅니다ㅠㅠ
2개 추가할려면 위에처럼 한줄만 추가해서 스킬코드 넣으면 되나요?
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22377 | |
| 61790 | 12-26 | 209 | ||
| 61789 | 12-25 | 309 | ||
| 61788 | 12-25 | 315 | ||
| 61787 | 12-24 | 590 | ||
| 61786 | 12-23 | 870 | ||
| 61785 | 12-22 | 921 | ||
| 61784 | 12-22 | 1032 | ||
| 61783 | 12-22 | 916 | ||
| 61782 | 12-21 | 998 | ||
| 61781 | 12-21 | 1151 | ||
| 61780 | 12-21 | 1074 | ||
| 61779 | 12-19 | 1273 | ||
| 61778 | 12-18 | 1376 | ||
| 61777 | 12-18 | 1928 | ||
| 61776 | 12-16 | 1881 | ||
| 61775 | 12-14 | 1987 | ||
| 61774 | 12-14 | 2347 | ||
| 61773 | 12-14 | 2242 | ||
| 61772 | 12-13 | 2107 |
댓글10
어디다가 추가하면되나요 알려주세요 저도..
CommandLogic_Client.OnBeginPlay 메모장 들어가서
명령어 local zz_y7_const = 안에 BUFF = "버프"; 추가
------------------- Toggle Cheats ------------------- 밑에
[zz_y7_const.BUFF] = function(self)
zz_y7.use_buff = not zz_y7.use_buff
if zz_y7.use_buff then
zz_y7.auto_buff_timer = _TimerService:SetTimerRepeat(zz_y7.buff_func, 10)
else
_TimerService:ClearTimer(zz_y7.auto_buff_timer)
end
print_toggle_message(zz_y7_const.BUFF, zz_y7.use_buff)
end, 넣고
--------- custom functions --------- 밑에
zz_y7.buff_func = function(self)
if zz_y7.use_buff then
_PlayerActiveSkillLogic:DoActiveSkill(2001002, false)
end
end
넣으면 끝 2001002는 스킬코드라 알아서 바꾸면 됨
zz_y7.auto_buff_timer = _TimerService:SetTimerRepeat(zz_y7.buff_func, 10) 10은 초단위라
시간 알아서 넣으면 끝
나 성공함. 버프2개 넣는거
BUFF1, BUFF2로 구분해서 함수를 2개 넣어야 되는데
const.BUFF1
use_buff1
auto_buff_timer1
zz_y7.buff_func1
이렇게 변수를 넣고 2는 2대로 넣고 custom function에서는 2번째 버프 스킬코드 바꿔주면됨 ㅎㅎ
도움 받아서 나도 남겨줌
하라는대로 했는데 버프 한개도 안써여 그래서 두개쓰는거 시도를 못해여 ㅋㅋ
1:1좀 부탁...하라는대로했는데 진짜 암것도 안되여
오 감사합니다 이따가 한번 해볼게요!!
선생님 정말 죄송하지만...말씀하신대로 그대로했는데도 안됩니다;;;
무슨문제일까요 ㅠㅠㅠㅠ......
[zz_y7_const.BUFF1] = function(self)
zz_y7.use_buff1 = not zz_y7.use_buff1
if zz_y7.use_buff1 then
zz_y7.auto_buff_timer1 = _TimerService:SetTimerRepeat(zz_y7.buff_func1, 10)
else
_TimerService:ClearTimer(zz_y7.auto_buff_timer1)
end
print_toggle_message(zz_y7_const.BUFF1, zz_y7.use_buff1)
end,
[zz_y7_const.BUFF2] = function(self)
zz_y7.use_buff2 = not zz_y7.use_buff2
if zz_y7.use_buff2 then
zz_y7.auto_buff_timer2 = _TimerService:SetTimerRepeat(zz_y7.buff_func2, 10)
else
_TimerService:ClearTimer(zz_y7.auto_buff_timer2)
end
print_toggle_message(zz_y7_const.BUFF2, zz_y7.use_buff2)
end,
이렇게작성했습니다 ㅠㅠ
알려주신대로 해봤는데 buff1 buff2 두개로 설정했는데 버프 1개도 안 쓰네요
혹시 코드 다 적어주실 수 있나요?
혹시 물약은 어떻게 추가해야되는지 아시나요?
스피어 부스터는 코드가 뭔지 아시나요