You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bRemoveInstance option from UFlowAsset::FinishFlow doesn't seem to be used by any of the callers, meaning that in all paths that eventually call FinishFlow, the instance will be removed. For some use cases, I'd like it not to be removed (for example in a Dialog flow, where the same NPC will go over and over the same nodes for as long as the player keeps talking to them), but instead reuse the existing instance.
Once suggestion would be to propagate this flag on some of the paths where this function is called, such as FlowNode_Finish.cpp so we could optionally prevent the instance from being removed.
@MothDoctor let me know if this is something you would be ok with and I can perhaps send a PR implementing these changes
The text was updated successfully, but these errors were encountered:
The
bRemoveInstance
option fromUFlowAsset::FinishFlow
doesn't seem to be used by any of the callers, meaning that in all paths that eventually callFinishFlow
, the instance will be removed. For some use cases, I'd like it not to be removed (for example in a Dialog flow, where the same NPC will go over and over the same nodes for as long as the player keeps talking to them), but instead reuse the existing instance.Once suggestion would be to propagate this flag on some of the paths where this function is called, such as
FlowNode_Finish.cpp
so we could optionally prevent the instance from being removed.@MothDoctor let me know if this is something you would be ok with and I can perhaps send a PR implementing these changes
The text was updated successfully, but these errors were encountered: