Script Call to set (variable) to (actor ID variable)'s (stat)

Hello!

Sorry if this is a redundant question, I see things close to this, but I can't seem to find this way specifically for VXA when I search.

So like the title says, with a script call:
set (variable) to (actor ID variable)'s (specified stat)

for each of these stats:
Current Level
MaxHp, CurrentHp
MaxMp, CurrentMp
ATK, DEF, MAG, MDF, AGI, LUK

Thanks!

EDIT: Oh shoot I just found the answer scrolling though the script reference thread 😛 Sorry
Ruby:
$game_variables[YourVariableHere] = $game_party.members[YourActor'sPositionHere]

If you need to just pick a specific value you could do it this way instead:

Ruby:
actor = $game_party.members[YourActor'sPositionHere]
$game_variables[YourVariableHere] = actor.level
$game_variables[YourVariableHere] = actor.mhp
$game_variables[YourVariableHere] = actor.hp

I guess you all get the picture by now. 😉

Original thread: https://forums.rpgmakerweb.com/threads/script-call-to-set-variable-to-actor-id-variable-s-stat.160977/