Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change character script
#1
This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


This script makes it so u can change the character sprites by pressing the A button.

In Game_Player, after this block of code:
Code:
# If C button was pressed
      if Input.trigger?(Input::C)
        # Same position and front event determinant
        check_event_trigger_here([0])
        check_event_trigger_there([0,1,2])
      end


add:
Code:
# If A button was pressed to cycle party
      if Input.trigger?(Input::A) && !moving?
        $game_variables[3]+=1
      end
      if $game_variables[3] >= $game_party.actors.size
        $game_variables[3] = 0
      end
      refresh


And then change this line:
Code:
actor = $game_party.actors[0]


to:
Code:
actor = $game_party.actors[$game_variables[3]]


That's it...it's my first script, so it's pretty simple. I couldn't find a script that did this, so I did it on my own. If there's any better way, feel free to tell me. Also, I used a variable for a reason, but you don't have to.
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Just a modification of Abyssos' facs script lumina... 0 2,635 11-01-2006, 01:00 PM
Last Post: lumina...
  Credit Script 1.1 acoole 0 2,476 10-24-2006, 01:00 PM
Last Post: acoole
  Script Dev Kit Nick 0 2,845 10-15-2006, 01:00 PM
Last Post: Nick
  Change menu character sprites to Pictures like in rpg maker 2003 Abyssos 0 3,670 09-28-2006, 01:00 PM
Last Post: Abyssos
  Character Creator Leon Westbrooke 0 2,591 08-02-2006, 01:00 PM
Last Post: Leon Westbrooke
  Opening Image script sasuke89 0 2,061 07-24-2006, 01:00 PM
Last Post: sasuke89
  Change Color of The diferent Status Script MASTERLOKI 0 2,313 07-18-2006, 01:00 PM
Last Post: MASTERLOKI
  Change Cursor with differend commands in Battle Divinity 0 2,251 06-22-2006, 01:00 PM
Last Post: Divinity
  Event Name and ID Search Script Hadriel 0 2,077 06-21-2006, 01:00 PM
Last Post: Hadriel
  Currency Script Split 0 2,313 05-18-2006, 01:00 PM
Last Post: Split



Users browsing this thread: