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.
|
|
| [ask] soal variabel di RGSS2 | |
| 2011-11-01, 16:54 | [ask] soal variabel di RGSS2 |
---|
eve Loli Mecha Mesum Musume
Posts : 1620 Thanked : 30 Engine : Other Skill : Beginner Type : Writer
Awards:
| oke simpel saja ada script JOB_STATE = { 1 => ["Hero", "Actor1", 0, 137, 30, 250, 30, 20, 0, 20, 256, 30] } end bisakah nomor yang wa tebalin itu diganti dengan variabel yang bisa di set via event? atau musti make variabel global yg make tanda '$' ntu? atau malah nda bisa diganti pake variabel sama sekali? kalau memang bisa diganti pake variabel, apa variabelnya musti di deklarasikan dulu? kalau bisa, bagaimana caranya? ==== note; ini bukan akhir dari pertanyaan wa.,., tapi untuk sekarang sampai di sini aja dulu |
| | | 2011-11-01, 21:00 | Re: [ask] soal variabel di RGSS2 |
---|
Roger Novice
Posts : 191 Thanked : 3 Engine : RMVX Skill : Very Beginner Type : Scripter
| entah ini bisa membantu atau ga - Quote :
JOB_STATE = { 1 => ["Hero", "Actor1", 0, 137, 30, 250, 30, 20, 0, 20, 256, 30] } end
sepertinya itu fungsi ya?? yg ditebalin itu argument, menurut teori bisa diganti ma variabel (dan memang bisa di semua bahasa pemrograman) masalahnya ga bisa kasi tau variabel kaya apa (nama dan fungsinya) soalnya potongan script diatas kurang lengkap. Mengenai variabel yg dibikin di event, gw masi ragu2 bisa ato ga |
| | | 2011-11-01, 22:27 | Re: [ask] soal variabel di RGSS2 |
---|
Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Awards:
| smua yg ada d sono itu variable.... n YES of course bisa pake global variable ~ just simply change.... - Code:
-
JOB_STATE = { 1 => ["Hero", "Actor1", 0, 137, 30, 250, 30, 20, 0, 20, 256, 30] } end to - Code:
-
JOB_STATE = { 1 => ["Hero", "Actor1", $game_variables[ID], $game_variables[ID], $game_variables[ID], $game_variables[ID], $game_variables[ID], $game_variables[ID], $game_variables[ID], $game_variables[ID], $game_variables[ID], $game_variables[ID]] } end
$game_variables[ID] (ID ganti dengan ID variable ny) itu udah ID variable yg langsung bisa d set dari event.... JUST make sure para variable trsebut nilai ny udah d deklarasiin (jangan biarin 0) ~ |
| | | | Re: [ask] soal variabel di RGSS2 |
---|
Sponsored content
| | | | | [ask] soal variabel di RGSS2 | |
|
Similar topics | |
|
Similar topics | |
| |
Halaman 1 dari 1 | |
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
Latest 10 Topics | [Web Novel] Gloria Infidelis 2016-11-17, 21:27 by LightNightKnight
[Announcement] Forum baru untuk RMID 2016-08-25, 16:39 by TheoAllen
Where I'm Wrong ? 2016-07-24, 16:10 by ReydVires
flakeheartnet's Resources part III 2016-07-08, 14:30 by flakeheartnet
Keira's Art Warehouse 2016-06-28, 19:27 by KeiraBlaze
Theo Core Time System + Bingung 2016-06-27, 16:24 by Lockin
Error Script, Maybe ? 2016-06-27, 16:20 by Lockin
Nusaimoe @ RMID Lounge 2016-06-21, 05:02 by Jihad Bagas
Call Random Battle 2016-06-15, 17:04 by Lockin
Flakeheartnet Resources Part II [come back gift] 2016-06-07, 15:51 by flakeheartnet
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|
|
|