# UDK Programming and UnrealScript

**URL:** https://forums.unrealengine.com/c/legacy-tools-unreal-engine-3-udk/udk-programming-and-unrealscript/71.md?page=6

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

**Page:** 7

---

## [How do I open a keyboard overlay with Steamworks?](https://forums.unrealengine.com/t/how-do-i-open-a-keyboard-overlay-with-steamworks/272105)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 5\
**Last updated:** [January 17, 2022, 10:47pm UTC](https://forums.unrealengine.com/t/how-do-i-open-a-keyboard-overlay-with-steamworks/272105 "2022-01-17T22:47:36Z")

</div>

I have more than this, but this is the most important stuff: var OnlineSubsystemSteamworks Steamworks; ... local bool Success; Steamworks = OnlineSubsystemSteamworks(class'GameEngine'.static.GetOnlineSubsystem()); Succe…

---

## [Is there any way for the game to know if it is running the 32-bit or the 64-bit exe?](https://forums.unrealengine.com/t/is-there-any-way-for-the-game-to-know-if-it-is-running-the-32-bit-or-the-64-bit-exe/272496)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 1\
**Last updated:** [January 14, 2022, 5:12pm UTC](https://forums.unrealengine.com/t/is-there-any-way-for-the-game-to-know-if-it-is-running-the-32-bit-or-the-64-bit-exe/272496 "2022-01-14T17:12:56Z")

</div>

The SteamUtils wrapper I made in connection with a previous question in working, but only in 64-bit mode. Almost no one plays my game in 32-bit as far as I can tell. I’d like to just not use SteamUtils if the game is r…

---

## [UnrealScript Documentation](https://forums.unrealengine.com/t/unrealscript-documentation/269166)

<div class="topic-metadata">

**Author:** [@str\_magic](https://forums.unrealengine.com/u/str_magic)\
**Replies:** 1\
**Last updated:** [December 31, 2021, 11:05pm UTC](https://forums.unrealengine.com/t/unrealscript-documentation/269166 "2021-12-31T23:05:46Z")

</div>

Hello there. Very interested in learning UnrealScript, but unfortunately when I started digging deeper I came across that the sections I needed were not available, could you please bring them back, or is there a backup …

---

## [.bat file for cooking and "packaging"](https://forums.unrealengine.com/t/bat-file-for-cooking-and-packaging/267416)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [December 23, 2021, 6:54pm UTC](https://forums.unrealengine.com/t/bat-file-for-cooking-and-packaging/267416 "2021-12-23T18:54:58Z")

</div>

I’m trying to move away from using Frontend for cooking and packaging my game. I’m writing a .bat to run the commands, but wondering how I would get the .bat to run the commandlet within it’s window, so that it can move…

---

## [Possible to load class dynamically from a string?](https://forums.unrealengine.com/t/possible-to-load-class-dynamically-from-a-string/264555)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 11:46am UTC](https://forums.unrealengine.com/t/possible-to-load-class-dynamically-from-a-string/264555 "2021-12-08T11:46:54Z")

</div>

I have a config file that stores two arrays of strings. One array of strings holds the names of all of the loaded mutators. The other array of strings holds the mutators that are available but not currently loaded. Wh…

---

## [Hello can any one read my messages?](https://forums.unrealengine.com/t/hello-can-any-one-read-my-messages/264776)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 2\
**Last updated:** [December 8, 2021, 10:47am UTC](https://forums.unrealengine.com/t/hello-can-any-one-read-my-messages/264776 "2021-12-08T10:47:11Z")

</div>

I’ve been trying to contact several ppl here can you all see my posts comms check : P ?

---

## [Trajectory prediction in UDK](https://forums.unrealengine.com/t/trajectory-prediction-in-udk/263581)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 0\
**Last updated:** [December 1, 2021, 9:54am UTC](https://forums.unrealengine.com/t/trajectory-prediction-in-udk/263581 "2021-12-01T09:54:55Z")

</div>

Is there some function to predict a 3d trajectory of a projectile? I don’t want to look at UE4 source code. Context making the catapult predict the trajectory to paint a donut on the floor. Where the projectile will fal…

---

## [Help center weapon model on view](https://forums.unrealengine.com/t/help-center-weapon-model-on-view/260649)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 9\
**Last updated:** [November 14, 2021, 6:25pm UTC](https://forums.unrealengine.com/t/help-center-weapon-model-on-view/260649 "2021-11-14T18:25:48Z")

</div>

Hello my dear UDK Brothers. There is a long time I don’t ask my folks here anymore, it’s because I learned a lot by myself through searching on the legacy EPIC Game Forums, also on the UDN Documentation. Many of you who…

---

## [UDK collision system worst in engines in history?](https://forums.unrealengine.com/t/udk-collision-system-worst-in-engines-in-history/260571)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 0\
**Last updated:** [November 12, 2021, 11:58am UTC](https://forums.unrealengine.com/t/udk-collision-system-worst-in-engines-in-history/260571 "2021-11-12T11:58:25Z")

</div>

Well while it probably it is capable of everything why is it so complicated to use? Or even function sometimes. I am programming a ballista with Rigid bodies well KActor Spawnables as projectiles and you can register th…

---

## [Tutorial: multi-language, multi-font Scaleform buttons and button bars, text and font set at runtime](https://forums.unrealengine.com/t/tutorial-multi-language-multi-font-scaleform-buttons-and-button-bars-text-and-font-set-at-runtime/254567)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 8\
**Last updated:** [November 4, 2021, 3:29am UTC](https://forums.unrealengine.com/t/tutorial-multi-language-multi-font-scaleform-buttons-and-button-bars-text-and-font-set-at-runtime/254567 "2021-11-04T03:29:52Z")

</div>

As far as I know, there’s only one other person deep into Scaleform UI for UDK/UE3, so this post probably won’t be useful for too many people. But just in case anyone else ever wants to create a single UI for every langu…

---

## [Annoying that .ini settings always reset after daylight-savings clock change](https://forums.unrealengine.com/t/annoying-that-ini-settings-always-reset-after-daylight-savings-clock-change/258796)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [November 3, 2021, 6:59pm UTC](https://forums.unrealengine.com/t/annoying-that-ini-settings-always-reset-after-daylight-savings-clock-change/258796 "2021-11-03T18:59:41Z")

</div>

I wonder if it’s possible to prevent this from occurring without having to recompile the engine…? Every time the clocks change, my players have to reapply their controls and graphics settings.

---

## [Any idea what causes error "Pure virtual funciton being called while application was running (GIsRunning == 1)."](https://forums.unrealengine.com/t/any-idea-what-causes-error-pure-virtual-funciton-being-called-while-application-was-running-gisrunning-1/258179)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 6\
**Last updated:** [November 3, 2021, 2:31pm UTC](https://forums.unrealengine.com/t/any-idea-what-causes-error-pure-virtual-funciton-being-called-while-application-was-running-gisrunning-1/258179 "2021-11-03T14:31:37Z")

</div>

\[Edit: I found steps to reproduce 100% of the time, so I guess I’ll troubleshoot this the way I normally would. I’ll come back and let you know if I figure out what causes the ‘pure virtual function being called’ error…

---

## [Which features use GPU/CPU?](https://forums.unrealengine.com/t/which-features-use-gpu-cpu/257618)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 8\
**Last updated:** [October 27, 2021, 8:48pm UTC](https://forums.unrealengine.com/t/which-features-use-gpu-cpu/257618 "2021-10-27T20:48:23Z")

</div>

When working on new features, I often find myself wondering which features are going to put load on the GPU or CPU. Then usually have to run benchmarks as sanity checks using “stat unit”. It’s not really mentioned much …

---

## [Scaleform and DirectX11](https://forums.unrealengine.com/t/scaleform-and-directx11/255714)

<div class="topic-metadata">

**Author:** [@Jeremweb](https://forums.unrealengine.com/u/Jeremweb)\
**Replies:** 8\
**Last updated:** [October 14, 2021, 10:50pm UTC](https://forums.unrealengine.com/t/scaleform-and-directx11/255714 "2021-10-14T22:50:23Z")

</div>

I use scaleform and I would like to use DX11. The problem, I don’t have the gfxexporter able to render on DX11. So, I wonder if someone use scaleform with DX11.

---

## [After closing top layer GFxMoviePlayer, new top GFxMoviePlayer ignores first mouse click](https://forums.unrealengine.com/t/after-closing-top-layer-gfxmovieplayer-new-top-gfxmovieplayer-ignores-first-mouse-click/253895)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 1\
**Last updated:** [October 4, 2021, 9:38am UTC](https://forums.unrealengine.com/t/after-closing-top-layer-gfxmovieplayer-new-top-gfxmovieplayer-ignores-first-mouse-click/253895 "2021-10-04T09:38:36Z")

</div>

I have no idea why this is happening. I have a class that I use to open and close GFxMoviePlayers. Topmost movie has highest priority and focus. I call these functions on my custom GFxMoviePlayer class as they move to…

---

## [Disable player pawn rotation, but allow camera rotation](https://forums.unrealengine.com/t/disable-player-pawn-rotation-but-allow-camera-rotation/115912)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [September 24, 2021, 3:32am UTC](https://forums.unrealengine.com/t/disable-player-pawn-rotation-but-allow-camera-rotation/115912 "2021-09-24T03:32:41Z")

</div>

I have a 3rd person view (which is really just to view the player character). I’d like to update this view so that the camera can rotate around the character. I already have all the camera code working, but I don’t know…

---

## [Material world position relative to object?](https://forums.unrealengine.com/t/material-world-position-relative-to-object/251122)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [September 20, 2021, 7:36pm UTC](https://forums.unrealengine.com/t/material-world-position-relative-to-object/251122 "2021-09-20T19:36:47Z")

</div>

I have a material for cloth that is setup to animate it’s vertices based on some interpolating noise to make it look like it’s blowing in the wind. It works great, however when i attach it to a moving object, the moveme…

---

## [How do I read and write to the Language key in MyGameEngine.ini?](https://forums.unrealengine.com/t/how-do-i-read-and-write-to-the-language-key-in-mygameengine-ini/133065)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 15\
**Last updated:** [September 17, 2021, 5:38am UTC](https://forums.unrealengine.com/t/how-do-i-read-and-write-to-the-language-key-in-mygameengine-ini/133065 "2021-09-17T05:38:59Z")

</div>

I can see it when I open the file with a text editor. How do I access it via UnrealScript while the game is running?

---

## [What's your best practice for placing respawning enemies on a saveable map?](https://forums.unrealengine.com/t/whats-your-best-practice-for-placing-respawning-enemies-on-a-saveable-map/247102)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [September 15, 2021, 5:23am UTC](https://forums.unrealengine.com/t/whats-your-best-practice-for-placing-respawning-enemies-on-a-saveable-map/247102 "2021-09-15T05:23:48Z")

</div>

In Himeko Sutori, I would spawn all of the enemies in Kismet as the player moves through the world map. And when the player changes maps, I have to destroy all of the enemy pawns and their controllers. I’m working on a…

---

## [Update archetype from the editor using code](https://forums.unrealengine.com/t/update-archetype-from-the-editor-using-code/246413)

<div class="topic-metadata">

**Author:** [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Replies:** 6\
**Last updated:** [August 21, 2021, 4:41pm UTC](https://forums.unrealengine.com/t/update-archetype-from-the-editor-using-code/246413 "2021-08-21T16:41:59Z")

</div>

I have an actor to manage the dialogs in game. It has an array where I store the dialogs, phrases, etc, and also the code to manage all. I can fill the array with new dialogs from the text editor without restart the UDK…

---

## [Server occluding ragdoll pawns for clients?](https://forums.unrealengine.com/t/server-occluding-ragdoll-pawns-for-clients/246169)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 6\
**Last updated:** [August 20, 2021, 8:20pm UTC](https://forums.unrealengine.com/t/server-occluding-ragdoll-pawns-for-clients/246169 "2021-08-20T20:20:12Z")

</div>

When an enemy pawn is killed in multiplayer in my game, I ragdoll the skeletal mesh on the client. However, it seems if the ragdoll falls too far away from the pawn that owns it, the skeletal mesh disappears as if it’s …

---

## ["AW" and "UW" meaning in stats?](https://forums.unrealengine.com/t/aw-and-uw-meaning-in-stats/245494)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [August 15, 2021, 5:45pm UTC](https://forums.unrealengine.com/t/aw-and-uw-meaning-in-stats/245494 "2021-08-15T17:45:15Z")

</div>

Does anyone know what the “AW” and “UW” stands for in the various stats displays?

---

## [Extending a static function?](https://forums.unrealengine.com/t/extending-a-static-function/244365)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [August 12, 2021, 9:00am UTC](https://forums.unrealengine.com/t/extending-a-static-function/244365 "2021-08-12T09:00:11Z")

</div>

Using something like the following in a child class, trying to extend the functionality of it’s parent results in an error: static function MyStaticFunction() { super.static.MyStaticFunction(); } Error: “Error, Unkn…

---

## [Ping rises with player count (server optimization)](https://forums.unrealengine.com/t/ping-rises-with-player-count-server-optimization/243558)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [August 8, 2021, 3:09pm UTC](https://forums.unrealengine.com/t/ping-rises-with-player-count-server-optimization/243558 "2021-08-08T15:09:56Z")

</div>

I’m trying to optimize my dedicated servers. I’ve noticed that as more players join, everyone’s ping goes up a bit. I know this is a fairly broad question without any real information on the situation, but does anyone k…

---

## [How would you create a system for followers in UDK?](https://forums.unrealengine.com/t/how-would-you-create-a-system-for-followers-in-udk/243497)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [August 2, 2021, 7:39pm UTC](https://forums.unrealengine.com/t/how-would-you-create-a-system-for-followers-in-udk/243497 "2021-08-02T19:39:39Z")

</div>

I have a system in my game for characters who follow the player around. The followers have an AIController that creates navigation points every 0.1 seconds wherever the player is, then does a MoveTo the oldest navigatio…

---

## [Activated Niagara plugins in UE4.25 and and older game in UDK runs really sluggish](https://forums.unrealengine.com/t/activated-niagara-plugins-in-ue4-25-and-and-older-game-in-udk-runs-really-sluggish/242327)

<div class="topic-metadata">

**Author:** [@EtienneAndlau](https://forums.unrealengine.com/u/EtienneAndlau)\
**Replies:** 0\
**Last updated:** [July 24, 2021, 11:23pm UTC](https://forums.unrealengine.com/t/activated-niagara-plugins-in-ue4-25-and-and-older-game-in-udk-runs-really-sluggish/242327 "2021-07-24T23:23:30Z")

</div>

Curious. I just activated the plugins of Niagara in 4.25 and suddenly an older game of mine I play with friends that was built in UDK runs really sluggish. Even worse with OBS recorder. My other games and Unreal 4.25 pro…

---

## [Is there a way to send ActionScript ExternalInterface.call directly to a GFxObject instead of the GFxMoviePlayer?](https://forums.unrealengine.com/t/is-there-a-way-to-send-actionscript-externalinterface-call-directly-to-a-gfxobject-instead-of-the-gfxmovieplayer/241788)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [July 23, 2021, 7:15pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-send-actionscript-externalinterface-call-directly-to-a-gfxobject-instead-of-the-gfxmovieplayer/241788 "2021-07-23T19:15:42Z")

</div>

I have a GFxMoviePlayer that contains a very large number of GFxObjects. I want the Scaleform UIComponent to be able to call a function directly into the GFxObject instead of going through the GFxMoviePlayer, which then…

---

## [Unrealscript function that accepts unlimited input params?](https://forums.unrealengine.com/t/unrealscript-function-that-accepts-unlimited-input-params/240749)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [July 18, 2021, 11:48pm UTC](https://forums.unrealengine.com/t/unrealscript-function-that-accepts-unlimited-input-params/240749 "2021-07-18T23:48:09Z")

</div>

Many other languages support this. Anyone know if US does?

---

## [Any of your players mysteriously unable to start your game?](https://forums.unrealengine.com/t/any-of-your-players-mysteriously-unable-to-start-your-game/238705)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 4\
**Last updated:** [July 15, 2021, 8:30am UTC](https://forums.unrealengine.com/t/any-of-your-players-mysteriously-unable-to-start-your-game/238705 "2021-07-15T08:30:38Z")

</div>

I’ve had two players recently report that they could not start the game at all. After some experimentation and reading the logs, I found out that the player could at least start the game using the 32-bit exe, but my gam…

---

## [About garbage collector efficiency using local variables](https://forums.unrealengine.com/t/about-garbage-collector-efficiency-using-local-variables/236220)

<div class="topic-metadata">

**Author:** [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Replies:** 26\
**Last updated:** [July 9, 2021, 7:16am UTC](https://forums.unrealengine.com/t/about-garbage-collector-efficiency-using-local-variables/236220 "2021-07-09T07:16:30Z")

</div>

Running the game there is a small hitch every 60 seconds (bigger hitch every 30 seconds running in the editor) due to the garbage collector. My question is about the local variables, which I use in practically all the f…

[Previous page](https://forums.unrealengine.com/c/legacy-tools-unreal-engine-3-udk/udk-programming-and-unrealscript/71.md?page=5)

[Next page](https://forums.unrealengine.com/c/legacy-tools-unreal-engine-3-udk/udk-programming-and-unrealscript/71.md?page=7)
