How do I read JSON from file (Flowgraph)

Discussion in 'Content Creation' started by chocolateimage, Jul 2, 2022.

  1. chocolateimage

    chocolateimage
    Expand Collapse

    Joined:
    Jul 2, 2022
    Messages:
    8
    I want to make a mission that loads JSON from a file to see all the different vehicles and locations that are in the file.
    Example json file:
    Code:
    {"vehicles":["vehicles/gfdgdf.pc","another vehicle","another vehicle.pc"],"locations":[[200,100,200],[100,200,100]]}
    And also, how do I make a Lua mission?
     
    #1 chocolateimage, Jul 2, 2022
    Last edited: Jul 2, 2022
  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