SPUD icon indicating copy to clipboard operation
SPUD copied to clipboard

Hot to know if the data layer/cell is new or if post restore will happen on Actor

Open Rcurreli opened this issue 1 year ago • 2 comments

Hi @sinbad , I resurrect an old post: https://github.com/sinbad/SPUD/issues/53

It would be really useful to know if an actor is in a new cell/data layer, or will the post restore happen(for a loading game, or just reloaded cell/data layer), it is just not possible to know? (with persistent objects it is possible thanks to GetSpudSubsystem(GetWorld())->IsLoadingGame())

can it be done anyway, for example by temporarily saving the GUID (or I don't know what else that remains constant) of the temporary actors in a persistent actor set? (this way it could be distinguished between the first time the cell/data layer is loaded and all the other times)

As we said, We can make a logic that can be executed multiple times, but it would be nice to avoid this if possible.

Rcurreli avatar Dec 12 '24 09:12 Rcurreli

AFAIK nothing has changed since that previous issue. FYI I'm not really working on SPUD anymore, barring dealing with engine upgrades and community PRs, it kind of is what it is. The world partition support was a community addition as well (I don't use it), so I'm not super familiar with it. So I'm not really sure if there's a way to improve this for WP, sorry, I haven't looked into it.

sinbad avatar Dec 12 '24 14:12 sinbad

no problem, thanks anyway!

Rcurreli avatar Dec 17 '24 13:12 Rcurreli