# Programming & Scripting

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/148.md?page=8

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 9

---

## [Off-by-one errors in ppo.py affect the last episode of a gather during training](https://forums.unrealengine.com/t/off-by-one-errors-in-ppo-py-affect-the-last-episode-of-a-gather-during-training/2845303)

<div class="topic-metadata">

**Author:** [@MannyVindiola](https://forums.unrealengine.com/u/MannyVindiola)\
**Replies:** 1\
**Last updated:** [October 27, 2026, 1:39pm UTC](https://forums.unrealengine.com/t/off-by-one-errors-in-ppo-py-affect-the-last-episode-of-a-gather-during-training/2845303 "2026-10-27T13:39:19Z")

</div>

Hello, I think I have found two off-by-one errors in the LearningAgents PPO python trainer ppo.py While comparing the LearningAgents Python PPO trainer to the CleanRL version I found two off-by-one errors in loop bound…

---

## [Day 6 - Interaction System in C++ (Unreal Engine 5)](https://forums.unrealengine.com/t/day-6-interaction-system-in-c-unreal-engine-5/2845656)

<div class="topic-metadata">

**Author:** [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Replies:** 0\
**Last updated:** [October 27, 2026, 11:22am UTC](https://forums.unrealengine.com/t/day-6-interaction-system-in-c-unreal-engine-5/2845656 "2026-10-27T11:22:38Z")

</div>

Hello everyone, I’ve just completed Day 6 of my Unreal Engine 5 Gameplay Engineer journey. Today I implemented a basic Interaction System entirely in C++ using Enhanced Input and Line Traces. Features implemented: …

---

## [How can I know when the player stops moving the mouse?](https://forums.unrealengine.com/t/how-can-i-know-when-the-player-stops-moving-the-mouse/2845546)

<div class="topic-metadata">

**Author:** [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Replies:** 2\
**Last updated:** [October 27, 2026, 9:25am UTC](https://forums.unrealengine.com/t/how-can-i-know-when-the-player-stops-moving-the-mouse/2845546 "2026-10-27T09:25:53Z")

</div>

Hi! I need to know when the player stops moving the mouse. To test it, I’m using the third person template to know when the user stops moving the mouse: I think I have to use the Completed event but it is full of “…

---

## [Integer variable only using default value opposed to the value set. ](https://forums.unrealengine.com/t/integer-variable-only-using-default-value-opposed-to-the-value-set/2845376)

<div class="topic-metadata">

**Author:** [@ThatOneDolphin38](https://forums.unrealengine.com/u/ThatOneDolphin38)\
**Replies:** 3\
**Last updated:** [October 27, 2026, 2:07am UTC](https://forums.unrealengine.com/t/integer-variable-only-using-default-value-opposed-to-the-value-set/2845376 "2026-10-27T02:07:52Z")

</div>

I have a multiplayer system in which a host can set the maximum amount of players, create a session and once that number of players is present in the lobby the game begins. This functions fine apart from the Public Conne…

---

## [Looking for Help to Finish a Web Development Project ](https://forums.unrealengine.com/t/looking-for-help-to-finish-a-web-development-project/2845005)

<div class="topic-metadata">

**Author:** [@OrwellianCat3033](https://forums.unrealengine.com/u/OrwellianCat3033)\
**Replies:** 1\
**Last updated:** [October 27, 2026, 1:05am UTC](https://forums.unrealengine.com/t/looking-for-help-to-finish-a-web-development-project/2845005 "2026-10-27T01:05:23Z")

</div>

Looking for Help to Finish a Web Development Project Hi everyone, I’m looking for an experienced web developer who can help me finish and properly debug an existing web application. I’ve been working on this project fo…

---

## [(GAS) How to initialize attribute values with a data table?](https://forums.unrealengine.com/t/gas-how-to-initialize-attribute-values-with-a-data-table/2845035)

<div class="topic-metadata">

**Author:** [@pastelfable](https://forums.unrealengine.com/u/pastelfable)\
**Replies:** 2\
**Last updated:** [October 26, 2026, 11:19pm UTC](https://forums.unrealengine.com/t/gas-how-to-initialize-attribute-values-with-a-data-table/2845035 "2026-10-26T23:19:09Z")

</div>

I can’t seem to find a straight answer on google. I have six characters in my project, and I want them all to use the same attribute sets but with different attribute values. I thought one way to do this would be to make…

---

## [AI Perception Sight and Hearing Not Working Together on the Same Component](https://forums.unrealengine.com/t/ai-perception-sight-and-hearing-not-working-together-on-the-same-component/2845331)

<div class="topic-metadata">

**Author:** [@Ozymandias301](https://forums.unrealengine.com/u/Ozymandias301)\
**Replies:** 3\
**Last updated:** [October 26, 2026, 10:32pm UTC](https://forums.unrealengine.com/t/ai-perception-sight-and-hearing-not-working-together-on-the-same-component/2845331 "2026-10-26T22:32:58Z")

</div>

Hi everyone, I’m setting up an AI perception system in Unreal Engine using Blueprints. I want my AI to detect the player using both Sight and Hearing. When I add both AI Sight Config and AI Hearing Config to the same A…

---

## [Super simple question but why isn't HP bar updating ;D](https://forums.unrealengine.com/t/super-simple-question-but-why-isnt-hp-bar-updating-d/2845089)

<div class="topic-metadata">

**Author:** [@UkkosDuck](https://forums.unrealengine.com/u/UkkosDuck)\
**Replies:** 3\
**Last updated:** [October 26, 2026, 8:08pm UTC](https://forums.unrealengine.com/t/super-simple-question-but-why-isnt-hp-bar-updating-d/2845089 "2026-10-26T20:08:34Z")

</div>

Hello! So I followed a HP bar and damage tutorial, everything else works fine, but my health bar is not updating as it should. Any help is appreciated!!

---

## [In a multiplayer game the game mode OnLogout gets called during server travel, so how can I check if a player has actually left the game?](https://forums.unrealengine.com/t/in-a-multiplayer-game-the-game-mode-onlogout-gets-called-during-server-travel-so-how-can-i-check-if-a-player-has-actually-left-the-game/945043)

<div class="topic-metadata">

**Author:** [@rantrod](https://forums.unrealengine.com/u/rantrod)\
**Replies:** 3\
**Last updated:** [October 26, 2026, 6:36pm UTC](https://forums.unrealengine.com/t/in-a-multiplayer-game-the-game-mode-onlogout-gets-called-during-server-travel-so-how-can-i-check-if-a-player-has-actually-left-the-game/945043 "2026-10-26T18:36:08Z")

</div>

ue5.1 I’m keeping data on players I’d like to clear if they actually leave, but how to tell if they actually left or just server traveling? The destination map during server travel has a different game mode if that make…

---

## [PlayerStart not working, in new update](https://forums.unrealengine.com/t/playerstart-not-working-in-new-update/2845257)

<div class="topic-metadata">

**Author:** [@Ruslanmin2](https://forums.unrealengine.com/u/Ruslanmin2)\
**Replies:** 1\
**Last updated:** [October 26, 2026, 6:08pm UTC](https://forums.unrealengine.com/t/playerstart-not-working-in-new-update/2845257 "2026-10-26T18:08:31Z")

</div>

PlayerStart not working, how to fix it?? Please help. Ruslan

---

## [Shared Keyboard 2 player game Input Action Movement working but Animations not?](https://forums.unrealengine.com/t/shared-keyboard-2-player-game-input-action-movement-working-but-animations-not/2845349)

<div class="topic-metadata">

**Author:** [@WillMead13](https://forums.unrealengine.com/u/WillMead13)\
**Replies:** 1\
**Last updated:** [October 26, 2026, 3:58pm UTC](https://forums.unrealengine.com/t/shared-keyboard-2-player-game-input-action-movement-working-but-animations-not/2845349 "2026-10-26T15:58:55Z")

</div>

Hey all! This is quite urgent because it’s for a game jam so I appreciate any help!! I’m creating a local coop game with a shared keyboard (one player is on WASD, one is on arrow keys) The movement works fine, however,…

---

## [Web API for Verse](https://forums.unrealengine.com/t/web-api-for-verse/2695623)

<div class="topic-metadata">

**Author:** [@Ja6ka1337](https://forums.unrealengine.com/u/Ja6ka1337)\
**Replies:** 2\
**Last updated:** [October 26, 2026, 3:19pm UTC](https://forums.unrealengine.com/t/web-api-for-verse/2695623 "2026-10-26T15:19:33Z")

</div>

Hello! I would like to ask about the Web API for Verse. Is it possible to use these functions now and is it necessary and possible to contact Epic for a personal license to be able to use queries to my own external datab…

---

## [Mass: specialized processors vs fewer larger processors?](https://forums.unrealengine.com/t/mass-specialized-processors-vs-fewer-larger-processors/2837463)

<div class="topic-metadata">

**Author:** [@pezzott1](https://forums.unrealengine.com/u/pezzott1)\
**Replies:** 7\
**Last updated:** [October 26, 2026, 2:17pm UTC](https://forums.unrealengine.com/t/mass-specialized-processors-vs-fewer-larger-processors/2837463 "2026-10-26T14:17:38Z")

</div>

I’m relatively new to ECS, and I’m currently working on a project where I’m trying to move a significant part of the simulation and gameplay into Mass. I’m running into an architectural question: to keep responsibilitie…

---

## [My Unreal Engine StateTree AI incorrectly clears its player target while the player is still within sight, causing the AI to leave Chase and return to Patrol. ](https://forums.unrealengine.com/t/my-unreal-engine-statetree-ai-incorrectly-clears-its-player-target-while-the-player-is-still-within-sight-causing-the-ai-to-leave-chase-and-return-to-patrol/2834066)

<div class="topic-metadata">

**Author:** [@Nishanth1445](https://forums.unrealengine.com/u/Nishanth1445)\
**Replies:** 3\
**Last updated:** [October 26, 2026, 2:07pm UTC](https://forums.unrealengine.com/t/my-unreal-engine-statetree-ai-incorrectly-clears-its-player-target-while-the-player-is-still-within-sight-causing-the-ai-to-leave-chase-and-return-to-patrol/2834066 "2026-10-26T14:07:53Z")

</div>

Hello, I am working on state tree AI and i am having a issue with the states. The ai patrols and when it sense the player it should chase the player and get back to patrol if the chase fails(when the player is out of sig…

---

## [Día 5 - Sistema de Doble Salto en C++ (Unreal Engine 5)](https://forums.unrealengine.com/t/dia-5-sistema-de-doble-salto-en-c-unreal-engine-5/2845245)

<div class="topic-metadata">

**Author:** [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Replies:** 0\
**Last updated:** [October 26, 2026, 11:25am UTC](https://forums.unrealengine.com/t/dia-5-sistema-de-doble-salto-en-c-unreal-engine-5/2845245 "2026-10-26T11:25:11Z")

</div>

Hola a todos. He completado el Día 5 de mi serie de aprendizaje para convertirme en Gameplay Engineer utilizando Unreal Engine 5 y C++. En esta ocasión he implementado un sistema de Doble Salto utilizando Enhanced Inpu…

---

## [Day 5 - Double Jump System in C++ (Unreal Engine 5)](https://forums.unrealengine.com/t/day-5-double-jump-system-in-c-unreal-engine-5/2845238)

<div class="topic-metadata">

**Author:** [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Replies:** 0\
**Last updated:** [October 26, 2026, 10:46am UTC](https://forums.unrealengine.com/t/day-5-double-jump-system-in-c-unreal-engine-5/2845238 "2026-10-26T10:46:02Z")

</div>

Hello everyone, I’ve just completed Day 5 of my Unreal Engine 5 Gameplay Engineer journey. Today I implemented a Double Jump System entirely in C++ using Enhanced Input and the Character Movement Component. Features i…

---

## [How to make movement face camera and not world](https://forums.unrealengine.com/t/how-to-make-movement-face-camera-and-not-world/2845071)

<div class="topic-metadata">

**Author:** [@UkkosDuck](https://forums.unrealengine.com/u/UkkosDuck)\
**Replies:** 2\
**Last updated:** [October 26, 2026, 10:28am UTC](https://forums.unrealengine.com/t/how-to-make-movement-face-camera-and-not-world/2845071 "2026-10-26T10:28:56Z")

</div>

Hello! So I’m making a 2.5d game, where camera stays in one spot, and player can move around. I’m having a problem where if I face the camera one direction, everything works fine. but when I (for example) turn it facing…

---

## [WaterBodyRiver not carving into landscape properly ](https://forums.unrealengine.com/t/waterbodyriver-not-carving-into-landscape-properly/2844449)

<div class="topic-metadata">

**Author:** [@wholehuman](https://forums.unrealengine.com/u/wholehuman)\
**Replies:** 1\
**Last updated:** [October 26, 2026, 5:47am UTC](https://forums.unrealengine.com/t/waterbodyriver-not-carving-into-landscape-properly/2844449 "2026-10-26T05:47:19Z")

</div>

I am trying to make a river for my map but for some reason it refuses to carve or morph into the terrain surrounding it. I have been battling with this for hours and finally decided to ask for some help. I’ve searched…

---

## [Dynamic Sound Playing From PhysicsActor](https://forums.unrealengine.com/t/dynamic-sound-playing-from-physicsactor/2843494)

<div class="topic-metadata">

**Author:** [@altmanto](https://forums.unrealengine.com/u/altmanto)\
**Replies:** 3\
**Last updated:** [October 26, 2026, 5:47am UTC](https://forums.unrealengine.com/t/dynamic-sound-playing-from-physicsactor/2843494 "2026-10-26T05:47:02Z")

</div>

Hello, I’m not sure how to explain this, but I’ve got an object that has physics constraints and I would like to play sounds depending on how the object moves. I’m adding impulses/force on the body and there are wheels c…

---

## [UI Lobby Menu Replication](https://forums.unrealengine.com/t/ui-lobby-menu-replication/2844578)

<div class="topic-metadata">

**Author:** [@Gilan101](https://forums.unrealengine.com/u/Gilan101)\
**Replies:** 1\
**Last updated:** [October 26, 2026, 12:45am UTC](https://forums.unrealengine.com/t/ui-lobby-menu-replication/2844578 "2026-10-26T00:45:21Z")

</div>

I’m trying to create a lobby menu for a multiplayer game that uses Listen Servers. The lobby includes a display for each connected player, with some information about their character. I have an ALobbyPlayerState class …

---

## [Creating a scrolling "Samurai Warrior" clone using Blueprints?](https://forums.unrealengine.com/t/creating-a-scrolling-samurai-warrior-clone-using-blueprints/2845064)

<div class="topic-metadata">

**Author:** [@MrAllen1976](https://forums.unrealengine.com/u/MrAllen1976)\
**Replies:** 1\
**Last updated:** [October 25, 2026, 11:11pm UTC](https://forums.unrealengine.com/t/creating-a-scrolling-samurai-warrior-clone-using-blueprints/2845064 "2026-10-25T23:11:38Z")

</div>

Above. I recently got Blueprints for a scrolling fighter starring a Samurai Rabbit, similar to “Samurai Warrior” which was released on the 8 bits by Firebird back in the late 1980s. I got the Blueprints from ChatGPT.co…

---

## [subject:%20Clarification%20on%20Prize%20Eligibility%20for%20Participants%20in%20T%C3%BCrkiye%20%E2%80%93%202026%20Epic%20AI%20MegaJam ](https://forums.unrealengine.com/t/subject-20clarification-20on-20prize-20eligibility-20for-20participants-20in-20t-c3-bcrkiye-20-e2-80-93-202026-20epic-20ai-20megajam/2845019)

<div class="topic-metadata">

**Author:** [@ESPpunisher](https://forums.unrealengine.com/u/ESPpunisher)\
**Replies:** 0\
**Last updated:** [October 25, 2026, 1:57pm UTC](https://forums.unrealengine.com/t/subject-20clarification-20on-20prize-20eligibility-20for-20participants-20in-20t-c3-bcrkiye-20-e2-80-93-202026-20epic-20ai-20megajam/2845019 "2026-10-25T13:57:38Z")

</div>

Hello Epic AI MegaJam Team, Our team has registered for the 2026 Epic AI MegaJam through itch.io, and we are excited to participate. However, we noticed that Türkiye is listed as a restricted jurisdiction in the Offici…

---

## [Unable to Install Unreal Engine ](https://forums.unrealengine.com/t/unable-to-install-unreal-engine/2844444)

<div class="topic-metadata">

**Author:** [@rajeswar995](https://forums.unrealengine.com/u/rajeswar995)\
**Replies:** 1\
**Last updated:** [October 25, 2026, 8:14am UTC](https://forums.unrealengine.com/t/unable-to-install-unreal-engine/2844444 "2026-10-25T08:14:55Z")

</div>

Hi All, I am unable to install/download Unreal Engine from the Epic Games Launcher. The “+” and the “drop down” features are not working. I am unable to click those icons. I am using Windows 11.

---

## [Unpaid/colaboration](https://forums.unrealengine.com/t/unpaid-colaboration/2844784)

<div class="topic-metadata">

**Author:** [@herrnandezz](https://forums.unrealengine.com/u/herrnandezz)\
**Replies:** 0\
**Last updated:** [October 25, 2026, 12:49am UTC](https://forums.unrealengine.com/t/unpaid-colaboration/2844784 "2026-10-25T00:49:15Z")

</div>

WESTSIDE LEGACY — I’m looking for collaborators for an indie video game in Unreal Engine 5 Hello everyone! I am an independent developer from Spain and I am creating WESTSIDE LEGACY, an open world video game set in an …

---

## [Behavior tree still running after player controller possesses actor](https://forums.unrealengine.com/t/behavior-tree-still-running-after-player-controller-possesses-actor/2844723)

<div class="topic-metadata">

**Author:** [@pastelfable](https://forums.unrealengine.com/u/pastelfable)\
**Replies:** 1\
**Last updated:** [October 24, 2026, 7:30pm UTC](https://forums.unrealengine.com/t/behavior-tree-still-running-after-player-controller-possesses-actor/2844723 "2026-10-24T19:30:01Z")

</div>

In my project the player can switch between characters, and when they switch off a character an AI controller possesses it and runs a behavior tree, which is currently just a move to and an attack task. When switching ba…

---

## [Mouse Click Event not working properly](https://forums.unrealengine.com/t/mouse-click-event-not-working-properly/2035655)

<div class="topic-metadata">

**Author:** [@vollstrekkker](https://forums.unrealengine.com/u/vollstrekkker)\
**Replies:** 7\
**Last updated:** [October 24, 2026, 6:22pm UTC](https://forums.unrealengine.com/t/mouse-click-event-not-working-properly/2035655 "2026-10-24T18:22:04Z")

</div>

Hello, i have a problem with “Mouse Click Event” and tried everything i could find on the internet. Problem: When i start my Game (Editor, New Window, Standalone and Packaged) the mouse click event only fires at the f…

---

## [Save current level (level streaming)](https://forums.unrealengine.com/t/save-current-level-level-streaming/478841)

<div class="topic-metadata">

**Author:** [@Mint\_Gorillaz](https://forums.unrealengine.com/u/Mint_Gorillaz)\
**Replies:** 9\
**Last updated:** [October 23, 2026, 11:14pm UTC](https://forums.unrealengine.com/t/save-current-level-level-streaming/478841 "2026-10-23T23:14:42Z")

</div>

How to save current level when using level streaming? First 2 pics how i would save if i wasnt using level stream Pic with red arrow me trying to save current location (dosent work) So how??

---

## [CRASH EU ENGINE game: goals ](https://forums.unrealengine.com/t/crash-eu-engine-game-goals/2843923)

<div class="topic-metadata">

**Author:** [@Liiante](https://forums.unrealengine.com/u/Liiante)\
**Replies:** 1\
**Last updated:** [October 23, 2026, 8:37pm UTC](https://forums.unrealengine.com/t/crash-eu-engine-game-goals/2843923 "2026-10-23T20:37:35Z")

</div>

Hey everyone, I keep getting an Unreal Engine crash (EU Engine crash) while playing GOALS. Has anyone else run into this issue or know how to fix it? Let me know if there’s a known workaround.

---

## [UWidgetComponent HUD does not keep consistent screen size when zooming / changing distance – how to fix?](https://forums.unrealengine.com/t/uwidgetcomponent-hud-does-not-keep-consistent-screen-size-when-zooming-changing-distance-how-to-fix/2714815)

<div class="topic-metadata">

**Author:** [@InkSmith](https://forums.unrealengine.com/u/InkSmith)\
**Replies:** 1\
**Last updated:** [October 23, 2026, 8:12pm UTC](https://forums.unrealengine.com/t/uwidgetcomponent-hud-does-not-keep-consistent-screen-size-when-zooming-changing-distance-how-to-fix/2714815 "2026-10-23T20:12:13Z")

</div>

Hi everyone, I’m working on an RTS-style project in UE5 where each regiment actor has a floating HUD using a UWidgetComponent. Here is how I set it up: HUDWidget = CreateDefaultSubobject\<UWidgetComponent\>(TEXT("HUDWid…

---

## [How to constrain movement component to one axis? ](https://forums.unrealengine.com/t/how-to-constrain-movement-component-to-one-axis/2739661)

<div class="topic-metadata">

**Author:** [@benjaminsmith](https://forums.unrealengine.com/u/benjaminsmith)\
**Replies:** 1\
**Last updated:** [October 23, 2026, 8:10pm UTC](https://forums.unrealengine.com/t/how-to-constrain-movement-component-to-one-axis/2739661 "2026-10-23T20:10:12Z")

</div>

Hi everyone, I have been trying to set up a system where the character movement component can only move on one axis for specific conditions. In essence the game is a 2D platformer which typically is constrained to 2D mov…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/148.md?page=7)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/148.md?page=9)
