User Tools

Site Tools


replace_navigation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
replace_navigation [2017/06/20 11:59] justinreplace_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, navigation_type, new_navigation_type) replace_navigation(entity, navigation_type, new_navigation_type)
Line 10: Line 11:
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
 |entity|Tile or object to replace navigation to/from.|[[Entity]]|Yes| |entity|Tile or object to replace navigation to/from.|[[Entity]]|Yes|
-|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|
  
replace_navigation.txt · Last modified: 2021/04/21 18:42 by justin