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

stingray.GwNavSmartObjectInterval object reference

Description

Represents the Entrance and Exit points for a [GwNavSmartObject].

Functions

Parameters

self :

stingray.GwNavSmartObjectInterval

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

boolean

Tells if the smartobject id is still allowed in GwNavWorld' smartobject/cost table.

Parameters

navworld :

stingray.GwNavWorld

The GwNavWorld that this interval will be used with.

Returns

stingray.GwNavSmartObjectInterval

The created GwNavSmartObjectInterval.

Parameters

self :

stingray.GwNavSmartObjectInterval

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.GwNavSmartObjectInterval

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

stingray.Vector3

The entrance position.

boolean

true if the bot is currently stood at the entrance position.

Parameters

self :

stingray.GwNavSmartObjectInterval

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

stingray.Vector3

The exit position.

boolean

true if the bot's path ends at the exit position.

Parameters

self :

stingray.GwNavSmartObjectInterval

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

integer

The id of the SmartObject.