meetric1/GMod-Seamless-Portals

When loading a save with any linked portals they unlink

Opened this issue · 4 comments

It doesn't matter if they are manually linked or if they are spawned through the spawnlist entity category
Before loading:
image
After loading:
image

im unsure how to fix this properly since I cant store entities in the dupe table because the entity ID changes every time you spawn one in

im unsure how to fix this properly since I cant store entities in the dupe table because the entity ID changes every time you spawn one in

I'm sure there's functions/hooks for the GMod Sandbox save system that lets custom entities store specific info... right? Right?

If not, what about saving the exact origin and angles of the linked portal? Unless it would require frequent updates due to the lack of a GMod Sandbox save hook detector.

@meetric1

I will test this after work, but I am sure it will work 90%. You are free to test it too if you like.