Replaces one navigation type with another for any navigation paths that are connected to the specified entity. The acceptable values for navigation type are listed and explained on the Navigation and Interaction page.
replace_navigation(entity, navigation_type, new_navigation_type)
|entity||Entity to replace navigation to/from.||Entity, Group||Yes|
|navigation_type||Existing navigation type that will be replaced.||Navigation Type||Yes|
|new_navigation_type||New navigation type to replace the existing type with.||Navigation Type||Yes|
replace_navigation(self, INTERACT_ONLY, WALK_AND_INTERACT);
Results: Any navigation paths in each of the four cardinal directions from the entity that this script is attached to currently having a type of INTERACT_ONLY will be changed to WALK_AND_INTERACT (now allowing characters to pass through).