exista a função:
UIProgressBar:setMaximum(maximum)
ou então creio q dah pra colocar no otui dela:
max = maximum
/\ esse eu n tenho crtz
By Jeffer000, 19 de abr. de 2014 in Clients
info
Group: Visconde
Joined: 26/08/12
Posts: 318
Reputation: +118
Gender: Masculino

exista a função:
UIProgressBar:setMaximum(maximum)
ou então creio q dah pra colocar no otui dela:
max = maximum
/\ esse eu n tenho crtz
Edited Abril 19 by Noninhouh
Humm vlw Noninhouh, vou testar aqui....
Outra duvida... sabe se ja tem outro metodo de passar as info da dex pro otCliente sem ser SendCancel?
Edit -
Tentei as duas mas n muda nada
local maximum = 200
hpBar = poke:recursiveGetChildById("hpBar")
hpBar:setMaximum(maximum)
hpBar:setPercent(hpValue)
Edited Abril 19 by jeffe000
info
Group: Visconde
Joined: 23/02/13
Posts: 437
Reputation: +71
Gender: Masculino

opcode!!
info
Group: Visconde
Joined: 26/08/12
Posts: 318
Reputation: +118
Gender: Masculino

/\ ou fazer uma tabela... n tenho certeza pq nunca testei, mais tenta pegar a tabela q jah tah no server ;p
tenta fazer assim po:
hpBar:setMaximum(200)
Também não esta indo T.T
Pra utilizar este OPCODE é necessario ter o cliente com Soucers certo?
no meu caso estou utlizando ainda o PDA, qual servidor vocês recomendam com sources aqui no foru mvocês recomendam pra iniciar um novo projeto?
info
Group: Visconde
Joined: 26/08/12
Posts: 318
Reputation: +118
Gender: Masculino

dash v6...
tenta fazer assim po:
local maximum = 200
hpBar = poke:recursiveGetChildById("hpBar")
hpBar:setPercent(hpValue)
hpBar:setValue(hpValue, 0, maximum)
Edited Abril 19 by Noninhouh
Ae deu certo *---* o/
ty REp++
ficou assim:
local maximum = 200
hpBar = poke:recursiveGetChildById("hpBar")
atackBar = poke:recursiveGetChildById("atackBar")
defenseBar = poke:recursiveGetChildById("defenseBar")
spaBar = poke:recursiveGetChildById("spaBar")
spdBar = poke:recursiveGetChildById("spdBar")
speedBar = poke:recursiveGetChildById("speedBar")
hpValue = 180
atackValue = 82
defensepValue = 78
spaValue = 95
spdValue = 80
speedValue = 85
hpBar:setValue(hpValue, 0, maximum)
atackBar:setValue(atackValue, 0, maximum)
defenseBar:setValue(defensepValue, 0, maximum)
spaBar:setValue(spaValue, 0, maximum)
spdBar:setValue(spdValue, 0, maximum)
speedBar:setValue(speedValue, 0, maximum)
Edited Abril 19 by jeffe000
info
Group: Visconde
Joined: 05/06/11
Posts: 298
Reputation: +65
Boa Tarde : )
Estou criando a Pokedex do meu Server para Ot Cliente, mas me surgiu uma duvida / problema.
Queria saber se alguem sabe se tem como ou como aumentar a % da ProgressBar do OtCliente, onde o padrao é 100% e não achei nenhuma referencia a como aumentar para mais.
Print:
Se alguém puder ajudar o/