Allows to customize GwNavTraverseLogicData.
Constructors and accessors
Other related reference items
stingray.GwNavBot.navtag_layer_cost_table() stingray.GwNavBot.set_navtag_layer_cost_table() stingray.GwNavTraverseLogicData.set_navtag_layer_cost_table() | |
Gameware Navigation |
allow_layer ( self, layer_id )Specifies which layers this bot can traverse.
|
self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see this Stingray help topic, or this page in the Lua documentation. | |
layer_id : | number | The layerID to allow. |
This function does not return any values. |
create ( ) : stingray.GwNavTagLayerCostTableCreates a GwNavTagLayerCostTable.
|
destroy ( self )Destroys a GwNavTagLayerCostTable.
|
self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see this Stingray help topic, or this page in the Lua documentation. |
This function does not return any values. |
forbid_layer ( self, layer_id )Specifies which layers this bot cannot traverse.
|
self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see this Stingray help topic, or this page in the Lua documentation. | |
layer_id : | number | The layerID to forbid. |
This function does not return any values. |
set_layer_cost_multiplier ( self, layer_id, layer_cost_multiplier )Specifies which cost multiplier must be used when traversing a given NavTag layer.
|
self : | Specifies the object instance that this function will act on. You must always provide this self parameter when you call this function. You must use the dot . calling syntax, not the object-oriented colon : calling syntax.For more information, see this Stingray help topic, or this page in the Lua documentation. | |
layer_id : | number | The layerID to set. |
layer_cost_multiplier : | number | The associated cost multiplier of this layer. |
This function does not return any values. |