Overview > Inworld Player Component Class:Documentation Index
Fetch the complete documentation index at: https://docs.inworld.ai/llms.txt
Use this file to discover all available pages before exploring further.
UInworldPlayerComponent | Inherits from: UInworldSimplePlayerComponent
Full-featured Inworld player component with trigger support. This component extends the simple player implementation by adding the ability to send triggers with custom parameters, enabling more complex interactions and goal-driven conversations with Inworld characters.
Key Features:
- All functionality from UInworldSimplePlayerComponent
- Trigger system for goal-based interactions
- Custom parameter support for triggers
- Advanced conversation control
- Complete player interaction suite
Methods
Reference
SendTrigger
Sends a trigger to initiate goal-driven interactions. Triggers are used to activate specific character behaviors, goals, or conversation paths. They can include custom parameters to provide context and customize the interaction.
Examples
Parameters
| Parameter | Type | Description |
|---|---|---|
| GoalName | FName | The name of the goal/trigger to activate |
| Parameters | const TMap<FString, FString> | Key-value pairs of custom parameters to send with the trigger |
Returns
Type:virtual void