Endstar LUA API Documentation
Loading...
Searching...
No Matches
PointOfInterest Class Reference

Public Member Functions

 PointOfInterest (Gameplay.PointOfInterest pointOfInterest)
 
bool IsNpcNear (Context npcContext)
 Checks if the npc is near this within this point of interest's navigation range, returns the result.
 
void SetEnabledState (Context instigator, bool enabledState)
 Sets the enabled state of this point of interest, this determines if the point of interest can be found by npcs when trying to explore.
 
void SetGroup (Context instigator, NpcGroup npcGroup)
 Set the NpcGroup that can find this point of interest.
 

Constructor & Destructor Documentation

◆ PointOfInterest()

PointOfInterest ( Gameplay.PointOfInterest pointOfInterest)

Member Function Documentation

◆ IsNpcNear()

bool IsNpcNear ( Context npcContext)

Checks if the npc is near this within this point of interest's navigation range, returns the result.

Parameters
npcContext
Returns
Returns true if the npc is near this point of interest and false otherwise.

◆ SetEnabledState()

void SetEnabledState ( Context instigator,
bool enabledState )

Sets the enabled state of this point of interest, this determines if the point of interest can be found by npcs when trying to explore.

Parameters
instigatorThe context initiating this change.
enabledStateThe new enabled state of the point of interest.

◆ SetGroup()

void SetGroup ( Context instigator,
NpcGroup npcGroup )

Set the NpcGroup that can find this point of interest.

Parameters
instigatorThe context initiating this change.
npcGroupThe new NpcGroup of the point of interest.