# UDK Programming and UnrealScript

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

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

**Page:** 12

---

## [need kismet expert](https://forums.unrealengine.com/t/need-kismet-expert/146505)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 6\
**Last updated:** [June 29, 2020, 6:35am UTC](https://forums.unrealengine.com/t/need-kismet-expert/146505 "2020-06-29T06:35:00Z")

</div>

AimNode won’t update on level placed and then possessed actor won’t move his back up and down. Any ideas?

---

## [Loading video always stutters](https://forums.unrealengine.com/t/loading-video-always-stutters/146011)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [June 18, 2020, 8:27am UTC](https://forums.unrealengine.com/t/loading-video-always-stutters/146011 "2020-06-18T08:27:10Z")

</div>

I know this may just be an unavoidable part of UDK/UE3, but whenever a map is loading, the loading bink video always freezes and stutters. Even huge budget games suffer from this (COD, Ark, etc). Because of this, I’ve c…

---

## [Any way to destroy dynamically spawned actors automatically on level unload?](https://forums.unrealengine.com/t/any-way-to-destroy-dynamically-spawned-actors-automatically-on-level-unload/145766)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [June 14, 2020, 7:02pm UTC](https://forums.unrealengine.com/t/any-way-to-destroy-dynamically-spawned-actors-automatically-on-level-unload/145766 "2020-06-14T19:02:27Z")

</div>

I’m spawning some actors at runtime and I want them ‘belong’ to a level so that they get destroyed when the level is unloaded. Anyone know how to do that?

---

## ["Returned normal with incorrect length (0.000000)"???](https://forums.unrealengine.com/t/returned-normal-with-incorrect-length-0-000000/145670)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [June 12, 2020, 9:25pm UTC](https://forums.unrealengine.com/t/returned-normal-with-incorrect-length-0-000000/145670 "2020-06-12T21:25:43Z")

</div>

I occasionally get this error/warning showing in my logs: Log: ZELC: Component 'ColdWoodBurner.StaticMeshes.wood\_burner' with Owner 'No\_Detailed\_Info\_Specified' returned normal with incorrect length (0.000000).\[/log\] …

---

## [Level textes](https://forums.unrealengine.com/t/level-textes/145276)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 9\
**Last updated:** [June 9, 2020, 4:34pm UTC](https://forums.unrealengine.com/t/level-textes/145276 "2020-06-09T16:34:26Z")

</div>

Aren’t you bored of the windows , or whatever you are using read me kinda like text files? isn’t there a way on UDK to paint texts on level just like in UE4, I hate to use text files, I rather have my working list on th…

---

## [Help Saving ini files via UScript](https://forums.unrealengine.com/t/help-saving-ini-files-via-uscript/145065)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 8\
**Last updated:** [June 5, 2020, 11:27pm UTC](https://forums.unrealengine.com/t/help-saving-ini-files-via-uscript/145065 "2020-06-05T23:27:09Z")

</div>

Hello guys! I want to change, in runtime, through Unreal Script, the value of the string variable PreviewImageMarkup For some maps on DefaultGame.ini This variable is located under the section: \[MapName UTUIDataProv…

---

## [Server travel sometimes failing?](https://forums.unrealengine.com/t/server-travel-sometimes-failing/144500)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 1\
**Last updated:** [June 2, 2020, 4:46pm UTC](https://forums.unrealengine.com/t/server-travel-sometimes-failing/144500 "2020-06-02T16:46:58Z")

</div>

What is the best way to server travel or correct way, what I do is remove all the actors then change the map any ideas help ?

---

## [UDK macOS help !](https://forums.unrealengine.com/t/udk-macos-help/144404)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 6\
**Last updated:** [May 27, 2020, 4:29pm UTC](https://forums.unrealengine.com/t/udk-macos-help/144404 "2020-05-27T16:29:26Z")

</div>

I packed it, and sent to a friend he had 1000 cursors on the screen any help?

---

## [Control master egnine volume UDK](https://forums.unrealengine.com/t/control-master-egnine-volume-udk/144000)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 4\
**Last updated:** [May 25, 2020, 7:23am UTC](https://forums.unrealengine.com/t/control-master-egnine-volume-udk/144000 "2020-05-25T07:23:17Z")

</div>

I want to add to control volume of music and such of the engine is there any thing to do it?\] How to assign sound cues or sound wavs a group audio group?

---

## [Run exec commands on dedicated server?](https://forums.unrealengine.com/t/run-exec-commands-on-dedicated-server/144182)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [May 22, 2020, 10:49pm UTC](https://forums.unrealengine.com/t/run-exec-commands-on-dedicated-server/144182 "2020-05-22T22:49:04Z")

</div>

I soon plan to support dedicated servers for my game. One thing I’m curious about is how I can run exec commands while the game is running. For things like kicking players etc. When running a game .exe as follows: UD…

---

## [When using "stat unit" what do game, frame, and draw mean?](https://forums.unrealengine.com/t/when-using-stat-unit-what-do-game-frame-and-draw-mean/143733)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 0\
**Last updated:** [May 16, 2020, 4:55am UTC](https://forums.unrealengine.com/t/when-using-stat-unit-what-do-game-frame-and-draw-mean/143733 "2020-05-16T04:55:00Z")

</div>

I’m working with one of my players to address a performance issue. It could just be that his GPU is slow, but I want to know exactly what about the game is hurting performance. The “stat unit” command (https://docs.unr…

---

## [Anyway to use a foreach on the function return?](https://forums.unrealengine.com/t/anyway-to-use-a-foreach-on-the-function-return/143408)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [May 16, 2020, 4:57am UTC](https://forums.unrealengine.com/t/anyway-to-use-a-foreach-on-the-function-return/143408 "2020-05-16T04:57:30Z")

</div>

So if I have a function that returns an array of a certain class, I could do something like this: local Actor \_actor; foreach MyFunctionThatReturnsAnArrayofActors()(\_actor) { //do something with \_actor; } This …

---

## [Few questions about Matinee and cameras](https://forums.unrealengine.com/t/few-questions-about-matinee-and-cameras/127123)

<div class="topic-metadata">

**Author:** [@ciox](https://forums.unrealengine.com/u/ciox)\
**Replies:** 17\
**Last updated:** [May 13, 2020, 5:12pm UTC](https://forums.unrealengine.com/t/few-questions-about-matinee-and-cameras/127123 "2020-05-13T17:12:13Z")

</div>

Hope you guys can help me a bit with these. What’s the easiest way to make a camera go down a different path, with some kind of signal or whatever? My current solution is to clone two camera paths, have them diverge at…

---

## [AmbientSoundSimpleSpline limited to 16?](https://forums.unrealengine.com/t/ambientsoundsimplespline-limited-to-16/143049)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 4\
**Last updated:** [May 12, 2020, 5:36pm UTC](https://forums.unrealengine.com/t/ambientsoundsimplespline-limited-to-16/143049 "2020-05-12T17:36:31Z")

</div>

I use AmbientSoundSimpleSpline for rivers on my map, to play the sound of water flowing. I’ve just run into an issue whereby any new ones I add don’t make any sound. If I delete other ones on the map, then the new ones …

---

## [What is the logic behind ranking score?](https://forums.unrealengine.com/t/what-is-the-logic-behind-ranking-score/142843)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 1:27pm UTC](https://forums.unrealengine.com/t/what-is-the-logic-behind-ranking-score/142843 "2020-05-07T13:27:45Z")

</div>

Im probably making this more difficult than it is.I need to understand the logic/simple order of doings of having a top score.I am using this kismet script to save the score when i finish a level.: https://forums.unreal…

---

## [Get sliding working](https://forums.unrealengine.com/t/get-sliding-working/142422)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f7db3d16](https://forums.unrealengine.com/u/anonymous_user_f7db3d16)\
**Replies:** 7\
**Last updated:** [May 5, 2020, 4:38pm UTC](https://forums.unrealengine.com/t/get-sliding-working/142422 "2020-05-05T16:38:58Z")

</div>

Has anyone got sliding to work on a pawn? i’m after a small distance slide. Example, if button is hit. He slides for 10 to 15 feet. I’ve got everything working but the pawn to actually slide for that distance. Any ideas…

---

## [Have you ever made an asset-replacement mod?  Can mutators do that?](https://forums.unrealengine.com/t/have-you-ever-made-an-asset-replacement-mod-can-mutators-do-that/142706)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 2\
**Last updated:** [May 2, 2020, 6:55pm UTC](https://forums.unrealengine.com/t/have-you-ever-made-an-asset-replacement-mod-can-mutators-do-that/142706 "2020-05-02T18:55:00Z")

</div>

I have some players asking about mods for my game. If a player wanted to make a really simple change to the game, like say, giving a sword 15 attack power instead of the default 10, what’s the easiest way to do that? W…

---

## [slot machine not working (HasXp SeqCond)](https://forums.unrealengine.com/t/slot-machine-not-working-hasxp-seqcond/142263)

<div class="topic-metadata">

**Author:** [@RoyceVagner](https://forums.unrealengine.com/u/RoyceVagner)\
**Replies:** 7\
**Last updated:** [May 1, 2020, 5:28pm UTC](https://forums.unrealengine.com/t/slot-machine-not-working-hasxp-seqcond/142263 "2020-05-01T17:28:48Z")

</div>

hi i wrote some code for a slot machine where its a simple kismet trigger then it fires off a seqcond (sequence condition)has xp but the has xp isnt working can someone tell me what im doing wrong?the weirdest part of al…

---

## [Any suggestions for how I would output some default values for localized variables?](https://forums.unrealengine.com/t/any-suggestions-for-how-i-would-output-some-default-values-for-localized-variables/142391)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [May 1, 2020, 5:29am UTC](https://forums.unrealengine.com/t/any-suggestions-for-how-i-would-output-some-default-values-for-localized-variables/142391 "2020-05-01T05:29:22Z")

</div>

I have some Kismet action sequences that tell the HUD to pop up a GFx movie that shows a dialog window. My Kismet action sequence has a string variable DialogText containing what the character says. Later I started wor…

---

## [What does this crash means?(shader)](https://forums.unrealengine.com/t/what-does-this-crash-means-shader/142457)

<div class="topic-metadata">

**Author:** [@O\_and\_N](https://forums.unrealengine.com/u/O_and_N)\
**Replies:** 3\
**Last updated:** [April 29, 2020, 12:57pm UTC](https://forums.unrealengine.com/t/what-does-this-crash-means-shader/142457 "2020-04-29T12:57:25Z")

</div>

I did a copy paste of the UnderWaterPostProcessMaterial in my own folder and I just tweaked the color.Im using this as a post process effect that I kismet toggle when under water.Im getting some crashes when im saving th…

---

## [How do I fix "Pure virtual function being called while application was running (GIsRunning == 1)"?](https://forums.unrealengine.com/t/how-do-i-fix-pure-virtual-function-being-called-while-application-was-running-gisrunning-1/140522)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 3\
**Last updated:** [April 28, 2020, 8:46pm UTC](https://forums.unrealengine.com/t/how-do-i-fix-pure-virtual-function-being-called-while-application-was-running-gisrunning-1/140522 "2020-04-28T20:46:00Z")

</div>

Have any of you run across this? The game crashes and gives this error. This seems to happen, but only sometimes, when players are browsing through the menu system. I can’t reliably reproduce the crash. Can anyone at lea…

---

## [MoveTo() finishing immediately when colliding with geometry](https://forums.unrealengine.com/t/moveto-finishing-immediately-when-colliding-with-geometry/142289)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 1\
**Last updated:** [April 26, 2020, 11:57pm UTC](https://forums.unrealengine.com/t/moveto-finishing-immediately-when-colliding-with-geometry/142289 "2020-04-26T23:57:30Z")

</div>

I’m having some trouble with a flying AI I’m working on. I’m using MoveTo() to move the bot to each new location. However it seems whenever it collides with geometry, the MoveTo() latent function ends immediately. I wa…

---

## [Apex Physx Auto Fracture script with files](https://forums.unrealengine.com/t/apex-physx-auto-fracture-script-with-files/142266)

<div class="topic-metadata">

**Author:** [@RoyceVagner](https://forums.unrealengine.com/u/RoyceVagner)\
**Replies:** 0\
**Last updated:** [April 26, 2020, 6:01am UTC](https://forums.unrealengine.com/t/apex-physx-auto-fracture-script-with-files/142266 "2020-04-26T06:01:21Z")

</div>

free for you incase you want to make apex destructibles i put together a script that fractures them for you in the hundreds of thousands of objects per minute instead of manually fracturing and customiizing them (which i…

---

## [Impact Sounds for Physical Materials on Static Meshes](https://forums.unrealengine.com/t/impact-sounds-for-physical-materials-on-static-meshes/142173)

<div class="topic-metadata">

**Author:** [@NIDAL\_NIJM\_GAMES](https://forums.unrealengine.com/u/NIDAL_NIJM_GAMES)\
**Replies:** 0\
**Last updated:** [April 24, 2020, 7:50pm UTC](https://forums.unrealengine.com/t/impact-sounds-for-physical-materials-on-static-meshes/142173 "2020-04-24T19:50:04Z")

</div>

Hello guys! I have been playing with Physical Materials and footstep sounds. For each material on my map I am adding a physical material (on the material editor) to get custom footstep sounds for things like Wood, Meta…

---

## [Control ascent/descent speed of AI bot](https://forums.unrealengine.com/t/control-ascent-descent-speed-of-ai-bot/142012)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 2\
**Last updated:** [April 23, 2020, 12:38am UTC](https://forums.unrealengine.com/t/control-ascent-descent-speed-of-ai-bot/142012 "2020-04-23T00:38:25Z")

</div>

I’m working on adding flying AI, and I’m finding they seem to fixed speed of descent/ascent when running MoveTo() on their controller. Setting the AirSpeed on the Pawn controls the horizontal speed, but I can’t figure o…

---

## [Is there a function or event that gets called on actors in a level when their level gets unloaded?](https://forums.unrealengine.com/t/is-there-a-function-or-event-that-gets-called-on-actors-in-a-level-when-their-level-gets-unloaded/141965)

<div class="topic-metadata">

**Author:** [@Nathaniel3W](https://forums.unrealengine.com/u/Nathaniel3W)\
**Replies:** 4\
**Last updated:** [April 22, 2020, 8:36pm UTC](https://forums.unrealengine.com/t/is-there-a-function-or-event-that-gets-called-on-actors-in-a-level-when-their-level-gets-unloaded/141965 "2020-04-22T20:36:18Z")

</div>

I need to clean up some things when a level gets unloaded. Is there a way for an actor to do something when its level gets unloaded?

---

## [Lerping panning UV's causes annoying jerk](https://forums.unrealengine.com/t/lerping-panning-uvs-causes-annoying-jerk/141950)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 0\
**Last updated:** [April 21, 2020, 10:04pm UTC](https://forums.unrealengine.com/t/lerping-panning-uvs-causes-annoying-jerk/141950 "2020-04-21T22:04:57Z")

</div>

I’m working on a water material whereby I want to lerp a panning UV with a panning noise texture to create a fluid look. It looks as expected, however I’m seeing a very annoying jerk each time the main texture completes…

---

## [Using a scaleform movie for the loading (transition map)](https://forums.unrealengine.com/t/using-a-scaleform-movie-for-the-loading-transition-map/141263)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 7\
**Last updated:** [April 16, 2020, 6:24pm UTC](https://forums.unrealengine.com/t/using-a-scaleform-movie-for-the-loading-transition-map/141263 "2020-04-16T18:24:33Z")

</div>

I’d like to use a Scaleform movie instead of a Bink movie. I’ve tried updatin: TransitionMap=MyTransitionMap.udk in DefaultEngine.ini, and removed and entries for LoadMapMovies under \[FullScreenMovie\]. However, …

---

## [How would I get server list going in UDK?](https://forums.unrealengine.com/t/how-would-i-get-server-list-going-in-udk/140408)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 15\
**Last updated:** [April 8, 2020, 11:37am UTC](https://forums.unrealengine.com/t/how-would-i-get-server-list-going-in-udk/140408 "2020-04-08T11:37:03Z")

</div>

If I wanted ti to be multiplayer on steam, how would I get a list with all the servers available for my UDK game?

---

## [AnimNotify particles max draw distance?](https://forums.unrealengine.com/t/animnotify-particles-max-draw-distance/141067)

<div class="topic-metadata">

**Author:** [@Coldscooter](https://forums.unrealengine.com/u/Coldscooter)\
**Replies:** 3\
**Last updated:** [April 7, 2020, 2:40pm UTC](https://forums.unrealengine.com/t/animnotify-particles-max-draw-distance/141067 "2020-04-07T14:40:36Z")

</div>

When triggering particles via anim notifies (AnimNotify\_PlayParticleEffect), is there a way to set a max draw distance for them?

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

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