xlcoralx Newbie
Posts : 60 Thanked : 0 Engine : RMVX Skill : Beginner Type : Mapper
| Subyek: Membuka pintu 2011-01-03, 11:30 | |
| Gimana ya caranya membuat sebuah pintu yg bisa terbuka kalau kita pake kunci (objek lain). itu pake scrip atau event saja? | |
|
hart Senior
Posts : 805 Thanked : 38 Engine : Other Skill : Very Beginner Type : Developer
| Subyek: Re: Membuka pintu 2011-01-03, 11:35 | |
| Pake event aja gan.. bikin 1 item kunci. Terus di event pintu, bikin conditional branch, bila ada item kunci itu maka pintunya terbuka. | |
|
nasgor Senior
Posts : 711 Thanked : 3 Engine : RM2k3 Skill : Skilled Type : Writer
| Subyek: Re: Membuka pintu 2011-01-03, 11:36 | |
| event donk . tp apa yg kamu maksud begini..
ada pintu X yang terkunci
kalau kamu ngak punya kunci >> The Door is lock!! The shield symbol carved in the handle
kalau kamu dah punya kunci tapi belum melewatinya >> U unlocked the Dor.. Cleck
kalau kuncinya ngak ada tapi udah melewati >> Cleck
????
| |
|
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Trophies
Awards: | Subyek: Re: Membuka pintu 2011-01-03, 11:46 | |
| kyk gini aja (kalo XP yah) - Code:
-
Conditional Branch : [Key] in inventory Conditional Branch : Self Switch A is On Label : Pintukebuka Play SE : 024-Door01 (ini buat sound effectnya) Set move route : This event : Graphic 170-Door01 frame 0,4,2 wait 4 frame Graphic 170-Door01 frame 0,6,2 wait 4 frame Graphic 170-Door01 frame 0,8,2 Wait 20 Frame Set move route : Player : Through On Move Up Move Up Move Up Move Up Through Off Wait 20 Frame Transfer Player : (Kemana kek terserah) else Play SE : 032-Switch01 (Sound effect pas buka kunci) Wait 10 Frame Text : Kunci pintu sudah dibuka Self Switch A On Jump To Label : Pintukebuka else Text : Pintunya terkunci end
| |
|
Sponsored content
| Subyek: Re: Membuka pintu | |
| |
|