Is there a way how to avoid the "TAG" ?

Get help using Construct 2

Post » Thu May 11, 2017 3:35 pm

Message: Krakcz can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hello,
Is there a way how to do it. Because I hate it :D
Is it possible to write in the tag area the True name of file ? etc. I want to detect some song that is playing now. But only for detecting, you need the tag.
But I can't add the tag to song because the song is randomly selected from this command

There on the photo :)
https://www.dropbox.com/s/uvnknsa1kiax8sa/audio%20tag%202.PNG?dl=0
It doesn't work because the tag cannot be set from selected songs. If I add the tag to random selection it will add the tag to all songs.

Thank you :) for find a way how to do it :)
B
4
Posts: 19
Reputation: 236

Post » Thu May 11, 2017 4:07 pm

Hey

Create a static local variable (for example song)
song -> set value : choose("song1", "song2", "song3")
Play song

If song = "song1" then blablabla
else if song = "song2" then blablabla
else if song = "song3" then blablabla

Here you go :)
B
6
Posts: 4
Reputation: 258

Post » Thu May 11, 2017 7:02 pm

I have a variable and: set value: choose("song1", "song2", "song3")
but know I don't know how to play the variable.
I'm looking for it now :D
And way how to add custome code...
B
4
Posts: 19
Reputation: 236

Post » Thu May 11, 2017 7:36 pm

Image

Image

Image

.
.
.

Image

Image
B
66
S
24
G
7
Posts: 1,514
Reputation: 11,039

Post » Thu May 11, 2017 8:43 pm

Thank you so much :-) it helps a lot. Yeah I need to learn the commands and arrays too :-D
B
4
Posts: 19
Reputation: 236


Return to How do I....?

Who is online

Users browsing this forum: AllanR, Artcadev and 17 guests