how to have Python scripts control ingame variables while the game is running?

I am new to this Forum so please don’t judge my mistakes

I had a Python script with a Tensorlfow Ai inside and I wanted to somehow make that Python script run inside UE5 to potentially control some assets of my game. I thought of making my Python script control blueprint variables that then control in-game mechanics all while the game is running. I could not find any tutorials :sob: or anything related to my question :sob: . please help

The python stuff is editor only. (99% sure.) The purpose is to make scripts that manipulate your content to facilitate workflows. Ex creating a bunch of material instances, setting their properties automatically.

https://docs.unrealengine.com/5.2/en-US/PythonAPI/

1 Like