채팅0

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

    조회수 245
        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

      게시글 리스트
      제목작성자작성일조회
      2283401-30246
      2283301-30157
      2283201-30274
      2283101-30327
      2283001-30266
      2282901-30170
      2282801-30239
      2282701-30220
      2282601-301320
      2282501-30583
      2282401-30233
      2282301-30187
      2282201-30425
      2282101-30288
      2282001-301993
      2281901-30360
      2281801-30398
      2281701-30161
      2281601-30354
      2281501-30280
      안내 배너 이미지