RPGMakerID
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Komunitas RPG Maker Indonesia
 
IndeksIndeks  Latest imagesLatest images  PencarianPencarian  PendaftaranPendaftaran  Login  
Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.

 

 [SOLVED] Location window

Go down 
3 posters
PengirimMessage
Sora astral
Novice
Novice
Sora astral


Level 5
Posts : 293
Thanked : 0
Engine : Multi-Engine User
Skill : Beginner
Type : Developer

[SOLVED] Location window Empty
PostSubyek: [SOLVED] Location window   [SOLVED] Location window Empty2009-06-14, 10:30

Tadi nyoba pake skrip yg da d rrr, ngambilnya dah lama tpi bru d coba sekarang...
masalahnya d bris printah yg trakhir:
self.contents.draw_teks(0, 32, 120, 25, @game_map.name.to_s, 2)
muncul pesan error :
undefined method name for nil:NilClass

dri tadi nyari game_map gak ketemu2, pa da yg tau gimana benerinnya? ato da yg punya skrip lokasi yg sma? d rrr g da yg komplen ato ngoreksi lagi...
Kembali Ke Atas Go down
http://Www.soraastral.wordpress.com
bradhawk
Admin
Admin
bradhawk


Level 5
Posts : 637
Thanked : 8
Skill : Beginner

[SOLVED] Location window Empty
PostSubyek: Re: [SOLVED] Location window   [SOLVED] Location window Empty2009-06-14, 14:09

gw sbage scripter yg intermediate nyoba njawab, gini
Code:
self.contents.draw_teks(0, 32, 120, 25, @game_map.name.to_s, 2)
salah syntax boz, sharusnyah
Code:
self.contents.draw_text(0, 32, 120, 25, @game_map.name.to_s, 2)

hmm...ada lagi yg salah, itu rencana mau kasih nama map ?
pertama-tama copas di bawah ini di awal script...
Code:
class Game_Map

  def name
    $map_infos[@map_id]
  end

end

class Scene_Title
  $map_infos = load_data("Data/MapInfos.rxdata")
  for key in $map_infos.keys
  $map_infos[key] = $map_infos[key].name
end
end
dan panggilnyah dengan cara
Code:
self.contents.draw_text(0, 50, 160, 32, $game_map.name.to_s)

terakhir, semua tak ambil dr script ku...
Kembali Ke Atas Go down
http://bradhawk.byethost3.com
Notorius
Veteran
Veteran
Notorius


Level 5
Posts : 1408
Thanked : 0
Engine : RMVX
Skill : Intermediate
Type : Event Designer

[SOLVED] Location window Empty
PostSubyek: Re: [SOLVED] Location window   [SOLVED] Location window Empty2009-06-14, 14:17

HAAAAA?
self.contents.draw_teks(0, 32, 120, 25, @game_map.name.to_s, 2)
Kembali Ke Atas Go down
Sora astral
Novice
Novice
Sora astral


Level 5
Posts : 293
Thanked : 0
Engine : Multi-Engine User
Skill : Beginner
Type : Developer

[SOLVED] Location window Empty
PostSubyek: Re: [SOLVED] Location window   [SOLVED] Location window Empty2009-06-14, 17:14

Berhasil! makasih om brad!
hehe... Yg kta teks itu sbenernya dah bner, sya ja yg slah nulis d sine hhehe...
ternyata mang bner blum da game_map nya pas dah ikutin resep om brad langsung nongol teksnya...
Kembali Ke Atas Go down
http://Www.soraastral.wordpress.com
Notorius
Veteran
Veteran
Notorius


Level 5
Posts : 1408
Thanked : 0
Engine : RMVX
Skill : Intermediate
Type : Event Designer

[SOLVED] Location window Empty
PostSubyek: Re: [SOLVED] Location window   [SOLVED] Location window Empty2009-06-14, 19:08

Hebad hebad!! Prok²!

Nah, karena ini sudah terselesaikan, Sora Astral, tidak apa2 ini di LOCK? (BTW udah gw kasih [SOLVED])
Kembali Ke Atas Go down
Sponsored content





[SOLVED] Location window Empty
PostSubyek: Re: [SOLVED] Location window   [SOLVED] Location window Empty

Kembali Ke Atas Go down
 
[SOLVED] Location window
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» [SOLVED]Scroll window
» [Solved] bikin Window sendiri
» [SOLVED]masalah window database RMVX ace
» [SOLVED] Cara draw sprite di bettle window
» Kuro Change Player Location V.1.1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Scripts & Event Systems :: RMXP Scripts :: RGSS Request :: RGSS Request Archive-
Navigasi: