Modding Help tell me how to get the value [2] from world.liquidAt (it's decided)

Discussion in 'Starbound Modding' started by PaulFors, Jul 23, 2019.

  1. PaulFors

    PaulFors Intergalactic Tourist

    tell me how to get the value [2] from world.liquidAt
    Code:
     my_value = world.liquidAt (mcontroller.position())
     
  2. PaulFors

    PaulFors Intergalactic Tourist

    Code:
    function MyLiquid()
      return world.liquidAt (mcontroller.position())
    end
    
    function Update(dt)
    MyWaterLevel = MyLiquid()[2]
    
    
     
  3. The | Suit

    The | Suit Agent S. Forum Moderator

Share This Page