The main blueprint the Coala POIs. Only contains logic, no content. You should create a child to use it.
The main static mesh of the POI.
Collision:
A collision box. Is used to check if a player has clicked on the POI.
A collision sphere. Can be used to create interactions with the player.
The point the camera zooms to when the setting "ZoomToPOI" is activated.
The starting position where the widget is shown, when the setting "WidgetStyle: Dynamic" is activated.
Shows the front axis.
Widget:
private: Reference to POI widget
CoalaPlayer:
private: Reference to player.
UseWidget:
Shows a widget.
CloseOldWidget:
Closes the last widget, when a new one is clicked.
ZoomToPOI:
Zoom to the POI, when the widget is shown.
ZoomRotate:
Rotation angle while zooming.
StopMovementByShow:
Stops the player movement, when the widget is shown.
WidgetStyle:
Static: The widget will simply be shown on the screen.
Dynamic: The widget will be shown at the ShowWidgetPoint. It behaves like a 3D Widget.
WidgetClass:
Class for the POI widget:
The widget must be lead by "WI_Poi_Coala".
WidgetSize:
The size in which the widget should be shown.
PoiName:
Name of the POI.
PoiDescription:
Description of the POI.
PoiIcon:
Icon of the POI.
WidgetOffset:
Here the offset for a dynamic widget is set. A widget is always created from the top left. If you want it to be on the bottom right, you can set a negative offset of the size of the widget.
The ConstructionScript handles the scaling of the POI.
Scales the POI.
Starts a zoom to the POI.
Zooms back to the player.
Shows if the widget is visible or not.
Prepares the widget, if one is used.
Shows or hides the widget.
Shows the widget.
Hides the widget.