1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

Station/Ship State

Discussion in 'Modding API' started by Kyneroth, Aug 24, 2018.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. Kyneroth

    Kyneroth Trainee Engineer

    Messages:
    6
    Hi guys,
    I'm trying to create a custom block that can only be activated and stay active while the grid is a station as apposed to a ship. I might be missing something really simple here but the only example I've found is finding the velocity of the block and if it's "not zero". I've looked through the imported SE visual studio auto fill and library but couldn't see a field for the definition of the cubegrid.
    Any help or links to examples would be super helpful.
    Regards
    Kyn
     
  2. Digi

    Digi Senior Engineer

    Messages:
    2,393
    grid.IsStatic if a grid is unmovable. "Unsupported stations" in world settings defines if grids can be static without needing a voxel anchor.

    You should join the keen discord chat for faster questions/answers from people that are there :p https://discordapp.com/invite/0hIE7GirODUqhfIg
     
Thread Status:
This last post in this thread was made more than 31 days old.