Moonpearl script Animated Battlers help!! x((
#10
I have been stretching my coding time between Sil's DDR and Cassie's CMS system.

With the CMS and other demos he uses, he has a Scene_Base package. Funny enough, the Scene_Battle script in his Scene_Base package has an untouched/unchanged 'def update_phase4_step2' method which was the actual method aliased in the animated battler script. Because he made no changes to update_phase4_step2, there was no need for him to include it in his Scene_Base package... totally a waste. Tongue sticking out



Oh, alias is a way to attach new code to an existing method. It's might be easy to look at it like this:
Code:
alias new_update  update
def update
  new_update
  new_code
end
First an alias statement that links the two names. It'll assume that running 'new_update' will execute your original code.
Then 'def' (or define method) of the revised update method
Then we call 'new_update' which is the new name to the 'original' update method... ala alias. So we're running the original update.
THEN we run 'new_code' ... whatever that may be.
Then we end the method... done
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply }


Messages In This Thread
RE: Moonpearl script Animated Battlers help!! x(( - by DerVVulfman - 05-20-2016, 11:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Plugin or Script help with Item menu, SKill menu, and Equip menu JayRay 2 62 Yesterday, 03:09 AM
Last Post: JayRay
   GW Animated Battle backs Patch for Atoa ACBS Solitaire 21 1,430 10-17-2024, 06:37 AM
Last Post: Solitaire
   Script compatibility help Lord Vectra 3 4,603 07-25-2021, 11:42 PM
Last Post: DerVVulfman
   Adding face script on Cogwheel's RTAB Battle Status rekkatsu 15 15,839 08-25-2020, 03:09 AM
Last Post: DerVVulfman
   "Wait" in the script Whisper 13 16,159 04-28-2020, 04:06 PM
Last Post: Whisper
   Skill Cooldown script Fenriswolf 11 16,438 12-10-2019, 11:10 AM
Last Post: Fenriswolf
   Help iwth script (RGSS Player crash) Whisper 3 8,531 06-17-2017, 05:03 PM
Last Post: Whisper
   Help modifying a script Keeroh 7 10,211 06-11-2017, 04:43 PM
Last Post: DerVVulfman
Question  Mog Menu script: help me stop the crazy picture movement during transitions Zachariad 4 9,855 05-31-2017, 05:10 AM
Last Post: Zachariad
   Actor names in Quest Script jreagan406 5 8,638 03-07-2017, 08:06 AM
Last Post: JayRay



Users browsing this thread: 4 Guest(s)