Hi all.
sort of a Poll here.
Finally got to the point where making a proper combat system is a must…
The point of the system is that it will function for both characters and AIs.
I’m keeping things very simple on purpose, also because I would like to transform this into a free tutorial in the future.
Now, the question is…
most if not all of the functions like Attack, Defend, etc. Will contain very similar if not downright identical code.
play montage, line trace or collision trace the hit. Send a success/fail as return.
As such, it would seem that implementing a function library for those offers the most reusable implementation.
on the other hand, it (sort of) precludes the use and avoidance of casting via blueprint interface.
I could ofc use both and call the function in as the interface function call, however this seems a bit redundant?
What are the popular ways out there / suggestions / and or additional considerations here?
/ is there any other way to standardize bpi implementations with pre-made functions?