User Tools

Site Tools


modify_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
modify_navigation [2017/06/19 12:01] justinmodify_navigation [2021/04/21 18:35] (current) justin
Line 2: Line 2:
 ---- ----
  
-Modifies the type of navigation and interaction allowed between two adjacent tiles. The acceptable values for navigation type are listed and described on the [[Navigation and Interaction]] page.+Modifies the type of navigation and interaction allowed between two adjacent tiles. The acceptable values for navigation type are listed and explained on the [[Navigation and Interaction]] page.
  
 +====Signature:====
 <code python> <code python>
-modify_navigation(first_tile_idsecond_tile_id, navigation_type)+modify_navigation(from_tileto_tile, navigation_type)
 </code> </code>
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|first_tile_id|ID of the first tile.|[[String]]|Yes| +|from_tile|Tile to connect navigation from.|[[Entity]]|Yes| 
-|second_tile_id|ID of the second tile.|[[String]]|Yes| +|to_tile|Tile to connect navigation to.|[[Entity]]|Yes| 
-|navigation_type|Navigation type to set between the two tiles.|[[Constant]]|Yes|+|navigation_type|Navigation type to set between the two tiles.|[[navigation_and_interaction|Navigation Type]]|Yes|
  
 <WRAP center round info 100%> <WRAP center round info 100%>
Line 18: Line 19:
  
 ====Example:==== ====Example:====
-<code python+<code bauxite
-modify_navigation("tile01", "tile02", WALK_AND_INTERACT)+modify_navigation("tile01", "tile02", WALK_AND_INTERACT);
 </code> </code>
 //Results:// Characters are now able to walk and interact between the tiles with IDs of "tile01" and "tile02". //Results:// Characters are now able to walk and interact between the tiles with IDs of "tile01" and "tile02".
modify_navigation.1497898863.txt.gz · Last modified: 2017/06/19 12:01 by justin