채팅0

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

    조회수 246
        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-2022123
      6167311-1339
      6167211-1381
      6167111-1399
      6167011-13105
      6166911-13113
      6166811-13132
      6166711-13237
      6166611-12256
      6166511-12287
      6166411-12343
      6166311-11469
      6166211-11439
      6166111-11588
      6166011-11483
      6165911-11639
      6165811-10552
      6165711-10581
      6165611-10560
      6165511-10633
      안내 배너 이미지