Page MenuHomeFeedback Tracker

"isOnRoad" command returns FALSE on bridges
Closed, ResolvedPublic

Description

As title says. This command should either return true on bridges or an additional isOnBridge command is needed.

Details

Legacy ID
1953477420
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Stand on the 1st bridge in Agia Marina and execute

hint str isonroad position player

it will return false.

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Scripting.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Fixed.
Killzone_Kid set Legacy ID to 1953477420.May 7 2016, 5:16 PM
This comment was removed by DaveZember.

Also nearRoads seems to be quite useless as well. I could be standing on the road and trying to detect the road within 1m around me and it would return []

hint str (player nearRoads 1)

not to mention it doesn't detect the road on a bridge as well.

fixed or not a bug. isOnRoad obj works fine, isOnRoad position obj fails, isOnRoad getPosATL obj works fine.