Summary
When using ?MovementType on navigatable.NavigateTo()
You will get this error after building verse even tho /Fortnite.com/AI is imported:
new_npc_behavior_basic.verse(14,51, 14,65): Script error 3506: Unknown identifier movement_types. Did you forget to specify using { /Fortnite.com/AI }
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Stability
Steps to Reproduce
- create a basic npc behavior from templates
- add this in the OnBegin
OnBegin<override>()<suspends>:void=
if(NPC:=GetAgent[ ].GetFortCharacter[ ], Nav:=NPC.GetNavigatable[]):
Target:=MakeNavigationTarget(vector3{X:=0.0, Y:=0.0, Z:=0.0})
Nav.NavigateTo(Target, ?MovementType:=movement_types.Running)
- Build verse
Expected Result
Should build with no errors
Observed Result
You will get an error saying we should import
using { /Fortnite.com/AI }
while it is imported at line 1 of the file
Platform(s)
PC (verse)
