Announcement

Collapse
No announcement yet.

How to set BluePrint Variable through Python API

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to set BluePrint Variable through Python API

    Hey so I have a script creating my own child blueprints from my parent class. And I have exposed variables that I want to set but the only line I can find in the API documentation that makes any sense to me is this one:

    Code:
    unreal.SystemLibrary.set_float_property_by_name(my_blueprint_asset, 'health', 10.0)
    but it doesnt work so I am not sure where to go from here.
    Last edited by magnus.larsson; 12-17-2018, 06:54 AM.
Working...
X