getsuga_kawaii Newbie
Posts : 94 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Developer
| Subyek: [SOLVED][ask] Buy Area kyk CS 2009-12-22, 09:22 | |
| mumpung lagi banyak waktu buat RMing sama buka RMID, aku mau tanya.
cara ngakalin RMXP biar ada Buy Areanya gmn yah??
maksudnya, klo kita maen CS, kita cuman bisa beli weapon, ato semacamnya di start point ato tempat kita start. buy-nya juga ga' di penjual gitu, jadi kita buy pake tombol khusus. yg aku mau tanyain, gmn yah cara ngakalin RMXP biar ada buy area tanpa event penjualnya??
Thanks >> keracunan kk Warior | |
|
rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [SOLVED][ask] Buy Area kyk CS 2009-12-22, 10:59 | |
| coba bantu ya kk... neh masukin script nih ke script kk... - Spoiler:
- Code:
-
module RUSTED # [x,y] <=== x tuh code barang, y tuh id barang # x = 0 = item, x = 1 = weapon, x = 2 = armor SHOPITEM = [[0,1],[1,1],[1,2],[2,3],[0,4],[1,5],[1,4],[2,4]] end class Interpreter def detect_tag(tag) x = $game_player.x y = $game_player.y if $game_map.terrain_tag(x, y) == tag dothing end end def dothing if Input.trigger?(Input::A) $game_temp.shop_goods = RUSTED::SHOPITEM $scene = Scene_Shop.new end end end
trus bikin common_even... set jadi paralel proses trus di evennya pilih script... ketik detect_tag(x) <<<== x = tag yang mau di detect bis tuh pilih trigger switchnya... jadi klo trigger switchnya nyala... tuh tag bakal di detect trus... o0o iya tambahan... tuh buat munculin shopnya pencet tombol A == > dikeyboard defaultnya Z sorry klo caranya agak ribet... sapa tau ada yang punya yang lebih simple
Terakhir diubah oleh rusted_71 tanggal 2009-12-22, 14:44, total 1 kali diubah (Reason for editing : tambahan dikit) | |
|
getsuga_kawaii Newbie
Posts : 94 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Developer
| Subyek: Re: [SOLVED][ask] Buy Area kyk CS 2009-12-22, 12:42 | |
| makasi kk rusted, @mimin: | |
|
Sponsored content
| Subyek: Re: [SOLVED][ask] Buy Area kyk CS | |
| |
|