Problem with $data_actors

So, I'm trying to pull out the current intelligence value of the first actor to use for some calculation but for some reason, it's not working.

$data_actors[1].parameters[0,1] - MaxHP - WORKS
$data_actors[1].parameters[1,1] - MaxSP - WORKS
$data_actors[1].parameters[2,1] - STR - WORKS
$data_actors[1].parameters[3,1] - DEX - WORKS
$data_actors[1].parameters[4,1] - AGI - WORKS
$data_actors[1].parameters[5,1] - INT - DISPLAYS 0 ALWAYS


I tried to display the parameter on the screen just to check if the value is correct and it works

draw_actor_parameter(1, x, y, 5) < but this displays AGI

When I use

draw_actor_parameter(1, x, y, 6) < it displays INT and it displays the value of current INT which is 100.

The int value is set to 100. When I use data_actors I always get 0 but don't know why. It works for other parameters just fine.

Any1 got any ideas what the problem might be so I can check?

EDIT:

I MANAGED TO SOLVE IT.
It turned out
$data_actors[1].parameters[5,1] displays only int value for lvl 1.... I'm an idiot...

You can delete this thread.
@kR1pt0n1t3 We don't delete threads - someone else might have the same query in the future, and they will be able to see your solution to it.

However, please note that 'Scripts' is where people who have written completed scripts that they want to share with others can post them.

Moved to: Learning Ruby and RGSSx

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-data_actors.102509/