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 | 
 

 [Solved][ask-rgss2]Command disabled Dash

Topik sebelumnya Topik selanjutnya Go down 
[Solved][ask-rgss2]Command disabled Dash Empty2012-11-23, 14:12
Post[Solved][ask-rgss2]Command disabled Dash
#1
ashm 
Veteran
Veteran
ashm

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

[Solved][ask-rgss2]Command disabled Dash Vide
Quick question aja, ane kan mau buat player gak boleh dash.
Command scriptnya apa ya ? :hmm:

Alesan ane gak mau "ceklis disabled dash di Map properties" adalah si player gak bisa dash di sebuah plot, tapi di plot selanjutnya dia butuh dash (buat kabur).

Edit : bukan ubah speed doank, intinya pas mencet shift player gk bole dalam status dash.


Terakhir diubah oleh yerry_great tanggal 2012-11-24, 16:27, total 2 kali diubah (Reason for editing : salah title ama pnjelasan lagi)
[Solved][ask-rgss2]Command disabled Dash Empty2012-11-23, 23:42
PostRe: [Solved][ask-rgss2]Command disabled Dash
#2
yeki 
Novice
Novice
yeki

Level 5
Posts : 182
Thanked : 6
Engine : RMVX Ace
Skill : Beginner
Type : Scripter
Awards:

[Solved][ask-rgss2]Command disabled Dash Vide
hm..kalo sepintas sih menurutku butuh script basic dulu kyk

Code:

class Game_Player < Game_Character
attr_reader :dashing
alias :yeki_dash_initialize :initialize
def initialize
@dashing = true
end
 def dashing=(value)
  @dashing = value
 end
 def dash?
    return false if @move_route_forcing
    return false if $game_map.disable_dash?
    return false if in_vehicle?
    return Input.press?(Input::A) if @dashing
    reurn false
  end
end

baru bisa dipanggil di event script
Code:

$game_player.dashing = true / false

tapi masih untestable...via hpe soalnya
[Solved][ask-rgss2]Command disabled Dash Empty2012-11-24, 07:58
PostRe: [Solved][ask-rgss2]Command disabled Dash
#3
ashm 
Veteran
Veteran
ashm

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

[Solved][ask-rgss2]Command disabled Dash Vide
oh...
butuh snippet gitu ya :hmm:
Itu ada error katanya di default script

'Game_Character' line 235 :No method occur
Undefined method '>'
[Solved][ask-rgss2]Command disabled Dash Empty2012-11-24, 08:07
PostRe: [Solved][ask-rgss2]Command disabled Dash
#4
yeki 
Novice
Novice
yeki

Level 5
Posts : 182
Thanked : 6
Engine : RMVX Ace
Skill : Beginner
Type : Scripter
Awards:

[Solved][ask-rgss2]Command disabled Dash Vide
aghhahah iya lupa naro aliasingnya nih yang bener

Code:

class Game_Player < Game_Character
  attr_reader :dashing
  alias :yeki_dash_initialize :initialize
  def initialize
    yeki_dash_initialize
    @dashing = true
  end
 def dashing=(value)
  @dashing = value
 end
 def dash?
    return false if @move_route_forcing
    return false if $game_map.disable_dash?
    return false if in_vehicle?
    return Input.press?(Input::A) if @dashing
    return false
  end
end
[Solved][ask-rgss2]Command disabled Dash Empty2012-11-24, 10:55
PostRe: [Solved][ask-rgss2]Command disabled Dash
#5
ashm 
Veteran
Veteran
ashm

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

[Solved][ask-rgss2]Command disabled Dash Vide
Sip2 :D
Solved.

Thanks Yeki.
Moga2 ntr malem bisa diupload ojek nya
[Solved][ask-rgss2]Command disabled Dash Empty2012-11-24, 16:25
PostRe: [Solved][ask-rgss2]Command disabled Dash
#6
yerry_great 
@> Moderator
@> Moderator
yerry_great

Kosong
Posts : 1251
Thanked : 15
Engine : Multi-Engine User
Skill : Very Beginner
Type : Jack of All Trades

[Solved][ask-rgss2]Command disabled Dash Vide
:gembok:

Locked since solved
[Solved][ask-rgss2]Command disabled Dash Empty
PostRe: [Solved][ask-rgss2]Command disabled Dash
#7
Sponsored content 




[Solved][ask-rgss2]Command disabled Dash Vide
 

[Solved][ask-rgss2]Command disabled Dash

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Scripts & Event Systems :: RMVX Scripts :: RGSS2 Support :: RGSS2 Support Archive-