Endstar LUA API Documentation
|
Used to create interaction behaviors for the NPCs. More...
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 | RescindInstruction (Context interactor, Context npcContext) |
Rescinds the interaction instruction given to an npc. | |
Public Member Functions inherited from InstructionNode | |
Context | GetContext () |
Gets the context of this instruction node. | |
float | GetTime () |
Gets the current local game time. | |
Additional Inherited Members | |
Properties inherited from InstructionNode | |
Endless.Gameplay.Scripting.InstructionNode | ManagedNode [get] |
Used to create interaction behaviors for the NPCs.
Rescinds the interaction instruction given to an npc.
interactor | The interactor involved in the interaction |
npcContext | The npc to rescind the instruction for. |
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 |