Can Unreal Engine 4 read the coordinates of a player's location in-game from an external text file?

I am planning to develop a VR First Person Shooter. I will be using sensors to track the player’s location and store them in a text file using Python. Can Unreal Engine read these coordinates from the text file?

Ofcorse it can but you need C++, UE4 provides file read and write API

Here you have use example from engine:

https://github.com/EpicGames/UnrealEngine/blob/dff3c48be101bb9f84633a733ef79c91c38d9542/Engine/Source/Editor/UnrealEd/Private/SourceCodeNavigation.cpp#L546

Ofcorse you operate with bytes here so you would need to convert from string to float.

Other solution would be use config system, if you put “config” in UPROPERTY() and Config=Engine in UCLASS() (this tells which config file to use) and then call SaveConfig() on that object all properties with "config specifier will be stored in config ini file and you can use LoadConfig() to load it

I don’t think there any solution for blueprints to do so, i think 's plugin provided some file APIs for blueprint