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

Problem with qualified names

$
0
0
Hi, all!

I use Twine 2.1.3 and Sugarcube 2.18.0, and I have these two definitions:
<<set $spider = {
    name: "Araignee"
}>>
<<set $C01 = {
    opponent: $spider
}>>

I thought that <<print $C01.opponent.name>> would print "Araignee", but it doesn't. I'm told that opponent is undefined. How come?

Thanks in advance.

Viewing all articles
Browse latest Browse all 1844

Trending Articles