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

random and fixed variable

$
0
0
Hi,

So I want the player see randomly the sentence first, and when he has seen it, always see it.
The fact is : it's always random.

Here is the code :
<<if $Observant>=random(100) || $Votpan==1>>You see an [[voting panel][$Votpan to1]]<</if>>

$Observant is fix between 0 and 100, $Votpan is set as 0 in the storyinit


BTW : little question here : https://twinery.org/forum/discussion/comment/20400/#Comment_20400 (re sorry for the dig up)

Sorry for my english, that's not my native language.

Thx for the answers.


Viewing all articles
Browse latest Browse all 1844

Trending Articles