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

Public Member Functions

Context GetContext ()
 Gets the context of this instruction node.
 
float GetTime ()
 Gets the current local game time.
 
void GiveGroupInstruction (Context instigator, int group)
 Give this instruction to all npcs in the group.
 
void RescindGroupInstruction (Context instigator, int group)
 Rescinds this instruction from all npcs in the group.
 

Properties

IGroupInstructionNode GroupNode [get]
 

Member Function Documentation

◆ GetContext()

Context GetContext ( )

Gets the context of this instruction node.

Returns
The context of the instruction node.

◆ GetTime()

float GetTime ( )

Gets the current local game time.

Returns
The current local game time.

◆ GiveGroupInstruction()

void GiveGroupInstruction ( Context instigator,
int group )

Give this instruction to all npcs in the group.

Parameters
instigatorThe source context that is triggering this change.
groupThe group to give this instruction to.

◆ RescindGroupInstruction()

void RescindGroupInstruction ( Context instigator,
int group )

Rescinds this instruction from all npcs in the group.

Parameters
instigatorThe source context that is triggering this change
groupThe group to remove this instruction from.

Property Documentation

◆ GroupNode

IGroupInstructionNode GroupNode
getprotected