er2.runEveryone 76

Run a script locally for every player in the match (or just for the user if it's a SinglePlayer match).
External file must be placed within the folder '[mission folder]/scripts/general/' or any subfolder


Return value

Return TypeDescription
voidThis function doesn't return anything

Parameters

ParameterTypeDescription
1stringThe sub path and file name to load
2bool(Optional) Run the script everytime a new user join the match. Default: False

Examples

No examples available.


Back to Scripting API