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 | 22110 | |
| 61668 | 11-11 | 95 | ||
| 61667 | 11-11 | 114 | ||
| 61666 | 11-11 | 133 | ||
| 61665 | 11-11 | 245 | ||
| 61664 | 11-11 | 187 | ||
| 61663 | 11-11 | 302 | ||
| 61662 | 11-10 | 251 | ||
| 61661 | 11-10 | 270 | ||
| 61660 | 11-10 | 262 | ||
| 61659 | 11-10 | 300 | ||
| 61658 | 11-10 | 407 | ||
| 61657 | 11-10 | 411 | ||
| 61656 | 11-09 | 466 | ||
| 61655 | 11-09 | 430 | ||
| 61654 | 11-09 | 463 | ||
| 61653 | 11-09 | 514 | ||
| 61652 | 11-09 | 464 | ||
| 61651 | 11-09 | 520 | ||
| 61650 | 11-09 | 583 |
댓글2
자사안키면 잘되는데 자사키면 바로십히네 ㅠ
지가 쓴것마냥 글 그대로 복붙해서 가져왔놐ㅋㅋㅋ