Path Find
The player must press the key when the the segment is inside the target zone.
local success = exports.bl_ui:PathFind(iterations, config)
- iterations:
number
is the amount of iterations the player has to complete.- 1 is the default iteration.
- config:
NodeConfig
Example
local success = exports.bl_ui:PathFind(3, {
numberOfNodes = 10,
duration = 5000,
})