#Is this the best way of respawning at a random respawn point?

1 messages ยท Page 1 of 1 (latest)

digital lagoon
#

I've heard lists are bad so I'm unsure about using them - I've also heard respawn points arent good... Thanks!

hard pebble
# digital lagoon I've heard lists are bad so I'm unsure about using them - I've also heard respaw...

for respawn points, sure. Just save the list create into a variable when player joins & room reset (or any event to ur liking that runs for everyone after the room is saved)

u could also use a int switch tho, were u definite each indice as compare values, then use random int. There're cheaper than list even compared to list variable, & obviously wouldnt need events to save variable, so saves chips

digital lagoon
hard pebble
# digital lagoon Thanks for the response! What is the purpose of saving the list as a variable? ...

yee np :3

saving into variable stores the list as a proper structure i believe, where list create calculates it on the fly, which is less efficient (but probably negligible with cpu nowadays & will becone more so when compiler is implemented)

ye, u would use a value int switch so u would plug the random int into the switch & run the respawn just like you have now, but the output from the switch as "Spawn Point" input

digital lagoon
#

I also tried having the list as a variable, but the variable output won't connect to the random chip ๐Ÿค”

wind summit
digital lagoon
#

hello darkness my old friend

hard pebble
hard pebble
#

not the text working with random from list specicifically, but ye

wind summit
hard pebble
#

thats y switch is just better

digital lagoon
hard pebble
#

heres a example for your case, & a 256 int switch

digital lagoon
#

Oh my gosh, that's insane hahaha

digital lagoon
hard pebble
hard pebble
digital lagoon
#

Awh man :' ) it could be an issue with the other circuits so I'll check that too. If not I'll have to go back to the list ๐Ÿ˜ช thank you for all the help!!

grave light
hard pebble
grave light
#

(I tagged you in a post T55)

hard pebble
hard pebble
digital lagoon
#

As in saving the list as a variable?

hard pebble
#

u could even make a system with events to always do role checking & what not

digital lagoon
#

Ah, thank you! Hmm, yeah, like using vectors in the switch as my own spawn points. Thanks!

hard pebble
digital lagoon
#

Thank you!!