hi, so, now that we can instance Blueprints, i'm wondering is there a way to pass initial conditions data to the Blueprint from the asset?
Right now i have a couple of blueprints that are doing practically the same thing with minor changes (like moving a different way or a different color, etc). Unfortunately, i can't think of a way to do anything except for instance a whole new blueprint for each minor change, and that can't possibly be efficient.
HDA to Actor Blueprint data
4256 6 2- twelveplusplus
- Member
- 194 posts
- Joined: 8月 2011
- Offline
- DASD
- Member
- 453 posts
- Joined: 2月 2013
- Offline
- twelveplusplus
- Member
- 194 posts
- Joined: 8月 2011
- Offline
well, what i mean is, if i have a bunch of blueprints with public variables, I'm wondering if there is a way i can set the public variables from my houdini asset when i instance them.
I'm guessing there isn't since blueprint instancing is a new feature, but it would be nice if there were a way that I could have a specially named attribute to set a public variable on an instanced blueprint.
I'm guessing there isn't since blueprint instancing is a new feature, but it would be nice if there were a way that I could have a specially named attribute to set a public variable on an instanced blueprint.
- chrisgreb
- Member
- 603 posts
- Joined: 9月 2016
- Offline
Ah yes, we discussed this and decided it was probably the first thing people will want to do. (Setting initial state on the instanced actors). It's on our todo list. In the meantime I think you're right that you need different BPs. If you subclass a blueprint and just change some variables, it should have pretty low overhead because it will be a data-only blueprint. But of course it's not ideal to clutter up the project with BPs.
- twelveplusplus
- Member
- 194 posts
- Joined: 8月 2011
- Offline
- kfinla-improbable
- Member
- 3 posts
- Joined: 12月 2018
- Offline
- ron281279
- Member
- 36 posts
- Joined: 10月 2018
- Offline
*Bump*
I need to do the same thing!
e.g. I got a blueprint XY with a float uproperty “health”.
In Houdini I create points with an unreal_instance attribute to the blueprint XY -> all good.
Now i wanna set the blueprint's property “health” to a specific value.
Seems like unreal_uproperty_health would only work on static meshes generated by Houdini. Is there a way to set properties on instanced blueprints? Does the UE4 Engine Plugin support this?
best,
Ron
I need to do the same thing!
e.g. I got a blueprint XY with a float uproperty “health”.
In Houdini I create points with an unreal_instance attribute to the blueprint XY -> all good.
Now i wanna set the blueprint's property “health” to a specific value.
Seems like unreal_uproperty_health would only work on static meshes generated by Houdini. Is there a way to set properties on instanced blueprints? Does the UE4 Engine Plugin support this?
best,
Ron
-
- Quick Links