can the .pers vars remain between map changes?
can the .pers vars remain between map changes?
0RBohRgwLk (31st July 2024)
Speaking for cod2: It does retain the player.pers variables, but with some limitations. The data will be dropped if the player reconnects for some reason between a map change (e.g., when there is a file to download with sv_wwwDlDisconnected enabled on the server), and variables of type object (entities, structs, not sure about arrays; basically everything that is just a reference and not a concrete value) are dropped too, meaning they become undefined.
0RBohRgwLk (1st August 2024)
Thank you for these details