Silas 1 Report post Posted August 18, 2016 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
STARTairsoft780 12 Report post Posted August 18, 2016 We noticed this on our server. I've been wondering the same thing. Share this post Link to post Share on other sites
STARTairsoft780 12 Report post Posted August 19, 2016 Bump? Share this post Link to post Share on other sites
Silas 1 Report post Posted August 20, 2016 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
WolfkillArcadia 758 Report post Posted August 20, 2016 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
Silas 1 Report post Posted August 20, 2016 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