| [Solved] conditional branch | |
|
|
Pengirim | Message |
---|
aidilriski Senior
Posts : 643 Thanked : 2 Engine : Multi-Engine User Type : Mapper
| Subyek: [Solved] conditional branch 2012-06-16, 13:24 | |
| kk senior, saya mau nanya, gimana sih cara bikin conditional branch di event yang kalo uangnya kurang dari variable sekian gak bisa? mohon ampunannya bantuannya | |
|
| |
EmperorAlan Senior
Posts : 622 Thanked : 5 Engine : RMVX Ace Skill : Very Beginner Type : Developer
| Subyek: Re: [Solved] conditional branch 2012-06-16, 13:30 | |
| Ya atur aja, misalnya perlu 100 Gold. Ya kamu atur supaya Less than 100 Gold, bikin sekalian ELSE case jika kita punya lebih dari 100 gold.
Maaf jika membingungkan, Thnx. | |
|
| |
aidilriski Senior
Posts : 643 Thanked : 2 Engine : Multi-Engine User Type : Mapper
| Subyek: Re: [Solved] conditional branch 2012-06-16, 13:38 | |
| bkan gitu kk, mksud saya, di itu lebih dari variable tertentu, bukan kita tentuuin sendiri | |
|
| |
EmperorAlan Senior
Posts : 622 Thanked : 5 Engine : RMVX Ace Skill : Very Beginner Type : Developer
| Subyek: Re: [Solved] conditional branch 2012-06-16, 15:16 | |
| Ah, saya sedang tidak bisa tidak bisa buka VX di laptop saya, jadi cmiiw. Coba ingat, pas mau nambah atau ngurangin uang, coba store amount-nya di salah satu variable. Baru lakukan lagi langkah yang tadi tapi money-nya diganti dengan variable.
Thnx. | |
|
| |
yukitou Newbie
Posts : 61 Thanked : 1 Engine : Multi-Engine User Skill : Beginner Type : Artist
| Subyek: Re: [Solved] conditional branch 2012-06-16, 18:26 | |
| apa maksud anda seperti ini? - Code:
-
@> Control Variable: [001:A] = Gold *[1] @> Conditional Branch: Variable [001:A] >= Variable [002:B] *[2] @> *[3] : Else @> *[4] : Branch End *[1] set variable A jadi sama dengan Gold *[2] Kondisikan Variable A (Gold) lebih besar dari Variable B *[3] & *[4] sudah tahukan ini fungsinya apa? | |
|
| |
aidilriski Senior
Posts : 643 Thanked : 2 Engine : Multi-Engine User Type : Mapper
| Subyek: Re: [Solved] conditional branch 2012-06-16, 22:36 | |
| okedeh, makasih om yukitou, monggo yg baek hati di ksi thanked. om momod bisa lock ini trit | |
|
| |
LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Trophies
Awards:
| Subyek: Re: [Solved] conditional branch 2012-06-16, 22:53 | |
| Berhubung udah solved dan saya lihat sepertinya tidak ada yang ingin ditambahkan lagi, maka saya akan me-lock thread ini. Kalau TS atau member lain ingin menambahkan, harap hubungi admin atau moderator setempat. Terima kasih.
~Locked Since Solved~ | |
|
| |
Sponsored content
| Subyek: Re: [Solved] conditional branch | |
| |
|
| |
| [Solved] conditional branch | |
|