Hi, I have several characters in my story which have their own datamaps. Something like this:
(set: $characterA to (dm:
"Money",1000
))
(set: $characterB to (dm:
"Money",2000
))
Now, depending on the character I am controlling, I assign a variable called $player to the respective datamap. And if I write the following code, it works properly and prints 1000 (characterA's Money)
(set: $player to $characterA)
(print: $player's Money)
However, if I change the Money value of $player, it does not update $characterA's Money. For example, the following still gives 1000, instead of 5000:
(set: $player's Money to it + 4000)
(print: $characterA's Money)
Am I trying to do something impossible?