CommandLogic_Client.OnBeginPlay.lua
명령어부분에
이거추가하고
BUFF = "버프";
self.ClientCommands 안에
[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, 버프시간)
else
_TimerService:ClearTimer(zz_y7.auto_buff_timer)
end
print_toggle_message(zz_y7_const.BUFF, zz_y7.use_buff)
end,
추가한다음
WsUser.OnUserLoadedOnClient.lua 파일안에
느낌가는곳에
zz_y7.buff_func = function(self)
if zz_y7.use_buff then
_PlayerActiveSkillLogic:DoActiveSkill(버프스킬코드, false)
end
end
추가하면
/버프명령어로됨
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22377 | |
| 61790 | 12-26 | 192 | ||
| 61789 | 12-25 | 291 | ||
| 61788 | 12-25 | 300 | ||
| 61787 | 12-24 | 576 | ||
| 61786 | 12-23 | 854 | ||
| 61785 | 12-22 | 906 | ||
| 61784 | 12-22 | 1016 | ||
| 61783 | 12-22 | 901 | ||
| 61782 | 12-21 | 983 | ||
| 61781 | 12-21 | 1137 | ||
| 61780 | 12-21 | 1060 | ||
| 61779 | 12-19 | 1258 | ||
| 61778 | 12-18 | 1361 | ||
| 61777 | 12-18 | 1913 | ||
| 61776 | 12-16 | 1866 | ||
| 61775 | 12-14 | 1973 | ||
| 61774 | 12-14 | 2332 | ||
| 61773 | 12-14 | 2227 | ||
| 61772 | 12-13 | 2093 |
댓글2
자사안키면 잘되는데 자사키면 바로십히네 ㅠ
지가 쓴것마냥 글 그대로 복붙해서 가져왔놐ㅋㅋㅋ