- Joined
- Apr 22, 2017
- Messages
- 229
- Reaction score
- 29
- First Language
- Not English
- Primarily Uses
- RMMV
Hey guys,
Im experimenting with storing data in a variable, and ive stumbled upon a problem. Here is the situation:
Basically i tried to shorten the data of "$gameVariables.value(81).actionAllowed" to contain the content of "$gameVariables.value(81).movementRequest", but it seems to me that its actually literally storing the "$gameVariables.value(81).movementRequest" variable, where Id only want to store the contents of "$gameVariables.value(81).movementRequest" variable. So basically im asking if there's a command or something to store the contents of a variable, instead of the actual variable?
Im experimenting with storing data in a variable, and ive stumbled upon a problem. Here is the situation:
Code:
◆Script:$gameVariables.setValue(81, {keyAllowed:{}, actionAllowed:{}, movementRequest:{}, movementOrder:{}, movementState:0});
: :$gameVariables.value(81).keyAllowed = {space:false, down:false, left:false, right:false, up:false, esc:false};
: :$gameVariables.value(81).movementRequest = {idle:true, frozen:false, walk:false, sprint:false, jump:false, tossed:false, driving:false, navigation:false, outsideMovement:false};
: :$gameVariables.value(81).actionAllowed = $gameVariables.value(81).movementRequest); $gameVariables.value(81).actionAllowed.idle = "false";
: :$gameVariables.value(81).movementOrder = {order:-1, routeCommand:-1, busy:false};
