Yogstation 13 - Modules - TypesVar Details - Proc Details

Parallax

Vars

random_layerA random parallax layer that we sent to every player
random_parallax_weightsWeighted list with the parallax layers we could spawn

Procs

PreInitatom/movable/screen/parallax_layer/random/asteroids = 35,
post_station_setupCalled 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_layerGenerate a random layer for parallax
swap_out_random_parallax_layerChange 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