documentation on lua API calls?

Discussion in 'Programming' started by MuzzleVelocity, Apr 6, 2016.

  1. MuzzleVelocity

    MuzzleVelocity
    Expand Collapse

    Joined:
    Mar 3, 2016
    Messages:
    46
    maybe I'm not wording this correctly. but i peeked under the hood of the VehicleDebug app and there is a neat function called bngApi.activeObjectLua that takes some cool arguments like "fire.igniteVehicle" etc.

    Is there anyplace I can find a list of these functions/objects ? Thanks!

    -EDIT
    nevermind, i think i found what i need. in the /lua/vehicle folder I found fire.lua inside of which i can find the available functions. All the other .lua files in the /lua/vehicle folder can be similarly interpreted. cool...
     
    #1 MuzzleVelocity, Apr 6, 2016
    Last edited: Apr 6, 2016
  2. Dummiesman

    Dummiesman
    Expand Collapse

    Joined:
    Sep 17, 2013
    Messages:
    4,700
    You can look around the "--public interface" within the Lua files located in C:\Program Files (x86)\Steam\Steamapps\common\BeamNG.drive\lua\vehicle ;)
     
    • Like Like x 1
  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