(RESOLVED) UE4 HDA : where to store global py vars?

   859   0   0
User Avatar
Member
47 posts
Joined: April 2020
Offline
i normally store my global python variables in hou.session, but when the HDA gets loaded into ue4/ue5 it says there aren't any variables in hou.session.

and it's not like i can just write them to a node variable because it has more complicated variables like dictionaries and that's not easily storable in a node variable...

while i'm at it, how do you print while in UE4 to debug what's going on? print() commands don't do anything and so the only way i'm proving these variables don't exist is when ue4 is crashing because they don't exist. :P

thanks in advance!
-seneca


EDIT : i now see where you're supposed to store the global vars that unreal can read :
HDA PROPERTIES->SCRIPTS tab->EVENT HANDLER button->PYTHON MODULE.
Edited by indigosm - Aug. 26, 2021 15:53:26
  • Quick Links