is it possible to make AI follow checkpoints in freeroam? even make them follow checkpoints in desired order?
Code: local helper = require('scenario/scenariohelper') helper.setAiPath({vehicleName = 'clone', routeSpeed = 5, lapCount = 999, routeSpeedMode = 'set', waypoints = {'wp1','wp2'}, aggression = 0}) Even if it says scenario, you can use this in freeroam
oh, nice. but where should i put that? and should i make different lines for each car i will use? thank you
it depends what you are doing. You are using Triggers?, you want to type the commands in the console? Ui app?
idk. i have a track and i want AI to drive it in defined way and get rid of that the AI somitimes turns around and go wrong way
All this can be fixed if the *one way* setting worked, but for now it does not, hope it is being worked on for future updates
yeah, but crossing intersections in only stright direction could be best solved with checkpoints. sunking and raising waypoints makes AI do weird things