Jump to content
Rpg²S Forum
  • 0

Richiamare da evento!


Andre4e
 Share

Question

Io ho uno script x visualizzare l'equip sul pg.. l'inizio dello script è questo

 

module User_Edit

 

 

 

# VISUAL EQUIPMENT: Permette di vedere l'equipaggiamento del personaggio

VE = true # Abilità Visual Equipment [true/false]

ARMA = false # MOSTRA = true / false

SCUDO = true # MOSTRA = true / false

ARMATURA = true # MOSTRA = true / false

ELMO = true # MOSTRA = true / false

ALTRO = true # MOSTRA = true / false

 

end

 

 

Si può tramite evento con un chiama script , cambiare i valori da true a false??

se si come???

 

 

http://files.nireblog.com/blogs4/narutozorro9kolas/files/firma-naruto-y-yondaime.gif

 

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0
Non sono propiamente uno scripter quindi sarebbe meglio aspettare Giver, però io inserirei una game_switch con un if per attivare e disibilitare le opzioni.

http://img256.imageshack.us/img256/7639/ihateyou.gif

Un uomo senza religione è come un pesce senza bicicletta.

http://img18.imageshack.us/img18/3668/decasoft1.png

http://rpg2s.net/gif/SCContest1Oct.gifhttp://rpg2s.net/gif/SCContest2Oct.gifhttp://rpg2s.net/gif/SCContest2Oct.gif

Link to comment
Share on other sites

  • 0

Be si quoto master e se vuoi ti do una mano.

Inserisci questa classe sopra questo modulo.

 

module Switch#L'id della switch per vedere tutto equipaggiamentoVE =#========================== #L'id della switch per vedere le armiARMI =#========================== #L'id della switch per vedere le armatureARMATURE =#========================== #L'id della switch per vedere lo scudoSCUDO =#========================== #L'id della switch per vedere l'elmoELMO =#========================== #L'id della switch per vedere gli accessoriALTRO = #==========================end

 

 

Poi sostituisci la parte di codice che hai postato con

module User_Edit# VISUAL EQUIPMENT: Permette di vedere l'equipaggiamento del personaggioif $game_switches[Switch:VE] == trueVE = true # Abilità Visual Equipment [true/false]elseVE = false end if $game_switches[Switch::ARMA] == trueARMA = true # MOSTRA = true / falseelseARMA = falseend  if $game_switches[Switch::SCUDO] == trueSCUDO = true # MOSTRA = true / falseelseSCUDO = falseend  if $game_switches[Switch::ARMATURA] == trueARMATURA = true # MOSTRA = true / falseelseARMATURA = falseend if $game_switches[Switch::ELMO] == trueELMO = true # MOSTRA = true / falseelseELMO = falseend  if $game_switches[Switch::ALTRO] == trueALTRO = true # MOSTRA = true / falseelseALTRO = falseend  end

 

 

In questo modo se la switch che hai segnalato nel primo modulo(il mio) sarà attiva l'equipaggiamento sarà visualizzato.

Altrimenti....... Naturalmente io non sono uno scripter professionista e non so se ci sono altre soluzioni.

se ci sono BUG non esitare a chiedere

Edited by kingartur2

Per qualsiasi motivo non aprite questo spoiler.

 

 

Ho detto di non aprirlo !

 

 

Se lo apri ancora esplode il mondo.

 

 

Aaaaaa è un vizio.

 

 

Contento? Il mondo è esploso, sono tutti morti

per colpa della tua curiosità .

 

 

Vuoi che ti venga anche il morbillo, la varicella e l'AIDS???

 

 

O bravo ora sei un malato terminale e nessuno

ti puo curare, sono tutti morti !

 

 

Se clicchi ancora una volta il PC esplode.

 

 

E dai smettila !!

 

Uff!! Hai cliccato tante volte che ho dovuto sostituirlo con un codebox.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

http://s8.postimg.org/yntv9nxld/Banner.png

http://img204.imageshack.us/img204/8039/sccontest3octpl3.gif

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...