#how can you convert a string to a destination room
1 messages · Page 1 of 1 (latest)
Value string switch
Instead of execution it outputs a value
that.. wouldnt work?
@ebon sedge to string supports destnation room
oh yea it would
Oh ya I forgot about that
But convert string to destnation room is not possible but I hope they add that
Use a Value Integer Switch
It’s much easier then the rest
If you would like I can give a little explanation
Nuh uh
they both work fine so it does not matter a single bit
He's using string
ur so dumb shit up
Yeah integer is better
I actually didn't understood the thread well, you can convert destnation room to string to output the room name and subroom name, but you can't at all parse destnation. Value int switch like what others here said is good solution imo
Ever heard of a REAPONSE INDEX
I never heard of "REAPONSE INDEX"
ITS THE SAMEEEE
You can bootleg it with like a switch or whatever
Value string or value int .
Same concept same CPU
The response index is the order of which response you chose on a list
Yeah this or string
Blud I know
a switch is a switch is a switch
If you ever change the list create your gonna have to change the value string switch but if you use a value integer switch you’ll never have to change anything
Integer switch takes less cpu and net
it does not
No net was brought into this
It depends on the system
Same CPU same net
I use string to decode and recode a lot of stuff
You can use either one, but for most cases it’s better and easier to use a value int switch
Especially for what he’s doing now
Net usage happens when u set anything anything non locally or over the internet
Setting a synced variable causes net usage
As it sets a variable to everyone or over The internet
the thing is
When I look at the switch and I see "cave subroom" vs "4"
I think im gonna know which is which right after looking
You gotta add inputs lol
@ebon sedge
- Use a
value integer switchand connect the DATA output into thedestinationinput in thengo to room - configure the
value int switchand add two inputs 0 and 1 (this is because list start form 0 and go on from there) - connect two
destination constantto the values on theinteger switch - connect the
on promptcompletion to thego to room
use this @ebon sedge
My picture is literally a picture of what you said einstein
i have no idea what youre mad at
wtf is all that vector create stuff
Then use a good image
hence why i said
genius
🤫
Maybe try learning to read before jumping to conclusions
Exactly
@ebon sedge Just know it’s much more convenient to use a value integer switch instead of a value string switch (in this case)
It could not matter less
like say you wanted to parse a whole number string
both float and int work
do whatever you feel like kirito
Value Intregar Switch both have the same purpose
comparing the match input to the configured values hence outputting the value accosieted To the configured value if they're equal if the system has not found a match it outputs the "default" input
Except value intregar switch has the match input of an int and value string switch is the same except a string instead of int
Same CPU same NET use what u like and it doesn't matter what u choose
It’s more CONVENIENT
Ur liking
Actually string is more convenient since u can turn anything into a string
Using "to string"
NO stud
If you were to look at a switch and it says "CaveSubroom" vs "2"
which is easier to understand
both have pros and cons
For what he’s trying to do value integer switch is better
That’s not what he’s trying to do
cv2 debate? 🍿
Stfu
Ok ok let's stop this
Hell choose what he'll choose
THEY BOTH WORK FINE
both have pros and cons equally
I fully understand the pros and cons of both
All im saying is it’s much better to use a value integer switch in this case
actually int is better if the string is like
"The Depths of Hell In Azortah"
No way in hell im typing all that more than once
but if it was "mines"
then its equal
I could care less for what your talking about
Unless it’s for helping the OP
I’m right
I could care less anymore
Damn honestly if you could read for more than your 2 second attention span you would see im agreeing with you
but now I dont wanna
Huh
mk
** everyone** is right in their opinion
well, instead just arguing each other, my advice is just give your method first, and then the other will give their method second, and thats it.
no
wait yes
im blind
Yea
connect the response index
into the match
and the on prompt completion to the go to room
Do u know what is response index
so share each others ideas.
0, 1, 2
It's sorts the items in the list so the first item in the list is 0
Second is 1
Ect
send a pic now
So if the index is 0 u chose the first option
Plug the right destination constant to 0 if u want the player to go to that room if they chose the first item
Nice u got it
Its always better to make the person. Understand instead of copy and paste
Tell me if there's problems
I got confused nvm
It's right