what exactly are slot types?

Discussion in 'Programming' started by ThreeDTech21, Nov 10, 2014.

  1. ThreeDTech21

    ThreeDTech21
    Expand Collapse

    Joined:
    Sep 27, 2013
    Messages:
    1,616
    I have opened the hatch_hood.jbeam to study the code, I see slotType in the code, what is exactly is a slotType and what does it do for the game?
     
  2. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,958
    Defines which part slot it fits in. Take for example any engine part for the pickup, has slottype pickup_engine. Somewhere in the pickup jbeam there is a line which defines that the pickup has the pickup_engine slot for the engines to go into from the parts selector.
     
  3. Dennis-W

    Dennis-W
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    390
    maybe this helps
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice