![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Member Functions | |
| event bool | CanContextChange (UserActionContext currentContext, UserActionContext newContext) |
| bool | DoIntersectCheck (IEntity controlledEntity) |
| bool | GetIsInteractionAvailableScript () |
| bool | GetCanInteractScript (IEntity controlledEntity) |
| BaseUserAction | GetSelectedActionScript () |
Collects interactions by performing a sphere cast initially and then a sphere query at the end. Iterates through hit entities and tries to find closest entity with ActionsManagerComponent that has a valid context.
Definition at line 10 of file InteractionHandlerComponent.c.
|
inlineprotected |
Called before a context is set to determine whether a change can occur.
Definition at line 15 of file InteractionHandlerComponent.c.
Should preferred context collection use intersect checks? This will make a ray check against the context's radius. This works well in tight places where relying on physical collisions is impossible - e.g. in vehicle interiors.
Definition at line 24 of file InteractionHandlerComponent.c.
Are we allowed to start collecting and processing interactions? Implement custom logic and return true if yes, false otherwise.
| controlledEntity | The entity that wants to be able to interact (player controlled) |
Definition at line 37 of file InteractionHandlerComponent.c.
|
inlineprotected |
Are any user actions available to interact with? Implement and return true if yes, false otherwise.
Definition at line 30 of file InteractionHandlerComponent.c.
|
inlineprotected |
Currently sected action or null if none. Implement and return currently selected action.
Definition at line 43 of file InteractionHandlerComponent.c.