LogoLogo
Quick Links
  • Arcware Cloud
  • Arcware Cloud Platform
    • Getting started with Arcware Cloud
      • Sign up and sign in
      • Select a Plan & Creating your Tenant
      • Creating your Tenant
      • 04. Creating your first project
      • 05. Upload and manage your Unreal packages
      • 06. Setting up your project
      • 07. Preview and share the stream
      • 08. Upgrade your Tenant
      • πŸ‘‘09. Organization
      • πŸ‘‘10. Add-ons
      • 11. Help Center
      • πŸ‘‘12. Customer Support
    • πŸ‘‘Add-ons guide
      • Direct Flow
      • Asset Management
    • Advanced settings
      • 01. AFK Module - User inactivity
      • 02. Max instance run-time
    • Common Arcware Cloud Questions
  • Unreal Engine Setup
    • Set up Pixel Streaming in your own project​
      • 01. Core Settings
        • 01.1. Plugin
        • 01.2. Pixel Streaming Input / Json messages
        • 01.3. Resolution
        • 01.4. Camera Aspect Ratio
        • 01.5. Framerate
        • 01.6. Mouse
        • 01.7. Touch Input Setup for Mobile
        • 01.8. DirectX version
      • 02. Optional Settings
        • 02.1 Touch Controllers
        • 02.2 Playing Media files
    • Using the Arcware Pixel Streaming Template Project
      • Template Overview
      • Getting Started
        • 01. Template download
        • 02. Arcware Blueprints
          • 02.1. Arcware GameMode
          • 02.2. Arcware Player Controller
            • 02.2.1. Sending and Receiving Json messages
            • 02.2.2. Creating and Testing Your Own Events
          • 02.3. Arcware Pawn
            • 02.3.1 Change Movement Mode
            • 02.3.2 Set Collision Channels
            • 02.3.3 Add new camera views
          • 02.4. Arcware HUD
        • 03. Packaging your project
  • ARCWARE FEATURES
    • Screenshot Functionality
      • Frontend Overview
        • Web UI
        • In-Game UI
      • Blueprint overview
  • Web Integration
    • ⬆️PixelStreaming WebSDK
      • Implementing the stream on your app
        • Getting Started
        • Code examples
          • Javascript + HTML
          • React
          • VueJS
          • AngularJS
        • Migration from @arcware/webrtc-plugin
        • Best practices
      • Configuration
      • Interacting with the Stream
        • Stream Container
        • Video Element
        • Customizing the User Interface
        • Handling Dynamic Content
        • Stream Display Customization
      • Interacting with Unreal Engine
      • In depth
        • Ticket destroyed.
        • Events handlers
        • Disconnect
        • ConnectionIdentifier
        • Settings-Menu
        • AFK-module
      • Showcase
    • ⬇️WebRTC Plugin
      • Getting started
      • Props and Types
      • SizeContainer, container and videoRef
      • Enabling the audio
      • Afk-module
      • Interacting with Unreal Engine
      • Example WebRTC Plugin Applications
        • React
        • AngularJS
        • VueJS
        • Plain HTML
Powered by GitBook
LogoLogo

Arcware Cloud Platform

  • Getting started​
  • Add-ons guide
  • Common Arcware Cloud Questions

Unreal Engine Setup

  • Set up Pixel Streaming in your own project​
  • Using the Arcware Pixel Streaming Template Project
  • Common Unreal Engine Questions

Arcware Features

  • Screenshot Functionality

Web Integration

  • PixelStreaming WebSDK
  • WebRTC Plugin

Copyright 2024 - Arcware GmbH

On this page
  1. Unreal Engine Setup
  2. Using the Arcware Pixel Streaming Template Project
  3. Getting Started
  4. 02. Arcware Blueprints
  5. 02.2. Arcware Player Controller

02.2.2. Creating and Testing Your Own Events

Using the Arcware Pixel Streaming Template Project - Getting Started - Arcware Blueprints - Arcware Player Controller

Previous02.2.1. Sending and Receiving Json messagesNext02.3. Arcware Pawn

Last updated 1 year ago

The existing Blueprint nodes in the Player Controller already allow you to Intercept some common Json messages, such as triggering Console Commands or changing camera views. It also provides example events that you can modify to create your own logic, as well as keyboard bindings for simulating custom Json messages being received.

1) Console Command Event Use: Logic for triggering Console Commands (typically you will always want the Console Command logics in your project as they are needed for features such as 'Dynamic Resolution Change' to work) Keyboard Shortcut: 1 Json String:

{ "console": "r.setres 1920x1080w" }

2) Change Camera View Event Use: Triggers an event inside the 'BP_Arcware_Pawn' that changes the players camera view Keyboard Shortcut: 2 Json String:

{ "camera_view": "cam_01" }

3) Example Event - two events being triggered from a single Json Message Use: An example to show how a Json message with a single 'Key' but two embedded 'Values' can be utilised. Triggers two events that both print a string to the log. Keyboard Shortcut: 3 Json String:

{ "trigger_events": { "event_01": "example_value_01", "event_02": "example_value_02" }}

4) Example Event - all events triggered from a group of Json Messages embedded in one object Use: An example to show how you could send all Json messages to Unreal Engine in one Json object string. This could be useful if you want to send a whole configuration list at once. Keyboard Shortcut: 4 Json String:

{ "console": "r.setres 1920x1080w", "camera_view": "cam_01", "trigger_events": { "event_01": "example_value_01", "event_02": "example_value_02" }}
Event Overview