Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

What this interface of the Hinge blocks for programming (In game)?

Discussion in 'Programming (In-game)' started by Elianthony, Jul 1, 2020.

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

    Messages:
    8
    What this interface/type of the Hinge blocks in the sparks of the future dlc for programming (In game)?

    Example:

    IMyBlockGroup group = GridTerminalSystem.GetBlockGroupWithName("A Group");
    List<IMyHingeBlocks> hinge = new List<IMyHingeBlocks>();
    // Fetch the blocks from that group. Note that the type designation is implicit
    // here, it's defined by the list above - this is why you don't need to specify
    // the type in <>.
    group.GetBlocksOfType(hinge);

    Is <IMyHingeBlocks> the type of hinge blocks in this method aplication??
     
  2. Malware Master Engineer

    Messages:
    9,865
    It's a rotor (IMyMotorStator).
     
    • Agree Agree x 2
  3. Elianthony Trainee Engineer

    Messages:
    8
    Thanks Malware!!!

    Your mdk in github is perfect!! continue with great job!

    Thanks you so much!
     
Thread Status:
This last post in this thread was made more than 31 days old.