I am using Easy Ballistic and the blueprint class of the bullet inherits the variables form the plugin one. I can manually edit the variable in the editor of the blueprint but if I try to set them in the code with conditions etc, the set variables are not applied for the child class.
So I wonder if this is possible to avoid duplicating a bullet blueprint (to create variations on the bullet) and changing the parameters manually, I thought with one blueprint I can set the variables in the nodes according to conditions.
Thanks for helping: Ok here is the child class of a bullet BP based on the Easy Ballistic plugin.
The variables can be set manually in the details (right side) but not through the nodes.
The variables are inherited so I believe the parent class only reads the manually set details parameters.
Yes the code gets executed but the variables do not influence the parameters.
If I duplicate this BP , I can create all the variations I need by manually entering the parameters in the details. But I thought with one bullet BP, I can use the variables that are equivalent to the details parameters to create all the variations I need in the code.
Sorry I can’t see a way for you to do that.
Because variables you are trying to change is applied on spawn of the bullet. Begin play executes shortly after that. And spawn of the bullet buried in “Shoot” function.