- Joined
- Jun 24, 2013
- Messages
- 19
- Reaction score
- 6
- First Language
- Spanish
- Primarily Uses
Hi!
Both scripts seems to work fine but, for some reason some animations dont play, for example the "advance-attack-retreat" animations dont play when attacking or the "struck" animation dont play when the user gets hit, in fact I think only the "idle", "woozy", "death" and "victory" animation play.
I dont know Ruby but im a C# programmer so I went into the script to see what could I do, and I found this:
#-------------------------------------------------------------------------- # self.index_hb #-------------------------------------------------------------------------- def self.index_hb(pose) case pose # array = [row, frames] # frames is optional, default is 15 when :idle array = [0, 12] when :struck array = [3, 10] when :woozy array = [2, 12] #--- when :victory array = [10] when :defend array = [1, 5] when :dead array = [12] #--- when :attack array = [4, 4] when :skill array = [6, 6] when :magic array = [7, 6] when :item array = [5, 6] #--- when :advance array = [8, 5] when :retreat array = [9, 5] else; array = [0, 12] end return array endso I started changing it, but it does nothing. changing of this the row or the number of frames does nothing at all, it plays the same animations even If I change the row of the idle animation the same animation still plays.
Im using other scripts. like from Victor's Multiframe, diagonal movement, pixel movement, active time battle and I have removed some to see if it was that but so far I have removed, active time battle, multiframe, character control and change the order of the scripts but no luck so far...
Any idea what could it be?
Both scripts seems to work fine but, for some reason some animations dont play, for example the "advance-attack-retreat" animations dont play when attacking or the "struck" animation dont play when the user gets hit, in fact I think only the "idle", "woozy", "death" and "victory" animation play.
I dont know Ruby but im a C# programmer so I went into the script to see what could I do, and I found this:
#-------------------------------------------------------------------------- # self.index_hb #-------------------------------------------------------------------------- def self.index_hb(pose) case pose # array = [row, frames] # frames is optional, default is 15 when :idle array = [0, 12] when :struck array = [3, 10] when :woozy array = [2, 12] #--- when :victory array = [10] when :defend array = [1, 5] when :dead array = [12] #--- when :attack array = [4, 4] when :skill array = [6, 6] when :magic array = [7, 6] when :item array = [5, 6] #--- when :advance array = [8, 5] when :retreat array = [9, 5] else; array = [0, 12] end return array endso I started changing it, but it does nothing. changing of this the row or the number of frames does nothing at all, it plays the same animations even If I change the row of the idle animation the same animation still plays.
Im using other scripts. like from Victor's Multiframe, diagonal movement, pixel movement, active time battle and I have removed some to see if it was that but so far I have removed, active time battle, multiframe, character control and change the order of the scripts but no luck so far...
Any idea what could it be?
Last edited by a moderator:


.
