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.
|
|
| kk mau tanya nih, random item kk | |
| 2011-12-05, 08:36 | kk mau tanya nih, random item kk |
---|
pram12345 Newbie
Posts : 59 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Databaser
| 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 ^^ |
| | | 2011-12-05, 09:16 | Re: kk mau tanya nih, random item kk |
---|
LightNightKnight Topeng Buaya
Posts : 799 Thanked : 6 Engine : RMVX Skill : Intermediate Type : Developer
| 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 |
| | | 2011-12-05, 11:18 | Re: kk mau tanya nih, random item kk |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| - 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 |
| | | 2011-12-05, 11:44 | Re: kk mau tanya nih, random item kk |
---|
LightNightKnight Topeng Buaya
Posts : 799 Thanked : 6 Engine : RMVX Skill : Intermediate Type : Developer
| @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" |
| | | 2011-12-05, 12:23 | Re: kk mau tanya nih, random item kk |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| - LightNightKnight wrote:
- itu kan dia pengen e kalo 5 pot gagal quest, sedangkan pas dia coba dapet 3 pot aja quest berhasil
Loh ya jelas dong, kalo dapat 5 potion gagal quest, berarti selain 5 pot berhasil dong |
| | | 2011-12-05, 12:41 | Re: kk mau tanya nih, random item kk |
---|
McPherson Senior
Posts : 777 Thanked : 7 Engine : Multi-Engine User Skill : Intermediate Type : Mapper
Awards:
| @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.. |
| | | 2011-12-05, 13:06 | Re: kk mau tanya nih, random item kk |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| Nah, ini baru tepat Anyway, kk Pram sudah mengerti belum cara pemakaian variable dan conditional branch? Kalo belum sebaiknya dipelajari dulu karena ga mungkin ngerti penjelasan di atas tanpa pemahaman yang baik |
| | | 2011-12-05, 15:00 | Re: kk mau tanya nih, random item kk |
---|
pram12345 Newbie
Posts : 59 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Databaser
| 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 |
| | | 2011-12-05, 15:57 | Re: kk mau tanya nih, random item kk |
---|
Savoxit Si Rambut Perak
Posts : 468 Thanked : 10 Engine : RMVX Skill : Intermediate Type : Artist
Awards:
| 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 ~~ |
| | | 2011-12-05, 16:41 | Re: kk mau tanya nih, random item kk |
---|
pram12345 Newbie
Posts : 59 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Databaser
| oke deh kak ^^ makasih banyak ya... |
| | | 2011-12-05, 18:04 | Re: kk mau tanya nih, random item kk |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| 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 |
| | | 2011-12-05, 22:20 | Re: kk mau tanya nih, random item kk |
---|
acethewolf Newbie
Posts : 29 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Event Designer
| 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 |
| | | | Re: kk mau tanya nih, random item kk |
---|
Sponsored content
| | | | | kk mau tanya nih, random item kk | |
|
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 ]
|
|
|
|
|
|