|
| kk mau tanya nih, random item kk | |
|
+2LightNightKnight pram12345 6 posters | Pengirim | Message |
---|
pram12345 Newbie
Posts : 59 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Databaser
| Subyek: kk mau tanya nih, random item kk 2011-12-05, 08:36 | |
| kak, saya ada tambahan event nih buat proyek saya, dan sekarang lagi nge stuck soalnya ga ngerti gimana cara bikin 'ini' kk, kk kk senior yg bisa bantuin saya please ^^
1. si player dapat barang, namanya "kotak ajaib", nah, dalam kotak ajaib ini ada barang2nya kk, misal (meat, potion, apple) tapi pas dibuka cuma dapat salah satu dari barang2 tersebut (secara random gitu) ada yg tau ga kk gmn caranya? logikanya, kotak ini akan memberikan barang secara random
dan juga...
2. ada quest... si nenek minta dibawain 10 potion, potion ini hanya drop dari monster slime. Nah, gimana caranya biar kalo si player cuma ada 5 potion di backpage ga bakal bisa menyelesaikan ni quest, gimana kk? udah ta coba tetep ga berhasil T_T sy udah pake event conditional brach kk.. hiks T_T di backpage sy ada 3 potion tapi tetep aja bisa diselesaikan... huweeee
ohya, arigato gozaimasu ^^ | |
| | | LightNightKnight Topeng Buaya
Posts : 799 Thanked : 6 Engine : RMVX Skill : Intermediate Type : Developer
| Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 09:16 | |
| buat yg 1st case : set variable (nomer brapa aja) dengan pilihan random number dari 0-2 lalu set conditional branch if variable (yg barusan di set) = 0 change item meat +1 else set conditional branch lagi dst~ buat yg 2nd case : pertama set variable dlu (nomer brapa aja) dengan option item = potion baru set conditional branch jgn lupa conditional branch ny pake yg variable, bukan item that's all | |
| | | nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Trophies
Awards:
| Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 11:18 | |
| - pram12345 wrote:
- Ada quest... si nenek minta dibawain 10 potion, potion ini hanya drop dari monster slime. Nah, gimana caranya biar kalo si player cuma ada 5 potion di backpage ga bakal bisa menyelesaikan ni quest, gimana kk? udah ta coba tetep ga berhasil T_T sy udah pake event conditional brach kk.. hiks T_T di backpage sy ada 3 potion tapi tetep aja bisa diselesaikan... huweeee
Loh, jelas aja dong 3 potion berhasil, wong persyaratan gagalnya cuma kalo ada 5 potion di tas | |
| | | LightNightKnight Topeng Buaya
Posts : 799 Thanked : 6 Engine : RMVX Skill : Intermediate Type : Developer
| Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 11:44 | |
| @nis lu jadi buta vocabulary indonesia apa gimana? itu kan dia pengen e kalo 5 pot gagal quest, sedangkan pas dia coba dapet 3 pot aja quest berhasil yg dia pengen tu "selesai dengan persyaratan tertentu" | |
| | | nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Trophies
Awards:
| | | | McPherson Senior
Posts : 777 Thanked : 7 Engine : Multi-Engine User Skill : Intermediate Type : Mapper
Trophies
Awards:
| Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 12:41 | |
| @Ts ayoloh, uda bikin 2 org brdebat, wkwk mungkin maksud prtanyaanmu d case k 2 sperti inikah : Seorang Nenek minta dbawakan 10 potion, dan potion tsb hanya drop dr Slime, dan bgaimana kalo kita bawa 10 potion/lebih brhasil mnyelesaikan quest sdangkan kurang dr itu, gagal quest..
sperti yg uda d jwb ama yg d atas, pake conditional branch dngn variable equal / greater than.. bgitulah
anyways kalo ud solved, kasi tau dong.. | |
| | | nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Trophies
Awards:
| | | | pram12345 Newbie
Posts : 59 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Databaser
| Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 15:00 | |
| terus, gimana caranya biar potion itu nambah 1 variable??? (2nd case) misalnya nih...
event si nenek... "conditional branch" variable "potion = greater or equal - 10" potion -10
kayak gitu kan maksudnya??? udah aku gituin kak... TAPI... jika misal 1 potion nambah 1 variable, trus, gimana cara settingnya biar potion tsb nambah 1 variable???kan ni potion ngedrop dari slime (alias musti membunuh slime dulu!) 'kalo' misal ni potion nemu di jalan, mungkin bisa... gimana nih kak T_T | |
| | | Savoxit Si Rambut Perak
Posts : 468 Thanked : 10 Engine : RMVX Skill : Intermediate Type : Artist
Trophies
Awards: | Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 15:57 | |
| kalo nyetting monster yang nge-drop potion, maka di database monster itu atur dropped itemnya jadi potion kalo misal nemu potion di jalan, tinggal add item potion gitu aja hope this help ~~ | |
| | | pram12345 Newbie
Posts : 59 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Databaser
| Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 16:41 | |
| oke deh kak ^^ makasih banyak ya... | |
| | | nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Trophies
Awards:
| Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 18:04 | |
| Err.... Kayanya jawaban Savoxit salah deh IMO Coba gini, di event yang lu bikin, diatas "conditional branch potion = 10", bikin event "Control variable [potion] = item in bag, [potion]" Nanti otomatis variable potion akan sama jumlahnya dengan jumlah item potion yang player punya, jadi ga usah ditambah2 lagi variable potionnya. Hope this helps | |
| | | acethewolf Newbie
Posts : 29 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Event Designer
| Subyek: Re: kk mau tanya nih, random item kk 2011-12-05, 22:20 | |
| untuk 2nd case, jadi gini aja. di eventnya sebelum di cek make conditional branch yg "if variable potion is greater to or equal than = 10", dibuat event command control variable dan disamain sama item potion di inventory. jadinya nanti kira2 "control variable: [0001:potion] = [potion] in inventory" baru nanti dicek sama "conditional branch: Variable [0001:potion] >= 10" jadi ngga perlu repot2 nambahin +1 ke variable potion krn otomatis kalo belum dapet minimal 10 ngga jalan ^^ kalo yg 1st case caranya udah tepat banget sama yg dbilang om lightnightknight --------------------------------------------------------- EDIT : ah ternyata udah disampein sama om nisamerica diatas. maaf om saya ngga ngeh | |
| | | Sponsored content
| Subyek: Re: kk mau tanya nih, random item kk | |
| |
| | | | kk mau tanya nih, random item kk | |
|
Similar topics | |
|
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
| Latest topics | » [Web Novel] Gloria Infidelis by LightNightKnight 2016-11-17, 21:27
» [Announcement] Forum baru untuk RMID by TheoAllen 2016-08-25, 16:39
» Where I'm Wrong ? by ReydVires 2016-07-24, 16:10
» flakeheartnet's Resources part III by flakeheartnet 2016-07-08, 14:30
» Keira's Art Warehouse by KeiraBlaze 2016-06-28, 19:27
» Theo Core Time System + Bingung by Lockin 2016-06-27, 16:24
» Error Script, Maybe ? by Lockin 2016-06-27, 16:20
» Nusaimoe @ RMID Lounge by Jihad Bagas 2016-06-21, 05:02
» Call Random Battle by Lockin 2016-06-15, 17:04
» Flakeheartnet Resources Part II [come back gift] by flakeheartnet 2016-06-07, 15:51
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|