채팅0

    형들 스크립트에 버프 추가하는것좀..

    조회수 248
        zz_y7.buff_func = function(self)
            if zz_y7.use_buff then
                _PlayerActiveSkillLogic:DoActiveSkill(_UserService.LocalPlayer, 21001003, 20, output200,0)
            end
        end

    ㅇ이거 아닌가 ㅠㅠ 검색해서 봐도 안되네..


    글고 스킬코드에 슬블넣고하는데 모든스킬이 슬블만 나가고 다른게 아나가는거 이거 수정법좀 알려줄 형님구해요 ㅠ

    댓글2

    회원프로필

    [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, 30)  --30은 반복시간초
    else
    _TimerService:ClearTimer(zz_y7.auto_buff_timer)
    end
    print_toggle_message(zz_y7_const.BUFF, zz_y7.use_buff)
    end,

    CommandLogic_Client.OnBeginPlay에도 이런식으로 추가하고 zz_y7_const에도 명령어 추가하고 함수를 실행해줘야죠

    2024.01.30 19:14
    회원프로필

    어제 봤어야는데 오늘봐버렸네.. CommandLogic 요기도 넣긴했는데 잘못넣었나..확인을못하네이제 ㅠㅋㅋㅋㅋ

    2024.01.31 10:47

      게시글 리스트
      제목작성자작성일조회
      공지10-2022382
      6179212-28209
      6179112-28286
      6179012-26549
      6178912-25676
      6178812-25635
      6178712-24922
      6178612-231254
      6178512-221267
      6178412-221403
      6178312-221236
      6178212-211311
      6178112-211475
      6178012-211393
      6177912-191593
      6177812-181685
      6177712-182291
      6177612-162198
      6177512-142290
      6177412-142672
      안내 배너 이미지