Home

RPG Maker 반Advanced Classroom › 아이템 한번에 받기

 운 | 2014.08.24 20:53:53 | Skip to menu Write
한번에 아이템받기 입니다.
$game_party.gain_ㅁㅁㅁㅁ(템ID,갯수)
포문에서 for all in 0... 다음에는 아이템 0번에서~ 몇번까지 줄수있습니다.

사용법은 이벤트 - 스크립트 입니다.

[아이템]
for all in 0...600 #600번까지
$game_party.gain_item(all,1)
end

[방어구]
for all in 0...$data_armors.size
$game_party.gain_armor(all,1)
end

[무기]
for all in 0...$data_weapons.size
$game_party.gain_weapon(all,1)
end

Write a comment

  • Attach Images or Files

    Maximum File Size : 0MB (Allowed extentsions : *.*)

    0 file(s) attached ( / )