- Joined
- Mar 28, 2016
- Messages
- 1,623
- Reaction score
- 1,440
- First Language
- French
- Primarily Uses
- RMMV
Hi guys
How i can create a variable dinamicly in rpgmaker mv script ??
Am try to create a variable with incrementation.
Tanx for help, tell me if not possible ?!
How i can create a variable dinamicly in rpgmaker mv script ??
Am try to create a variable with incrementation.
Tanx for help, tell me if not possible ?!
Code:
Pid = 1; Listi= 1;
while(Listi<=5){
PIDNAME[Pid] = $gameScreen._pictures[Pid]._name;
Pid++; Listi++;
}
// Or i try this !
PIDNAME(Pid) = $gameScreen._pictures[Pid]._name;
PIDNAME+'Pid' = $gameScreen._pictures[Pid]._name;
PIDNAME+(Pid) = $gameScreen._pictures[Pid]._name;
Last edited by a moderator:

