GwNavTagLayerCostTable - stingray.GwNavTagLayerCostTable object reference - Stingray Lua API Reference

stingray.GwNavTagLayerCostTable object reference

Description

Allows to customize GwNavTraverseLogicData.

Functions

Parameters

self :

stingray.GwNavTagLayerCostTable

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.

Returns
This function does not return any values.
Parameters
This function does not accept any parameters.
Returns

stingray.GwNavTagLayerCostTable

The created GwNavTagLayerCostTable.

Parameters

self :

stingray.GwNavTagLayerCostTable

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.
Returns
This function does not return any values.
Parameters

self :

stingray.GwNavTagLayerCostTable

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.

Returns
This function does not return any values.
Parameters

self :

stingray.GwNavTagLayerCostTable

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.

Returns
This function does not return any values.