ashm Veteran
Posts : 1131 Thanked : 8 Engine : RMVX Ace Skill : Intermediate Type : Event Designer
Trophies
Awards:
| Subyek: [ask] script one-life-time encounter 2012-03-04, 13:37 | |
| Ashm mau nanya, ada gak script buat one life time random encounter. Jadi cara kerjanya kira2 begini. Kita setting biar index tertentu di tab "troop" cuma bisa sekali encounter. Tapi encounternya lewat random encounter biasa. Kalo diumpamakan kayak Golden sun series. Kita mengumpulkan djinn (summon spirit) lewat event (reward), battle event (action button > battle processing), ama random encounter (beneran random dan cuman sekali). Kalo kurang paham juga... Mirip kayak pokemon tuh pas nyari entei, suicune, raikou, latios, latias. - Spoiler:
kalo belum ada, ane request deh. Kalo gak mudeng, ane ada gambaran nya.
Bikin module konfigurasi: ID => [a,b,c]
ID : index di troop utk musuh yg cuman sekali encounter a : switch. kalo on, gak perlu lagi encounter b : index di troop utk musuh pengganti seandainya switch tsb udah on. c : (opsional, gak perlu ada). Boolean. True : kalo run, switch bakal tetep off (bisa ketemu lagi. Darah penuh lagi gak apa) False : beneran one life time encounter. Kalo lari, gak bakal ktemu lagi.
Jadi cara kerjanya, saat random encounter transition. 1. Si vx bakal ngecek apakah troop yg bakal di ajak battle, ID nya termasuk hash di atas gak. 2. Kalo ia, bakal ngecek switch nya on ato off. Kalo nggak, random encounter biasa. 3. Kalo off si troop itu artinya belum pernah ketemu. Maka battle deh. 4. Kalo on, itu artinya pernah ketemu. Maka troop tsb battlenya di ganti dgn Troop berindex b
kalo mau cari di mbah gugle, apa ya keyword nya? | |
|
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Trophies
Awards: | Subyek: Re: [ask] script one-life-time encounter 2012-03-04, 17:28 | |
| | |
|
ashm Veteran
Posts : 1131 Thanked : 8 Engine : RMVX Ace Skill : Intermediate Type : Event Designer
Trophies
Awards:
| Subyek: Re: [ask] script one-life-time encounter 2012-03-04, 19:25 | |
| Solved. Silahkan dilock | |
|
Sponsored content
| Subyek: Re: [ask] script one-life-time encounter | |
| |
|