:sos: I am ussing blizz abs 2.7 and I i was wondering if some one can help me with this:
How can i have more parameters than the default ones, parameters like archery, magic, mining, hunting and be able to lvl them up by doing different stuff(whene you ese a bow you get xp for archery, whene you use skills you lvl up at magic, whene you kill animals you lvl up at hunting, and so on..) and the lvl of the character is the average of all the parameters.
easily evented, have a variable for each parameter.
Then have a parallel process in a common event.
if Input.trigger?(Input::Attack)
if weapon == bow
bow += 1
end
end
I'm sure you get the jist of it. Its not completely efficient but it works.
that might work but
Quote from: cyclope on July 23, 2010, 04:06:35 pm
... and the lvl of the character is the average of all the parameters.
:...: how can i get that to work
variable[1] + variable[2] + variable[3] + variable[4] / 4
Pretty much, add all the variables up into one, then divide by the number of parameters you have.
Then set actors level to 1. and change actor level, add by variable
Quote from: game_guy on July 23, 2010, 06:54:01 pm
variable[1] + variable[2] + variable[3] + variable[4] / 4
Pretty much, add all the variables up into one, then divide by the number of parameters you have.
Then set actors level to 1. and change actor level, add by variable
Doesn't RMXP use math rules? e.g.
variable[1] + variable[2] + variable[3] + variable[4] / 4
You divide variable[4] by 4 and add variable[1], variable[2] and variable[3] to it?
It does. You'd need to use:
(variable[1] + variable[2] + variable[3] + variable[4]) / 4
BTW, the correct term is operator priority. :)
Quote from: Blizzard on July 24, 2010, 06:46:01 am
It does. You'd need to use:
(variable[1] + variable[2] + variable[3] + variable[4]) / 4
BTW, the correct term is operator priority. :)
Yeah... I knew that...?
I meant just through event commands. 1 at a time.
[variable[5 : total] + var[1]]
[var[5] + var[2]] etc
Quote from: game_guy on July 24, 2010, 09:42:26 am
I meant just through event commands. 1 at a time.
[variable[5 : total] + var[1]]
[var[5] + var[2]] etc
Ah, ok.