Jump to content
Rpg²S Forum
  • 0

Script per visualizzare numero di una variabile


D3m0n3
 Share

Question

Esattamente cerco uno script o un metodo che mi permetta di esprimere il numero PRECISO di una variabile...che nn sia il metodo Se la variabile è 1 (messaggio)= Hai 1 nella variabile!!! perchè questo può essere usato per numeri piccoli...ma la dove i numeri possono superare anche le 500 unità nn posso starmi li a mettere 500 condizioni if! :sisi:

 

Un Grazie a chiunque mi riesca ad aiutare ! :sisi:

Edited by D3m0n3
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Guarda se qui trovi una risposta:

http://www.rpg2s.net/forum/index.php?showtopic=2522

Progetto in corso:

"Hero Walking: Toward Another Life"

Video Old Intro su Youtube

Visite: 11.896!

http://img212.imageshack.us/img212/1060/logheryb0.jpg

 

 

*Posizioni raggiunte nei contest*

 

 

http://www.rpg2s.net/awards/bestuser1.jpghttp://www.rpg2s.net/awards/beststaff1.jpg

http://www.rpg2s.net/awards/bestmaker3.jpghttp://www.rpg2s.net/awards/bestcritical1.jpghttp://www.rpg2s.net/awards/mostcharismatic2.jpg

http://www.rpg2s.net/awards/mosthelpful1.jpghttp://www.rpg2s.net/awards/mostpolite1.jpghttp://www.rpg2s.net/awards/mostpresent1.jpg

 

http://img204.imageshack.us/img204/8039/sccontest3octpl3.gif http://img103.imageshack.us/img103/1496/sccontest2octou1.gif http://img118.imageshack.us/img118/181/sccontest1octdt9.gif http://img230.imageshack.us/img230/1273/sccontest1batio5.gif http://img103.imageshack.us/img103/1496/sccontest2octou1.gif http://img103.imageshack.us/img103/1496/sccontest2octou1.gif http://img103.imageshack.us/img103/1496/sccontest2octou1.gif http://img143.imageshack.us/img143/3755/destroyae4.png

http://img141.imageshack.us/img141/3081/comics3od3.gif http://img118.imageshack.us/img118/181/sccontest1octdt9.gif

 

 

SE VUOI AVERE RENS PER RISORSE, TUTORIAL, DEMO, ECC... LEGGI QUI

Link to comment
Share on other sites

  • 0

Beh, in RGSS per visualizzare il valore di una variabile bisogna scrivere

 

"#{$game_variables[iD]}"

 

Ma tu intendi di mostrarle su un messaggio?

In quel caso esiste l'AMS.

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

Se devi mostrarlo in un messaggio esiste \v[idVariabile] altrimenti se lo vuole fisso su schermo deve farsi una specie di HUD via script che visualizza la variabile(in cui ci sarà sicuramente anche il codice che dice Amos)

 

Ps: #{ } equivale a to_s quindi si può dire che tu abbia convertito in stringa 2 volte quindi o levi il to_s oppure l'altro, spero ti possa essere utile come dritta ;)

Link to comment
Share on other sites

  • 0
Se devi mostrarlo in un messaggio esiste \v[idVariabile] altrimenti se lo vuole fisso su schermo deve farsi una specie di HUD via script che visualizza la variabile(in cui ci sarà sicuramente anche il codice che dice Amos)

 

Ps: #{ } equivale a to_s quindi si può dire che tu abbia convertito in stringa 2 volte quindi o levi il to_s oppure l'altro, spero ti possa essere utile come dritta ;)

Ah, correggo, non lo sapevo XD

Grazie

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