So:list.index(x)
Return the index in the list of the first item whose value is x. It is an error if there is no such item.
Code: Select all
$ playerpos = moveSlots.index(1)
show player1:
xalign 0.01+0.1*playerpos
So:list.index(x)
Return the index in the list of the first item whose value is x. It is an error if there is no such item.
Code: Select all
$ playerpos = moveSlots.index(1)
show player1:
xalign 0.01+0.1*playerpos
Code: Select all
default something = "a ball"
label start:
"This is [something]."
Code: Select all
scene bg hospital with ImageDissolve(randompicker(), 3.0, 8)