This component enables prefabs ( creatures ) to record down positions of certain locations in a table and associate them with names. For most cases,  it stores the original location of the given prefab to allow them to go back to their home.

Component KnownLocations Field

tablelocationsStores the names of the locations as key and positions in Vector3 format as values

Component KnownLocations Method

RememberLocationname, pos, dont_overwriteniladds the position in the table with the given name
GetLocationnametablereturn the position in Vector3 format associated with the name
ForgetLocationnamenilremove entry of the given name from the table