Silas

_vehicleID ExileDataBaseID

6 posts in this topic

Hi all,

So I'm trying to run scripts on specific vehicles.  Not specific vehicles as an Offroader.  I mean a specific Offroader.  There's a line in the db that sets the vehicleID, which appears to be the only unique identifier for a specific vehicle.  Can someone please help me out with a general code that does:

If the vehicleID = 20 (whatever the specific ID is from the database I want to use), then do code thing

An example would be where the vehicleID = 20 and the code thing would be setObjectTextureGlobal [0, "#(rgb,1,1,1)color(0,0,0,0)"];

Thanks in advance for any views/replies.

Share this post


Link to post
Share on other sites
Advertisement

I guess not so much.  Is there an example script I can look at that calls the db's vehicleID ?  I just need to see how the script engine calls data from the db.

Share this post


Link to post
Share on other sites
24 minutes ago, Silas said:

I guess not so much.  Is there an example script I can look at that calls the db's vehicleID ?  I just need to see how the script engine calls data from the db.

Look at: ExileServer_object_vehicle_database_*.sqf 

More importantly: insert, load, and update. 

All the information you need should be in those files. 

Share this post


Link to post
Share on other sites
7 hours ago, WolfkillArcadia said:

Look at: ExileServer_object_vehicle_database_*.sqf 

More importantly: insert, load, and update. 

All the information you need should be in those files. 

Awesome.  Thanks for pointing me in the right direction.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.