- Joined
- Jun 9, 2015
- Messages
- 117
- Reaction score
- 9
- First Language
- english
- Primarily Uses
I am trying to do a simple common event to check all the player's stats.
What I am having a hard time doing is referencing a player's stat parameter. Pretty much I am just trying to check if a player's stat is higher than 5. But I need to check all the player's stats, so I am trying to not create a wall a text with MV editor.
if ($gameActors.actor($gameVariables.value(1)).param(3) > 5)
{
Bleh;
}
I know that is not right. But just trying to figure how to reference a stat.
*Actually that is the correct code. Sorry for making a wasteful post.
What I am having a hard time doing is referencing a player's stat parameter. Pretty much I am just trying to check if a player's stat is higher than 5. But I need to check all the player's stats, so I am trying to not create a wall a text with MV editor.
if ($gameActors.actor($gameVariables.value(1)).param(3) > 5)
{
Bleh;
}
I know that is not right. But just trying to figure how to reference a stat.
*Actually that is the correct code. Sorry for making a wasteful post.
Last edited by a moderator:
