This assignment expects a value of type ?vector3, but the assigned value is an incompatible value of type vector3.
var LocationToGo:?vector3 = false
set LocationToGo = vector3{X := GetRandomFloat(-DistanceFromSpawnPtToMove,DistanceFromSpawnPtToMove),
Y := GetRandomFloat(-DistanceFromSpawnPtToMove,DistanceFromSpawnPtToMove),
Z := 0.0 }
I’m trying to make a random waypoints to make my npc patrolling when there is no player around him