# UDK Programming and UnrealScript

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

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

**Page:** 20

---

## [How to check if weapon is being held by player or bot?](https://forums.unrealengine.com/t/how-to-check-if-weapon-is-being-held-by-player-or-bot/116935)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 7\
**Last updated:** [October 3, 2018, 10:00am UTC](https://forums.unrealengine.com/t/how-to-check-if-weapon-is-being-held-by-player-or-bot/116935 "2018-10-03T10:00:26Z")

</div>

Hello guys. My guns use a custom reload function, it is working perfectly. The reload function is an exec function trigerred by key “R”. However I need that the bot also reload the weapon, because the weapons are used b…

---

## [Is physx nvidia only?](https://forums.unrealengine.com/t/is-physx-nvidia-only/116704)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 7\
**Last updated:** [September 26, 2018, 8:18am UTC](https://forums.unrealengine.com/t/is-physx-nvidia-only/116704 "2018-09-26T08:18:01Z")

</div>

I know there are a few NVidia integrated things in udk like PhysX.Do they require only a NVidia gpu to work properly or are they cpu emulated(on intel and amd)?

---

## [simple Save/Load kismet](https://forums.unrealengine.com/t/simple-save-load-kismet/116472)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 3\
**Last updated:** [September 20, 2018, 4:44pm UTC](https://forums.unrealengine.com/t/simple-save-load-kismet/116472 "2018-09-20T16:44:12Z")

</div>

Not that it can be of much interest to the coders here(I consider my self to be on the bottom of the food chain when it comes to code) , but yesterday while doing my regular dumpster diving in the archived forums …

---

## [DX9 vs DX11 renderer?](https://forums.unrealengine.com/t/dx9-vs-dx11-renderer/116265)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 9\
**Last updated:** [September 19, 2018, 6:09pm UTC](https://forums.unrealengine.com/t/dx9-vs-dx11-renderer/116265 "2018-09-19T18:09:12Z")

</div>

I’m currently still rendering my game on DX9. This is because I find I lose ~30% performance in DX11 over DX9. Generally I don’t see much difference (other than then nicer handling of specular maps). I’d love to start p…

---

## [do 64bit dlls work with udk?](https://forums.unrealengine.com/t/do-64bit-dlls-work-with-udk/116398)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 0\
**Last updated:** [September 17, 2018, 4:47pm UTC](https://forums.unrealengine.com/t/do-64bit-dlls-work-with-udk/116398 "2018-09-17T16:47:37Z")

</div>

Or am I losing my time.I know that the binaries\>win64 folder doesn’t have a user code folder as the win32 folder does. If I make such a folder in win64 and place a 64bit dll, is it expected to work or was that feature ne…

---

## [Is there a ram limit to a 32bit game?](https://forums.unrealengine.com/t/is-there-a-ram-limit-to-a-32bit-game/116292)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 0\
**Last updated:** [September 14, 2018, 2:26pm UTC](https://forums.unrealengine.com/t/is-there-a-ram-limit-to-a-32bit-game/116292 "2018-09-14T14:26:59Z")

</div>

Obviously I will be cooking my game in 32 bits as most of the people here(mainly due the 32 bit dll I use for saving games).If I’m not mistaking, since a 32 bit windows uses a max of 4096mb, than that shoud be the limit …

---

## [Please try the archived UDK forums.(updated)](https://forums.unrealengine.com/t/please-try-the-archived-udk-forums-updated/116263)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 1\
**Last updated:** [September 14, 2018, 5:58am UTC](https://forums.unrealengine.com/t/please-try-the-archived-udk-forums-updated/116263 "2018-09-14T05:58:40Z")

</div>

Just received a nice mail from Stephen Ellis that the archived udk forums search option looks to be fixed and they loud like for a confirmation. Please guys, do a few search words from your browsers to see if you get the…

---

## [Exponential Height Fog looks bad through a scene capture](https://forums.unrealengine.com/t/exponential-height-fog-looks-bad-through-a-scene-capture/108888)

<div class="topic-metadata">

**Author:** [@ciox](https://forums.unrealengine.com/u/ciox)\
**Replies:** 7\
**Last updated:** [September 12, 2018, 7:19pm UTC](https://forums.unrealengine.com/t/exponential-height-fog-looks-bad-through-a-scene-capture/108888 "2018-09-12T19:19:46Z")

</div>

The fog seen in the editor or through the main camera looks quite nice, it creates an “infinite ocean” illusion with ease. Not so when you look through a scene capture though, the fog becomes more like a thin shell that…

---

## [bIsPlayingCustomAnim not working properly?](https://forums.unrealengine.com/t/bisplayingcustomanim-not-working-properly/115914)

<div class="topic-metadata">

**Author:** [@CobaltUDK](https://forums.unrealengine.com/u/CobaltUDK)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 6:01pm UTC](https://forums.unrealengine.com/t/bisplayingcustomanim-not-working-properly/115914 "2018-09-10T18:01:35Z")

</div>

How is possible that bIsPlayingCustomAnim returns false while GetPlayedAnimation() returns an animation that are being played? I have tried with EarlyAnimEndNotify true and false but the same result.

---

## [UDK online documentation down?](https://forums.unrealengine.com/t/udk-online-documentation-down/115753)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 6\
**Last updated:** [September 9, 2018, 9:39pm UTC](https://forums.unrealengine.com/t/udk-online-documentation-down/115753 "2018-09-09T21:39:06Z")

</div>

I’ve been noticing for a while that the UDK documentation has been down with an error: https://api.unrealengine.com/udk/Three/UnrealScriptReference.html This is a little concerning. Could someone from Epic give some in…

---

## [Help Animating Weapon Attachment](https://forums.unrealengine.com/t/help-animating-weapon-attachment/115760)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 4\
**Last updated:** [September 8, 2018, 4:40pm UTC](https://forums.unrealengine.com/t/help-animating-weapon-attachment/115760 "2018-09-08T16:40:36Z")

</div>

Hello guys. I am trying to play some animations on my custom weapons, however as I am using BehindView Camera with some offsets (3rd person), so the weapon model which is being hold by my pawn is controlled by UTWeaponA…

---

## [Particle system component](https://forums.unrealengine.com/t/particle-system-component/115916)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 2\
**Last updated:** [September 4, 2018, 9:32pm UTC](https://forums.unrealengine.com/t/particle-system-component/115916 "2018-09-04T21:32:47Z")

</div>

How do i start a particle system component in UDK ? after completing my horse and other stuff i need torches

---

## [WARNING: Cooking Convex For Actor and No Cached Per-Tri StaticMesh Physics Data Found Or Out Of Date](https://forums.unrealengine.com/t/warning-cooking-convex-for-actor-and-no-cached-per-tri-staticmesh-physics-data-found-or-out-of-date/115597)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [August 31, 2018, 11:42am UTC](https://forums.unrealengine.com/t/warning-cooking-convex-for-actor-and-no-cached-per-tri-staticmesh-physics-data-found-or-out-of-date/115597 "2018-08-31T11:42:52Z")

</div>

This happens to me occasionally and usually when I keep working it eventually goes away. But just recently it started happening a lot. Maybe it happened when I updated some static meshes, but it doesn’t seem to be happ…

---

## [Flying Ragdolls](https://forums.unrealengine.com/t/flying-ragdolls/115569)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_53eb2421](https://forums.unrealengine.com/u/anonymous_user_53eb2421)\
**Replies:** 2\
**Last updated:** [August 30, 2018, 5:51pm UTC](https://forums.unrealengine.com/t/flying-ragdolls/115569 "2018-08-30T17:51:33Z")

</div>

This isn’t really problem, but I just want the bots to burn, not fly away like rockets! In the image the molotov has just landed. The result as you may see, ragdolls blasted in all directions. I wouldn’t mind so much …

---

## [Splines (for paths) Replication.](https://forums.unrealengine.com/t/splines-for-paths-replication/115570)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_53eb2421](https://forums.unrealengine.com/u/anonymous_user_53eb2421)\
**Replies:** 0\
**Last updated:** [August 27, 2018, 9:12pm UTC](https://forums.unrealengine.com/t/splines-for-paths-replication/115570 "2018-08-27T21:12:21Z")

</div>

I tried some of Tegleg’s extensive code for an easy fix to get a vehicle working on a spline, rather than use pathnodes and have a bot vehicle go where it wants. Works great offline, the bot follows the spline path, but…

---

## [Timer within a loop](https://forums.unrealengine.com/t/timer-within-a-loop/115476)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_53eb2421](https://forums.unrealengine.com/u/anonymous_user_53eb2421)\
**Replies:** 5\
**Last updated:** [August 27, 2018, 3:09pm UTC](https://forums.unrealengine.com/t/timer-within-a-loop/115476 "2018-08-27T15:09:55Z")

</div>

Hello! Your projects are continuing and looking amazing. I’ll put mine up when I feel brave enough, and get closer to completion. My problem with code is that I want to have a timer within a loop. I just happen to ha…

---

## [Extend WorldInfo class?](https://forums.unrealengine.com/t/extend-worldinfo-class/115254)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [August 23, 2018, 7:35am UTC](https://forums.unrealengine.com/t/extend-worldinfo-class/115254 "2018-08-23T07:35:57Z")

</div>

I’m trying to find an appropriate place to spawn a custom Translation class. Seems WorldInfo is the one constant class available for clients and servers, so I’d like to spawn it in there. However I don’t see any means t…

---

## [Create a Dialogue Box in adobe Flash pro?](https://forums.unrealengine.com/t/create-a-dialogue-box-in-adobe-flash-pro/115286)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cb334d3b](https://forums.unrealengine.com/u/anonymous_user_cb334d3b)\
**Replies:** 1\
**Last updated:** [August 21, 2018, 5:01pm UTC](https://forums.unrealengine.com/t/create-a-dialogue-box-in-adobe-flash-pro/115286 "2018-08-21T17:01:47Z")

</div>

I trying create a dialogue box using Adobe Flash Professional. Basically when activating a trigger, a box containing the text show up and when you press a buttan show a new text and the other delete. I already know as re…

---

## [Weather interpolation system showcase](https://forums.unrealengine.com/t/weather-interpolation-system-showcase/114024)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [August 14, 2018, 6:59pm UTC](https://forums.unrealengine.com/t/weather-interpolation-system-showcase/114024 "2018-08-14T18:59:29Z")

</div>

I thought some of you may like to checkout the weather system that i’ve been working the last few weeks: Game update: Steam :: Subsistence :: Update Details (22nd July 2018) - Dynamic Weather and a lot more! Gameplay o…

---

## [Missing content after cooking/packaging](https://forums.unrealengine.com/t/missing-content-after-cooking-packaging/113882)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 5\
**Last updated:** [August 12, 2018, 8:39am UTC](https://forums.unrealengine.com/t/missing-content-after-cooking-packaging/113882 "2018-08-12T08:39:27Z")

</div>

Hi, So I just cooked and packaged my game, ready for its next update. After cooking/packaged/installing and running the game I was missing my hud entirely and many sounds we’re missing/not-playing. When running the gam…

---

## [Help with StopCustomAnim ( )](https://forums.unrealengine.com/t/help-with-stopcustomanim/114742)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 2\
**Last updated:** [August 9, 2018, 3:05pm UTC](https://forums.unrealengine.com/t/help-with-stopcustomanim/114742 "2018-08-09T15:05:38Z")

</div>

Hello guys It\`s me again. :smiley: As I said before, I am extending UTGame and turning it into a Third Person Shooter (soon I will showcase my game here), and as I am a n00b in UDK, I am using many of the UT functions …

---

## [Borderless windowed mode](https://forums.unrealengine.com/t/borderless-windowed-mode/114511)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [August 3, 2018, 7:48am UTC](https://forums.unrealengine.com/t/borderless-windowed-mode/114511 "2018-08-03T07:48:28Z")

</div>

I know this has been mentioned before, but I haven’t found an answer anywhere yet. I can set to windowed mode through script by running the console command: SCALE SET Fullscreen true However this is not borderless.…

---

## [How do I access selected actor in editor when using custom brush builder?](https://forums.unrealengine.com/t/how-do-i-access-selected-actor-in-editor-when-using-custom-brush-builder/114363)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [August 2, 2018, 6:50pm UTC](https://forums.unrealengine.com/t/how-do-i-access-selected-actor-in-editor-when-using-custom-brush-builder/114363 "2018-08-02T18:50:45Z")

</div>

@ or anyone who might know the answer, I created a custom brush builder class that’s working perfectly. It spawns an actor, currently at vect(0,0,0). I would like it to spawn that actor at the location of whatever is …

---

## [Change game aspect ratio and editor 4k scaling?](https://forums.unrealengine.com/t/change-game-aspect-ratio-and-editor-4k-scaling/114349)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 7\
**Last updated:** [August 1, 2018, 11:05pm UTC](https://forums.unrealengine.com/t/change-game-aspect-ratio-and-editor-4k-scaling/114349 "2018-08-01T23:05:41Z")

</div>

I’m trying udk on a 4k monitor right now.At 4k the menu is tiny.Is there any way to change the scaling of the editor menu to achive a bigger size icons/text?(apart from downsizing the screen resolution to 2k :rolleyes: ) …

---

## [How to program horse?](https://forums.unrealengine.com/t/how-to-program-horse/114300)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 4\
**Last updated:** [July 30, 2018, 5:40pm UTC](https://forums.unrealengine.com/t/how-to-program-horse/114300 "2018-07-30T17:40:30Z")

</div>

So im trying to program a horse but i don’t know where to get started. I first made the horse be a pawn. But where is the function in pawn that adds movement to the pawn ? or maybe it’s all done through booleans? Ple…

---

## [Custom Weapon Crosshair Offset](https://forums.unrealengine.com/t/custom-weapon-crosshair-offset/114080)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 2\
**Last updated:** [July 26, 2018, 10:56pm UTC](https://forums.unrealengine.com/t/custom-weapon-crosshair-offset/114080 "2018-07-26T22:56:55Z")

</div>

Hello guys is me here again. Each new thing I learn in uscript makes me love UDK more, however there is still a lot to learn, and as always I need help from the pros here. How can I change the crosshair offset on screen…

---

## [Reduce light shafts from dominant directional light?](https://forums.unrealengine.com/t/reduce-light-shafts-from-dominant-directional-light/113563)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [July 14, 2018, 4:52pm UTC](https://forums.unrealengine.com/t/reduce-light-shafts-from-dominant-directional-light/113563 "2018-07-14T16:52:06Z")

</div>

It doesn’t seem there is anyway to reduce/increase light shafts on a DDL. I can adjust some properties such as occlusion and bloom, but not the actual strength of the shafts. When my sun descends beneath the horizon, ev…

---

## [Camera water droplets post process effect?](https://forums.unrealengine.com/t/camera-water-droplets-post-process-effect/113459)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [July 11, 2018, 11:44pm UTC](https://forums.unrealengine.com/t/camera-water-droplets-post-process-effect/113459 "2018-07-11T23:44:23Z")

</div>

Wondering if anyone knows how it would be possible to create a material to display water droplets on the screen. Like this: https://forums.unrealengine.com/filedata/fetch?id=1136347 There is a thread on the UE4 forums,…

---

## [Event for when the locally controlled player controller is assigned?](https://forums.unrealengine.com/t/event-for-when-the-locally-controlled-player-controller-is-assigned/112757)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [July 11, 2018, 5:01pm UTC](https://forums.unrealengine.com/t/event-for-when-the-locally-controlled-player-controller-is-assigned/112757 "2018-07-11T17:01:21Z")

</div>

I want to spawn a class when my player controller is assigned, but only if it’s locally controlled. However you’re not able to call IsLocalPlayerController() during PostBeginPlay() in player controller. Can anyone thin…

---

## [Updating a MaterialInstanceActor via unrealscript?](https://forums.unrealengine.com/t/updating-a-materialinstanceactor-via-unrealscript/113409)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [July 11, 2018, 4:28am UTC](https://forums.unrealengine.com/t/updating-a-materialinstanceactor-via-unrealscript/113409 "2018-07-11T04:28:39Z")

</div>

I have a MaterialInstanceActor in my level referencing a material I’m using for my skybox. When the level loads, I find the MI actor and replace the material instance constant (so I can make edits to it): foreach All…

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

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