Hello ^^
Myself and a buddy of mine are currently working on a game and we are a bit pissed off about a script. We have the following problem with converting the currently equipped equipment into one or more variables.
If we use the script command (inJS)
"$ gameVariables.setValue (" variableId ", $ gameActors.
actor ("actorId"). equips ("slotId")); "
enter the program spits the following into the variable:
", [object Object] ,, [object Object] ,, [object Object],"
, instead of the actual ID of the item (s) that is / are equipped and with the following input:
"$ gameVariables.setValue (" variableId ", $ gameActors.actor (" actorId ").
equips ("slotId"). itemId); "
the desired variable has the value 0 even if something is equipped. (Of course the "... Id" are replaced by the corresponding numbers)
Myself and a buddy of mine are currently working on a game and we are a bit pissed off about a script. We have the following problem with converting the currently equipped equipment into one or more variables.
If we use the script command (inJS)
"$ gameVariables.setValue (" variableId ", $ gameActors.
actor ("actorId"). equips ("slotId")); "
enter the program spits the following into the variable:
", [object Object] ,, [object Object] ,, [object Object],"
, instead of the actual ID of the item (s) that is / are equipped and with the following input:
"$ gameVariables.setValue (" variableId ", $ gameActors.actor (" actorId ").
equips ("slotId"). itemId); "
the desired variable has the value 0 even if something is equipped. (Of course the "... Id" are replaced by the corresponding numbers)