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
추가하면
/버프명령어로됨
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 27031 | 02-02 | 1278 | ||
| 27030 | 02-02 | 336 | ||
| 27029 | 02-02 | 368 | ||
| 27028 | 02-02 | 203 | ||
| 27027 | 02-02 | 184 | ||
| 27026 | 로클 꿀맞음?+1 | 02-02 | 410 | |
| 27025 | 02-02 | 353 | ||
| 27024 | 02-02 | 403 | ||
| 27023 | 02-02 | 967 | ||
| 27022 | 02-02 | 283 | ||
| 27021 | H메소 빨리팔게+6 | 02-02 | 339 | |
| 27020 | 02-02 | 301 | ||
| 27019 | 02-02 | 432 | ||
| 27018 | 70썬콜 계정+10 | 02-02 | 429 | |
| 27017 | 02-02 | 192 | ||
| 27016 | 02-02 | 269 | ||
| 27015 | 02-02 | 1269 | ||
| 27014 | 02-02 | 562 | ||
| 27013 | 02-02 | 254 | ||
| 27012 | 02-02 | 316 |
댓글2
자사안키면 잘되는데 자사키면 바로십히네 ㅠ
지가 쓴것마냥 글 그대로 복붙해서 가져왔놐ㅋㅋㅋ