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:33] – justin | replace_navigation [2017/06/20 11:59] – 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 |
- | * **// | + | |
- | * **// | + | |
- | * **// | + | |
- | * **// | + | |
- | * **// | + | |
<code python> | <code python> | ||
Line 16: | Line 11: | ||
|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.|[[Constant]]|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 info 100%> | ||
+ | See [[Modify Navigation]] if you'd like to only change the navigation type between two specific tiles instead of any tiles relative to an entity. | ||
+ | </ | ||
====Example: | ====Example: | ||
Line 22: | Line 21: | ||
replace_navigation(self, | replace_navigation(self, | ||
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> |