blueprint

렙업 블루프린트

  • Exposure: public
  • UE Version: 5.0

lastime1650

October 24, 2022, 3:53 am

Click the button above, it will automatically copy blueprint in your clipboard. Then in Unreal Engine blueprint editor, paste it with ctrl + v

1 comment

  • lastime1650

    October 24, 2022, 3:58 am

    Important Var = 레벨(int), 현재_레벨_경험치량(float), 현재_레벨_경험치최대량(float)

    ( Float 인 이유는 UI에서 Processbar에 업데이트하기 위해서 )

    이벤트에서 경험치량을 받고 "현재_레벨_경험치량"변수에 누적시킨다.

    그러다가 "현재_레벨_경험치량" 수치가 "현재_레벨_경험치최대량"수치 "이상"이 된 경우 "레벨업"이 된 경우이므로, 레벨(int)를 increase 시키고, "현재_레벨_경험치량"을 다시 0으로 초기화하고, "현재_레벨_경험치최대량"을 "5000 수치"를 더하여 "한도를 늘린다"