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.

Share | 
 

 [ASK] Battle triggered by another event touch

Topik sebelumnya Topik selanjutnya Go down 
[ASK] Battle triggered by another event touch Empty2013-07-14, 12:36
Post[ASK] Battle triggered by another event touch
#1
sanvert 
Newbie
Newbie
sanvert

Level 5
Posts : 17
Thanked : 0
Engine : RMVX Ace
Skill : Beginner
Type : Event Designer

[ASK] Battle triggered by another event touch Vide
Kakak2 sekalian, mau tanya... (I'm using RPG Maker VX Ace)

Misal ada NPC (pakai event) yang mengikuti kita
lalu ada monster (sama-sama event based, bukan random encounter)
yang menyentuh NPC tersebut, lalu kita battle dgn monster tsb.
Guide untuk eventnya bagaimana?
Apa harus pakai script?

Contoh skenario : Melindungi seseorang yang mengikuti kita dari belakang.

Terimakasih
[ASK] Battle triggered by another event touch Empty2013-07-14, 15:39
PostRe: [ASK] Battle triggered by another event touch
#2
TheoAllen 
♫ RMID Rebel ♫
♫ RMID Rebel ♫
TheoAllen

Kosong
Posts : 4935
Thanked : 63
Awards:




[ASK] Battle triggered by another event touch Vide
script kk http://himeworks.wordpress.com/2013/04/05/custom-event-triggers/ :kabur:
[ASK] Battle triggered by another event touch Empty2013-07-15, 16:45
PostRe: [ASK] Battle triggered by another event touch
#3
sanvert 
Newbie
Newbie
sanvert

Level 5
Posts : 17
Thanked : 0
Engine : RMVX Ace
Skill : Beginner
Type : Event Designer

[ASK] Battle triggered by another event touch Vide
Thx...

Saya pelajari dulu XD


*One problem...
Kalau event_to_event bisa jalan kalau di set ke Event Page NPC (yang disentuh)
Tapi waktu ditaruh di Monsternya nggak jalan (yang menyentuh).
Ada ide?


Terakhir diubah oleh sanvert tanggal 2013-07-15, 18:28, total 1 kali diubah (Reason for editing : Merge post)
[ASK] Battle triggered by another event touch Empty2013-07-16, 14:51
PostRe: [ASK] Battle triggered by another event touch
#4
fahmipisan 
Newbie
Newbie
fahmipisan

Level 5
Posts : 16
Thanked : 0
Engine : RMVX Ace
Skill : Beginner
Type : Databaser

[ASK] Battle triggered by another event touch Vide
kurang tau kk coba tanya ke yang suka bikin event :)
[ASK] Battle triggered by another event touch Empty2013-07-16, 15:34
PostRe: [ASK] Battle triggered by another event touch
#5
sanvert 
Newbie
Newbie
sanvert

Level 5
Posts : 17
Thanked : 0
Engine : RMVX Ace
Skill : Beginner
Type : Event Designer

[ASK] Battle triggered by another event touch Vide
Setelah liat-liat forum yang lain, ada ide untuk pakai script call event.
Here's the idea :
NPC disimpan koordinatnya, Monster juga disimpan koordinatnya, problemnya :
Ada cara untuk menyimpan Event ID dari koordinat map X dan Y (eventnya gerak) ke variable?

Misal ngambil event ID yang sedang ada di koordinat 19,22.

Terimakasih.
[ASK] Battle triggered by another event touch Empty2013-07-16, 16:44
PostRe: [ASK] Battle triggered by another event touch
#6
TheoAllen 
♫ RMID Rebel ♫
♫ RMID Rebel ♫
TheoAllen

Kosong
Posts : 4935
Thanked : 63
Awards:




[ASK] Battle triggered by another event touch Vide
Agak panjang kodenya seh
kek gini
Code:

$game_map.events.values.any? {|ev| ev.x == 19 && ev.y == 22}

^
disana returnnya true / false seh. digunian buat conditional branch
[ASK] Battle triggered by another event touch Empty2013-07-16, 17:15
PostRe: [ASK] Battle triggered by another event touch
#7
sanvert 
Newbie
Newbie
sanvert

Level 5
Posts : 17
Thanked : 0
Engine : RMVX Ace
Skill : Beginner
Type : Event Designer

[ASK] Battle triggered by another event touch Vide
Berhubung idenya macet:hammer: , akhirnya mutusin pakai proximity.
Thx utk kak Theo yang sudah bantu jawab.

Kalau nggak ada jawaban lain boleh di close threadnya.
[ASK] Battle triggered by another event touch Empty2013-07-16, 18:50
PostRe: [ASK] Battle triggered by another event touch
#8
Darken 
Novice
Novice
Darken

Level 5
Posts : 113
Thanked : 2
Engine : RMVX Ace
Skill : Beginner
Type : Writer
Awards:
[ASK] Battle triggered by another event touch Vide
Maksudnya agan nih buat Cutscrene gitu ?

kalo buat cutscrene
Coba pake event aja gan...


pertama buat event dimana kita akan melakukang cutscrene nya itu...
pake control switches juga boleh...
lalu buat move route : pilih monster nya , misal ( This Event : EV001 ) kasi tuh monster move route , UP/DOWN/RIGHT/LEFT sampai di NPC pengikut nya itu . Insert event : battle processing ,

setelah monster nya dibunuh , control switches 'OFF' ( agar event yang diinjek tadi hilang ) :D

( triggernya ubah jadi player touch )


Terakhir diubah oleh Darken tanggal 2013-07-16, 19:06, total 1 kali diubah
[ASK] Battle triggered by another event touch Empty2013-07-16, 18:59
PostRe: [ASK] Battle triggered by another event touch
#9
sanvert 
Newbie
Newbie
sanvert

Level 5
Posts : 17
Thanked : 0
Engine : RMVX Ace
Skill : Beginner
Type : Event Designer

[ASK] Battle triggered by another event touch Vide
Bukan, maksudnya semacam mini game. Kalau cutscene udah sering bikin.
Di mini game ini Player diikuti NPC dari belakang. (bukan follower, dan Player bebas bergerak)
Saat NPC ataupun Playernya disentuh monster kita battle.

Kalau normalnya Player Touch atau Event Touch yang jadi Trigger nya kan Player.
Di sini yang jadi Triggernya bisa NPC bisa Player.
Kalau pasang yang biasa, NPCnya jadi ngeblock movement monster.
[ASK] Battle triggered by another event touch Empty2013-07-16, 19:28
PostRe: [ASK] Battle triggered by another event touch
Darken 
Novice
Novice
Darken

Level 5
Posts : 113
Thanked : 2
Engine : RMVX Ace
Skill : Beginner
Type : Writer
Awards:
[ASK] Battle triggered by another event touch Vide
Oh gitu maksud nya...

Kalo Monster nyentuh NPC langsung battle processing kurang tau sih , yang saya tau cuma nyentuh carakter

Tapi kalo biar NPC nya ngikutin kita...
pake move toward player... trus trigger nya pake above as carakter , biar movement carakter gak di blok sama NPC
[ASK] Battle triggered by another event touch Empty2013-07-16, 20:08
PostRe: [ASK] Battle triggered by another event touch
ashm 
Veteran
Veteran
ashm

Level 5
Posts : 1131
Thanked : 8
Engine : RMVX Ace
Skill : Intermediate
Type : Event Designer
Awards:

[ASK] Battle triggered by another event touch Vide
Kan yang dilindungi ada di belakang player. berarti musuh kudu dalam range 2 tile ato kurang.
Di vx ada script biar kalo event tertentu dalam range sekian, terjadi event page nya.

Ya cuman jeleknya, kalo musuh dari depan dateng nya, walo baru jarak 2 tile tapi dah battle.
Gitu paling yang ane pikirin mah. CMIIW :woke:
[ASK] Battle triggered by another event touch Empty
PostRe: [ASK] Battle triggered by another event touch
Sponsored content 




[ASK] Battle triggered by another event touch Vide
 

[ASK] Battle triggered by another event touch

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Engines :: RMVX Ace-