[FIX] Attribute initialisation now gets properly initialised in server and client #68
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have some non replicated attributes I'd like to initialise in both, Authority and Autonomous Proxy.
For that I am adding an initializer gameplay effect in the character in PossessedBy (auth) and OnRepPlayerState (aut/sim-proxy).
Well turns out that GASDocumentation ASC lives in the PS, and when I am adding the effect in OnRep_PlayerState, my attributes dont get initialised in the autonomous proxy, but the simulated proxies... i could diagnose a bit, and it seems that even if the character is autonomous proxy in onrep_playerstate, the PS is simulated proxy... so I effectively dont have a way to init non replicated Attributes in the Autonomous Proxy through the offered original method.
TODO: Address this in the documentation since I find it pretty relevant for ASCs that live in the PS.