Parameters to Pass to App
Describes how to pass Commands from the Old Control Panel to the App.
Prerequisites
For this document, you need :
Access to the Control Panel ;
A user Account.
Instructions
Step 1. Prepare the setup
1. Create a new Config
Go to : Step 2 : Create a Config > Add a new Config> Enter Config name > Add
In this example we will name the Config ‘CmdLineDemo’.
More info on how to Create a new Config could be found here.
2. Download our E3DSFeaturesTemplate Project on your Computer
Download our E3DSFeaturestemplate UE Project, refer to this Link to find it.
3. Upload the E3DSFeaturesTemplate UE App on the Control Panel
Access the Old Control panel from here.
See this document on how to upload Apps.
Your Control Panel should now have the E3DSFeaturesTemplate App and a new Config for testing.
![image-20240328-142551.png](../__attachments/23855105/image-20240328-142551.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Image 1. Control Panel: E3DSFeaturesTemplate App uploaded and a new Config created
Step 2. Send Commands to your App from the Control Panel
Go to : Control Panel > Step2: Config Selection > Edit > Developer Option > Parameters to Pass to App.
![image-20240515-142323.png](../__attachments/23855105/image-20240515-142323.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Image 2. Control Panel: Step 2: Config Selection : Edit: Developer Option : Parameters to Pass to App
1. Add ‘-green’ in the text box. Click Save
DO NOT add the local Pixel Streaming commands in this parameters field.
Such as: -PixelStreamingIP=localhost -PixelStreamingPort=8888
they are added Automatically by our system.
![image-20240515-142612.png](../__attachments/23855105/image-20240515-142612.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Image 3. Add -green in the text field
2. Open the E3DSFeaturesTemplate App and run to the 12th booth
Test the command by running the game.
UE4 has received your Command on runtime and has changed the sphere’s color to green.
![](../__attachments/23855105/image-20231222-132552.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Image 4. Launching E3DSFeaturesTemplate App : Sphere Сolor changed to green
Up until here you have learned how to Pass commands/Parameters to your App from the Control Panel and how to see the changes in the App upon initialization.
To pass more parameters, follow the steps below :
1. Enter ‘-blue -pink -white' in the text field and click save
Enter 3 other commands in the field of Parameters to Pass to App for further testing.
![image-20240515-142710.png](../__attachments/23855105/image-20240515-142710.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Image 5. Add ‘-blue -pink -white’ to the text field
2. Open the E3DSFeaturesTemplate App and run to the 12th bay
Run the game to see the changes made after inputting the commands from the Control Panel.
UE has received the commands during runtime and has changed the colors.
The sphere color changed to blue. The cone to pink and the cube to white.
![](../__attachments/23855105/image-20220725-195630.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Image 5. Launching the E3DSFeaturesTemplate App : The sphere, cone and cube’s colors changed to blue, pink and white
3. Enter ‘-blue -red -green’ in the text field
To further test the feature, enter these commands -blue -red -green in the field and click save.
![image-20240515-142738.png](../__attachments/23855105/image-20240515-142738.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Image 6. Add ‘-blue -red -green’ to the field
4. Open the E3DSFeaturesTemplate App and run to the 12th bay
Run the game to see the changes of colors.
UE has received your commands during runtime.
The color of the sphere changed to blue, the cone changed to green and the cube to red.
![](../__attachments/23855105/image-20220725-195834.png?inst-v=27e98e0b-a7f8-4fea-87e8-8659c502a385)
Image 7. Open the Features Template App. Run to the 12th bay: the sphere, cone and cube’s colors changed to blue, green and red
Pro-tip:
Check the UE Blueprints in our sample project to see how these commands are being received by UE.
Was this article helpful? Comment Below. Let us know your feedback.
Need help? Contact Support
Submit a new request at E3DS support portal.
Requests sent on weekends will not be addressed until the following business day.