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/11 12:35] – justin | replace_navigation [2018/03/16 09:47] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Replaces one navigation/ | + | 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 |
- | * **// | + | |
- | * **// | + | |
- | * **// | + | |
- | * **// | + | |
- | * **// | + | |
+ | ====Signature: | ||
<code python> | <code python> | ||
replace_navigation(entity, | replace_navigation(entity, | ||
Line 15: | 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.|[[Constant]]|Yes| | + | |new_navigation_type|New navigation type to replace the existing type with.|[[navigation_and_interaction|Navigation Type]]|Yes| |
- | <WRAP center round info100%> | + | <WRAP center round info 100%> |
- | See [[Modify Navigation]] if you'd like to only change the navigation type between specific tiles. | + | See [[Modify Navigation]] if you'd like to only change the navigation type between |
</ | </ | ||
Line 26: | Line 22: | ||
replace_navigation(self, | replace_navigation(self, | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> |