#Saving UI position
1 messages · Page 1 of 1 (latest)
You don't.
So we can't save ui position ? 😭
No.
one last quesiton when i use a cs script did its get executed when im in game
i talk about this
or its just i use a librayry that are not in unturned so its not working
Here is a piece of advice that I wish I didn't have to tell people:
custom scripts = no worky.
scripts referencing actual scripts in-game = yes, do work.
there is no way to avoid that ?
#1122775224358801429 message
😭
You could create like 8 UI variants with different starting positions and let the player pick one along with dragging the UI so they dont have to drag it very far or at all @viscid current
I had a really convoluted idea on figuring out where the player placed the UI which would work. The issue is that you cant place a UI element anywhere meaning youd have to make like 300+ custom UI effect assets which would be hella dumb
Can't you edit a game objects transform through plugin ?
Not directly the effect but a subgame object
Hi, do you mean a gameobject in an Effect?
yeah
The best I can suggest is hooking up some activation event hooks to some empty game objects and then making those gameobjects active using the effect visibility method.
You can modify anything server side but UI effects are Client sided meaning you have to tell the client "Hey do this" and then the Client has to have a method to respond with like "Yeah I did that"
basically the problem is that; without a custom module that adds new RPC methods you cant tell the client to do stuff it was never designed to do