#`walk()` function parameters not working properly in lua cutscene

6 messages ยท Page 1 of 1 (latest)

neon oasis
#

here is my current code:

function onTalk()
    disableMovement()
    say("d_huh")
    walk(-15, walkBackwards=true)
    wait(1)
    walk(14)
    helpers.teleport(0, 0, "c_grass", "WalkInLeft")
end

adding the walkBackwards=true breaks the cutscene and makes it not work :/

sturdy geyser
#

thats not valid lua syntax

neon oasis
sturdy geyser
#

remove walkBackwards=

#

it'll work then

neon oasis
#

ohh my bad ๐Ÿ’€