Jump to content
Rpg²S Forum
  • 0

Controllare l'ID di un equip del primo pg del party


nihil-omen
 Share

Question

6 answers to this question

Recommended Posts

  • 0

La sintassi è la seguente:

 

$game_party.actors[iD_MEMBRO].

weapon_id per l'arma

armor1_id per lo scudo

armor2_id per l'elmo

armor3_id per l'armatura

armor4_id per l'accessorio

Partecipante al Rpg2s.net Game Contest 2008/2009
http://www.rpg2s.net/contest/GameContest0809/gc0809-bannerino.jpg
Gioco in Sviluppo: Oromis' Tale

Premi Rpg2s.net Game Contest 2008/2009:
http://www.rpg2s.net/gif/GC_programmazione2.gif Miglior Programmazione XP: 2°
http://www.rpg2s.net/gif/GC_premio3.gif Longevità: 3°

Hiken... Tsubame Gaeshi!

Link to comment
Share on other sites

  • 0

[OT]E' passata la mezzanotte quindi non è doppio post BWAHAHAH [/OT]

 

E se invece, volessi renderla uguale al numero di un arma posseduta?

Nel senso, ho tre Giavellotti Usa E Getta, e voglio che una variabile (tramite script) sia uguale al numero di Giavellotti Usa E Getta che posseggo ò_o

Qual'era il comando?

http://i30.tinypic.com/xehois.gif

} 2rA - web site {

E' disponibile il primo capitolo completo di 2rA!

} 2rA: Capitolo I {

Link to comment
Share on other sites

  • 0

Se ho capito bene, vuoi che una variabile equivalga alla quantità posseduta di un tale oggetto/arma/armatura (in questo caso Giavellotto, quindi arma), no?

 

Il comando è il seguente.

 

$game_variables[iD_VARIABILE] = $game_party.

 

item_number(ID_OGGETTO) per gli oggetti

weapon_number(ID_OGGETTO) per le armi

armor_number(ID_OGGETTO) per le armature

Edited by Amos_MHF

Partecipante al Rpg2s.net Game Contest 2008/2009
http://www.rpg2s.net/contest/GameContest0809/gc0809-bannerino.jpg
Gioco in Sviluppo: Oromis' Tale

Premi Rpg2s.net Game Contest 2008/2009:
http://www.rpg2s.net/gif/GC_programmazione2.gif Miglior Programmazione XP: 2°
http://www.rpg2s.net/gif/GC_premio3.gif Longevità: 3°

Hiken... Tsubame Gaeshi!

Link to comment
Share on other sites

  • 0
XQ_______________

 

 

Grandissimo *O* Grazie mille *O*

 

Ma esiste un elenco di questi comandi? Nell'help non c'è T.T

E' tutto negli script di base!

Ad esempio, alla riga 159 del Game_Party di default c'è il def weapon_number.

Partecipante al Rpg2s.net Game Contest 2008/2009
http://www.rpg2s.net/contest/GameContest0809/gc0809-bannerino.jpg
Gioco in Sviluppo: Oromis' Tale

Premi Rpg2s.net Game Contest 2008/2009:
http://www.rpg2s.net/gif/GC_programmazione2.gif Miglior Programmazione XP: 2°
http://www.rpg2s.net/gif/GC_premio3.gif Longevità: 3°

Hiken... Tsubame Gaeshi!

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...