Quantcast
Channel: Help! with 2.0 - Twine Forum
Viewing all articles
Browse latest Browse all 1844

Pushing into multidimensional arrays in Sugarcube

$
0
0
This:
<<set $array[$n].push([2,2])>>
throws an error.

Apparently you can't use a variable in the index and use the .push method at the same time? How do I get around this?

Thank you very much!

Viewing all articles
Browse latest Browse all 1844

Trending Articles