i wanted to know how to make it so when you leave you aren’t destroyed so when you come back you have your items in another unit i already got some of it down but i cant get then to spawn in the other unit
make player variables and use selected units
ty man thats so help full but i need more info on exactly how to do that pls
im active bla bla bla
are you going to relpy
kk u go to player types and click on the player type u want to save under the player attributes it shows player variables add a player variable probably the same name with saver at the end u want the unit to save and then in the respawn scripts add these scripts inside of the if scripts for respawn
for all units in game:
if selected unit == last triggering unit
then do: set entity attribute (attribute) of selected unit as (player variable)
else do:
and thats all!
i still need help i dont know how to make the if selected unit==last trigiring unit part
bruh instead of doing unit type comparison just do unit comparison to do selected unit stuff
dose this work when i laeve the game and come back
NOPE NOT AT ALL lol it only works for respawning units
f u man you a scamer you ruind every thing
YOU SAID THAT U NEEDED SCRIPTS FOR DYING UNITS so i ruined nothing
you ruind it all unless you have a way to save when you leave
i do u want??? cuz i kinda made my own
wait a sec bla bla bla bla bla
yes i do want pls gib to me
i gtg byee see you later
oof dang u gtg already i just showed u a meme i paid to get on the office
i saw it i just got back its not that good
im home from school now