Skip to main content

SF_DemoCharacterController_BP

The Character Controller is responsible to handle most of the behaviour for the player.

Technical Details

Interfaces

SFInteractionManager_AC

warning

TODO: Document

SFSequenceManager_AC

warning

TODO: Document

SFInventoryManager_AC

warning

TODO: Document

SFSaveManager_AC

warning

TODO: Document

SFCameraManager_AC

warning

TODO: Document

Members

  • CameraDistanceHistory: Array<Float>. The history of the Camera Distances, only the ones that are to be restored sometime.
  • DefaultCameraDistance: Float. The default Camera Distance : 130f
  • SFSave_Manager_AC: Class Object. The Save Manager.
  • SFInventory_Manager_AC: Class Object. The Inventory Manager.
  • SFInteraction_Manager_AC: Class Object. The Interaction Manager.
  • SFCamera_Manager_AC: Class Object. The Camera Manager.

Methods

RestorePreviousCameraDistanceAndDeleteLast

Remove latest element in array and returns it, if array size is 1, return default size (e.g. the first value).

SaveCameraDistance(float NewCameraDistance)

Saves the parameter in the history.

Get Prev Latest Camera Distance

Returns latest element in the array.

Events

BeginPlay

Loads the InputMappingContext, SFComponents, and AutoSave.

EnhanceInputAction JournalKey_IA

Allows to open the journal menu.

EnhanceInputAction InventoryKey_IA

Toggles the inventory.

EnhanceInputAction Drop_IA

Removes an item from the inventory and drops it to the floor.

EnhanceInputAction Inspect_IA

Returns info from an item.

EnhanceInputAction ToggleTask_IA

Toggles the infos of the task.

EnhanceInputAction InteractKey_IA

Allows interacting with something that is interacteable.

EnhanceInputAction SubInteractKey_IA

Similar to InteractKey_IA.

EnhanceInputAction RotateKey_IA

Used to rotate an inspected element around itself.

EnhanceInputAction Read_IA

Get readable text from an object.

EnhanceInputAction Pause_IA

Pauses the game.

EnhanceInputAction Navigate_IA

To navigate in the journal.

EnhanceInputAction Back_IA

Goes back in various elements.

EnhanceInputAction Select_IA

To select elements, (buttons).

EnhanceInputAction Move_IA

Allows the player to move in XY axis.

EnhanceInputAction Jump_IA

Allows the player to jump.

AnyKey (QTEInput)

warning

TODO