Endstar LUA API Documentation
|
Public Member Functions | |
void | SetIsHeldInteraction (Context instigator, bool isHeldInteraction) |
Sets the interaction held behavior for the npc interaction. | |
void | SetInteractionAnimation (Context instigator, InteractionAnimation interactionAnimation) |
Sets the interaction animation for the interaction. | |
void | SetInteractionDuration (Context instigator, float duration) |
Sets the hold duration of a held interaction. | |
void | StopInteraction (Context interactor, Context npcContext) |
Forces an interacting npc to stop interacting. | |
void | InteractionCompleted (Context interactor) |
Tells the interaction node that the player completed the interaction completely. | |
void | InteractionCanceled (Context interactor) |
Tells the interaction node that the player canceled the interaction before fully completing it. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
IGroupInstructionNode | GroupNode [get] |
void InteractionCanceled | ( | Context | interactor | ) |
Tells the interaction node that the player canceled the interaction before fully completing it.
interactor | The context of the interactor |
void InteractionCompleted | ( | Context | interactor | ) |
Tells the interaction node that the player completed the interaction completely.
interactor | The context of the interactor |
void SetInteractionAnimation | ( | Context | instigator, |
InteractionAnimation | interactionAnimation ) |
Sets the interaction animation for the interaction.
instigator | The source context triggering this change |
interactionAnimation | The interaction animation to set |
void SetInteractionDuration | ( | Context | instigator, |
float | duration ) |
Sets the hold duration of a held interaction.
instigator | The source context triggering this change |
duration | The duration of the held interaction. |
void SetIsHeldInteraction | ( | Context | instigator, |
bool | isHeldInteraction ) |
Sets the interaction held behavior for the npc interaction.
instigator | The source context triggering this change |
isHeldInteraction | The value of the new held interaction bool |