Parallax
Vars | |
random_layer | A random parallax layer that we sent to every player |
---|---|
random_parallax_weights | Weighted list with the parallax layers we could spawn |
Procs | |
PreInit | atom/movable/screen/parallax_layer/random/asteroids = 35, |
post_station_setup | Called at the end of SSstation setup, in-case we want to run some code that would otherwise be too early to run (like GLOB. stuff) |
set_random_parallax_layer | Generate a random layer for parallax |
swap_out_random_parallax_layer | Change the random parallax layer after it's already been set. update_player_huds = TRUE will also replace them in the players client images, if it was set |
Var Details
random_layer
A random parallax layer that we sent to every player
random_parallax_weights
Weighted list with the parallax layers we could spawn
Proc Details
PreInit
atom/movable/screen/parallax_layer/random/asteroids = 35,
post_station_setup
Called at the end of SSstation setup, in-case we want to run some code that would otherwise be too early to run (like GLOB. stuff)
set_random_parallax_layer
Generate a random layer for parallax
swap_out_random_parallax_layer
Change the random parallax layer after it's already been set. update_player_huds = TRUE will also replace them in the players client images, if it was set