Últimos temas
» Script de menupor maxi Jue 04 Dic 2014, 1:44 pm
» Ayuda intro animado!!!
por maxi Miér 03 Dic 2014, 9:41 pm
» ayuda con este engin
por maxi Miér 03 Dic 2014, 8:42 am
» Hud de Vida 100% Personalizable - Engine Sencillo! Sin Scripts :)
por davidaikago Jue 20 Nov 2014, 10:58 am
» Ultimate parallax control by:GDS [ace]
por arellano Miér 08 Oct 2014, 8:28 pm
» Script Touhou (animated) Map name (v1.4)
por davidaikago Miér 08 Oct 2014, 2:09 pm
» tutorial puerta nueva
por davidaikago Miér 08 Oct 2014, 9:08 am
» cámara de fotos
por davidaikago Miér 08 Oct 2014, 9:05 am
» Imperial Action System II Demo
por davidaikago Miér 08 Oct 2014, 8:47 am
» VE Batalla animada [ACE]
por FhierusIV Jue 18 Sep 2014, 10:57 am
» Nuevo Reglamento del Foro [Vigente desde Septiembre 2014]
por maxi Miér 17 Sep 2014, 8:37 am
» MOG|Animated Title
por Souta21 Mar 09 Sep 2014, 7:24 pm
» Tutorial Engine - Cambiar Character al Equipar Objeto
por maxi Lun 21 Jul 2014, 10:19 am
» Script de climas
por gambasoxd Sáb 19 Jul 2014, 8:58 am
» Script de contraseña(codigo) para abrir un cofre
por rpgame Jue 03 Jul 2014, 6:03 pm
¿Quién está en línea?
En total hay 3 usuarios en línea: 0 Registrados, 0 Ocultos y 3 Invitados Ninguno
El record de usuarios en línea fue de 117 durante el Mar 09 Ago 2011, 3:39 pm
[Aporte]Script cambio de mapa
RPG maker VX :: Scripts ::
Página 1 de 1.
[Aporte]Script cambio de mapa
Este script hace que de un manera sencilla presionando re,pag y av,pag se cambie el personaje del para
screen:no es necesaria
script:
screen:no es necesaria
script:
- Código:
#==============================================================================
# Change Party Order
# Author: modern algebra (rmrk.net)
# Date: February 20, 2008
#==============================================================================
class Scene_Map
# ORDER_FREEZE_SWITCH_ID :: This constant is for you to set to a switch ID
# that controls whether the player is allowed to change party order. If it is
# set to 1 for example, then turning Switch 1 ON will disallow the player
# from changing party order, and turning it OFF will allow the player to.
ORDER_FREEZE_SWITCH_ID = 1
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# * Frame Update
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
alias modern_algebra_change_leader_modification_updt update
def update
modern_algebra_change_leader_modification_updt
return if $game_switches[ORDER_FREEZE_SWITCH_ID]
# If Button R is being pressed
if Input.trigger? (Input::R)
# Remove the Lead Actor
old_lead = $game_party.members.shift.id
$game_party.remove_actor (old_lead)
# Add the old leader back into the party
$game_party.add_actor (old_lead)
end
# If Button L is being pressed
if Input.trigger? (Input::L)
# Recreate the actors array from the members array
actors = []
$game_party.members.each {|actor| actors.push (actor.id)}
# Reorder the array to the new order
actors.unshift (actors.pop)
actors.each {|id|
# Remove each actor and add them in the new order
$game_party.remove_actor (id)
$game_party.add_actor (id)
}
end
end
end
luistop12- 500
-
33
759
944
42
Temas similares
» [Aporte]Script Cambio De Letra[VX]
» [Aporte]Script Cambio Fondo De Batalla[VX]
» [Aporte]Script Nombre en Mapa[VX]
» [Aporte]Script Equipo en mapa
» Script: Cambio de Clase Sencillo(CCS) V.1.0.0Mi primer script.
» [Aporte]Script Cambio Fondo De Batalla[VX]
» [Aporte]Script Nombre en Mapa[VX]
» [Aporte]Script Equipo en mapa
» Script: Cambio de Clase Sencillo(CCS) V.1.0.0Mi primer script.
RPG maker VX :: Scripts ::
Página 1 de 1.
Permisos de este foro:
No puedes responder a temas en este foro.