Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

how do i use file paths?

A topic by ondr created Aug 15, 2025 Views: 556 Replies: 3
Viewing posts 1 to 2

so this might be the dumbest issue i'm having, but how do i use file paths in scripting?

for example, after i cross a trigger, i want music to start playing (i already disabled the music in map properties)

i did this:

play Music\map1.ogg

map return 1

and:

play Music/map1.ogg

map return 1

nothing works, could somebody help?

And what is "play"? You playing what? Tried to read manual first?

i did read the manual before, i found the play script in the manual like this:

"play music [path] - plays music. Path rules are the same as for sounds and images."

(1 edit)

oh my god

i figured it out i am so dumb sorry !!

it's supposed to be: play music Music/map1.ogg

i forgot the music before the file path....