This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
replace_navigation [2017/06/20 11:59] – justin | replace_navigation [2018/03/16 09:47] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Replaces one navigation type with another for any navigation paths that are connected to the specified tile or object. The acceptable values for navigation type are listed and explained on the [[Navigation and Interaction]] page. | Replaces one navigation type with another for any navigation paths that are connected to the specified tile or object. The acceptable values for navigation type are listed and explained on the [[Navigation and Interaction]] page. | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
replace_navigation(entity, | replace_navigation(entity, | ||
Line 10: | Line 11: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|entity|Tile or object to replace navigation to/ | |entity|Tile or object to replace navigation to/ | ||
- | |navigation_type|Existing navigation type that will be replaced.|[[Constant]]|Yes| | + | |navigation_type|Existing navigation type that will be replaced.|[[navigation_and_interaction|Navigation Type]]|Yes| |
|new_navigation_type|New navigation type to replace the existing type with.|[[navigation_and_interaction|Navigation Type]]|Yes| | |new_navigation_type|New navigation type to replace the existing type with.|[[navigation_and_interaction|Navigation Type]]|Yes| | ||