Settings Singleton

Modpage

Download

http://arkmod.net/files/ARK/Sourcefiles/Public/SettingsSingleton-master.zip

Author

https://steamcommunity.com/profiles/76561197962912863

Here is an example of using a replicated singleton to make your mod’s INI settings easily available in any graph, whether on server or the remote client. (it also contains an example of using this replicated actor to do logging from any graph, because it logs the settings to demo it is working)

Showing how the settings are accessed in graph. Can be any graph. World Context Actor is not required, will default to Get Primary World. Note that in PIE it works best if you give an actor, since PIE Get Primary World always returns server world.

Shows PIE log output. The settings singleton logs its settings first on server and then the replicated actor on client does its logs. This is then followed by the example test player buff logging the setting values it retrieves during server/client EBP.

Leave a Reply

Your email address will not be published. Required fields are marked *