User Tools

Site Tools


replace_navigation

This is an old revision of the document!


Replace Navigation


Replaces one navigation/interaction type with another for any navigation paths that are connected to the specified tile or object. The acceptable values for navigation type are described below:

  • WALK_AND_INTERACT: Characters can both walk and interact between the tiles.
  • WALK_ONLY: Characters can only walk between the tiles (no interaction is allowed).
  • INTERACT_ONLY: Characters can only interact between the tiles (no walking is allowed).
  • PENDING: Characters cannot walk or interact between the tiles, but a connection is maintained. (This is in support of some future functionality.)
  • NONE: Characters cannot walk or interact between the tiles.
replace_navigation(entity, navigation_type, new_navigation_type)
ArgumentDescriptionTypeRequired
entityID of the first tile.EntityYes
navigation_typeID of the second tile.ConstantYes
new_navigation_typeNavigation type to set between the two tiles.ConstantYes

Example:

replace_navigation("tile01", PENDING, WALK_AND_INTERACT)

Results: Characters are now able to walk and interact between the tiles with IDs of “tile01” and “tile02”.

Use the Replace Navigation function to .


Editor Node:

Visual Demo:

replace_navigation.1497147429.txt.gz · Last modified: 2017/06/10 19:17 by justin