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.

Share | 
 

 [SOLVED] Location window

Topik sebelumnya Topik selanjutnya Go down 
[SOLVED] Location window Empty2009-06-14, 10:30
Post[SOLVED] Location window
#1
Sora astral 
Novice
Novice
Sora astral

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

[SOLVED] Location window Vide
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...
[SOLVED] Location window Empty2009-06-14, 14:09
PostRe: [SOLVED] Location window
#2
bradhawk 
Admin
Admin
bradhawk

Level 5
Posts : 637
Thanked : 8
Skill : Beginner

[SOLVED] Location window Vide
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...
[SOLVED] Location window Empty2009-06-14, 14:17
PostRe: [SOLVED] Location window
#3
Notorius 
Veteran
Veteran
Notorius

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

[SOLVED] Location window Vide
HAAAAA?
self.contents.draw_teks(0, 32, 120, 25, @game_map.name.to_s, 2)
[SOLVED] Location window Empty2009-06-14, 17:14
PostRe: [SOLVED] Location window
#4
Sora astral 
Novice
Novice
Sora astral

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

[SOLVED] Location window Vide
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...
[SOLVED] Location window Empty2009-06-14, 19:08
PostRe: [SOLVED] Location window
#5
Notorius 
Veteran
Veteran
Notorius

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

[SOLVED] Location window Vide
Hebad hebad!! Prok²!

Nah, karena ini sudah terselesaikan, Sora Astral, tidak apa2 ini di LOCK? (BTW udah gw kasih [SOLVED])
[SOLVED] Location window Empty
PostRe: [SOLVED] Location window
#6
Sponsored content 




[SOLVED] Location window Vide
 

[SOLVED] Location window

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

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