# \#logic

**URL:** https://forums.unrealengine.com/tag/logic/2706.md

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

---

## [Actor IO: Source Engine Inspired Level Scripting Tool for Unreal Engine](https://forums.unrealengine.com/t/actor-io-source-engine-inspired-level-scripting-tool-for-unreal-engine/2320836)

<div class="topic-metadata">

**Author:** [@STRiFE.x](https://forums.unrealengine.com/u/STRiFE.x)\
**Replies:** 0\
**Last updated:** [February 6, 2025, 10:48pm UTC](https://forums.unrealengine.com/t/actor-io-source-engine-inspired-level-scripting-tool-for-unreal-engine/2320836 "2025-02-06T22:48:50Z")

</div>

Actor I/O is a level scripting tool for Unreal Engine, featuring an input/output system similar to the Source Engine by Valve™ Software. At its heart, the plugin is an event binding system where actions are executed in r…

---

## [Actors spawn](https://forums.unrealengine.com/t/actors-spawn/2142768)

<div class="topic-metadata">

**Author:** [@Bial](https://forums.unrealengine.com/u/Bial)\
**Replies:** 2\
**Last updated:** [January 2, 2025, 11:02am UTC](https://forums.unrealengine.com/t/actors-spawn/2142768 "2025-01-02T11:02:33Z")

</div>

Why some developers spawn actors with simple code then player character preforms an action. Is it for optimization?

---

## [Rotate a mesh around it's center using quaternion](https://forums.unrealengine.com/t/rotate-a-mesh-around-its-center-using-quaternion/444575)

<div class="topic-metadata">

**Author:** [@IronSuit](https://forums.unrealengine.com/u/IronSuit)\
**Replies:** 5\
**Last updated:** [July 26, 2023, 11:34am UTC](https://forums.unrealengine.com/t/rotate-a-mesh-around-its-center-using-quaternion/444575 "2023-07-26T11:34:53Z")

</div>

I would like your help if possible as i don’t know a lot of quaternion me myself. so i have a cylinder and i want to rotate around the up vector as its axis of rotation when i press up or down arrows or swipe on touch.a…

---

## [Logic inside the game mode / HUD / Widget](https://forums.unrealengine.com/t/logic-inside-the-game-mode-hud-widget/792993)

<div class="topic-metadata">

**Author:** [@BakuryuReitoken](https://forums.unrealengine.com/u/BakuryuReitoken)\
**Replies:** 3\
**Last updated:** [March 17, 2023, 2:51pm UTC](https://forums.unrealengine.com/t/logic-inside-the-game-mode-hud-widget/792993 "2023-03-17T14:51:30Z")

</div>

Hello. I look different video on how to manage key and widget. And some of them make the logic inside the widget itself with the overwrite of the “On Key Pressed” function. But I’m wondering if it’s the best place to h…

---

## [Materials How to: if Base output has blue color - then inverse the blue, otherwise do nothing?](https://forums.unrealengine.com/t/materials-how-to-if-base-output-has-blue-color-then-inverse-the-blue-otherwise-do-nothing/758976)

<div class="topic-metadata">

**Author:** [@XxNotAGamerxX](https://forums.unrealengine.com/u/XxNotAGamerxX)\
**Replies:** 6\
**Last updated:** [January 30, 2023, 6:44pm UTC](https://forums.unrealengine.com/t/materials-how-to-if-base-output-has-blue-color-then-inverse-the-blue-otherwise-do-nothing/758976 "2023-01-30T18:44:39Z")

</div>

UE4.27 What is the Material logic to have 2 input paths, 1 output. And how to detect a color/color range + 5% in the Base feed, and if it equals a certain color (blue), then inverse that blue so the final output does n…

---

## [Unreal can run two functions at the same time?](https://forums.unrealengine.com/t/unreal-can-run-two-functions-at-the-same-time/490517)

<div class="topic-metadata">

**Author:** [@Itam0990](https://forums.unrealengine.com/u/Itam0990)\
**Replies:** 2\
**Last updated:** [November 8, 2021, 11:27pm UTC](https://forums.unrealengine.com/t/unreal-can-run-two-functions-at-the-same-time/490517 "2021-11-08T23:27:16Z")

</div>

Hi, i need to know if normally unreal engine will run two functions of the same class at the same time if one is activated while the other one is still running, or will it execute one and then the other?

---

## [Why is this not working?](https://forums.unrealengine.com/t/why-is-this-not-working/480681)

<div class="topic-metadata">

**Author:** [@User00016322](https://forums.unrealengine.com/u/User00016322)\
**Replies:** 1\
**Last updated:** [March 24, 2021, 9:41am UTC](https://forums.unrealengine.com/t/why-is-this-not-working/480681 "2021-03-24T09:41:07Z")

</div>

So, I am having a very strange problem, All I am trying to do is find the closest overlapped weapon actor to the player and display it’s UI but it’s not working here is the code: TArray overlaps; GetCapsuleCompon…

---

## [What's the proper way to start/stop an AI character?](https://forums.unrealengine.com/t/whats-the-proper-way-to-start-stop-an-ai-character/472826)

<div class="topic-metadata">

**Author:** [@Unisink2020](https://forums.unrealengine.com/u/Unisink2020)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 6:28pm UTC](https://forums.unrealengine.com/t/whats-the-proper-way-to-start-stop-an-ai-character/472826 "2020-10-12T18:28:43Z")

</div>

The setup in the image below kinda works, but the “get all actors of class” is going to cause havoc once I add multiple of the same characters. Also, I tried like hell to use stop/start logic nodes but they didn’t do any…

---

## [How to control the max speed of a pawn uesing a variable](https://forums.unrealengine.com/t/how-to-control-the-max-speed-of-a-pawn-uesing-a-variable/463088)

<div class="topic-metadata">

**Author:** [@Dino\_dragon\_900](https://forums.unrealengine.com/u/Dino_dragon_900)\
**Replies:** 3\
**Last updated:** [April 2, 2020, 8:53pm UTC](https://forums.unrealengine.com/t/how-to-control-the-max-speed-of-a-pawn-uesing-a-variable/463088 "2020-04-02T20:53:11Z")

</div>

Hi I would like to control the max speed of a pawn using this parameter under physics is there a BP node for this

---

## [How to make a Function to check if the player is moveing too slow](https://forums.unrealengine.com/t/how-to-make-a-function-to-check-if-the-player-is-moveing-too-slow/462632)

<div class="topic-metadata">

**Author:** [@Dino\_dragon\_900](https://forums.unrealengine.com/u/Dino_dragon_900)\
**Replies:** 1\
**Last updated:** [March 19, 2020, 5:43pm UTC](https://forums.unrealengine.com/t/how-to-make-a-function-to-check-if-the-player-is-moveing-too-slow/462632 "2020-03-19T17:43:56Z")

</div>

Hi I’m making a game where you are a cube that is constantly moving forward where if you move too slow you die and level reset

---

## [selec from 5 premade materials in master material](https://forums.unrealengine.com/t/selec-from-5-premade-materials-in-master-material/462411)

<div class="topic-metadata">

**Author:** [@JUANBarney](https://forums.unrealengine.com/u/JUANBarney)\
**Replies:** 1\
**Last updated:** [March 13, 2020, 10:42am UTC](https://forums.unrealengine.com/t/selec-from-5-premade-materials-in-master-material/462411 "2020-03-13T10:42:46Z")

</div>

hi comunity my name is juan carlos and i´m getting started in procedural shading and that stuff,i encountered with a case in with i want the sahder to ask me what premade material i want but the only logic thing i cant t…

---

## [Gameplay logic - how to stream the same level N times](https://forums.unrealengine.com/t/gameplay-logic-how-to-stream-the-same-level-n-times/453620)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a9308253](https://forums.unrealengine.com/u/anonymous_user_a9308253)\
**Replies:** 6\
**Last updated:** [August 9, 2019, 4:01pm UTC](https://forums.unrealengine.com/t/gameplay-logic-how-to-stream-the-same-level-n-times/453620 "2019-08-09T16:01:45Z")

</div>

Hi all! I’m hoping to get some guidance on how to construct a game such that a player repeats the same exact level 100 times before the game quits. I’m trying to structure it such that each repeat makes the player feel l…

---

## [Why does the contains note (for arrays) show true, even if the array doesnt contain that specific item?](https://forums.unrealengine.com/t/why-does-the-contains-note-for-arrays-show-true-even-if-the-array-doesnt-contain-that-specific-item/450028)

<div class="topic-metadata">

**Author:** [@DWB-Trew](https://forums.unrealengine.com/u/DWB-Trew)\
**Replies:** 1\
**Last updated:** [June 4, 2019, 8:38pm UTC](https://forums.unrealengine.com/t/why-does-the-contains-note-for-arrays-show-true-even-if-the-array-doesnt-contain-that-specific-item/450028 "2019-06-04T20:38:20Z")

</div>

As you can see (img: sss.png), im checking if the array “words” contains the variable “word to add” and if the boolean is false, the variable shall be added to the array. Im using a “for each loop” and the first check …

---

## [AI calculating Jump](https://forums.unrealengine.com/t/ai-calculating-jump/447832)

<div class="topic-metadata">

**Author:** [@Monster-OO](https://forums.unrealengine.com/u/Monster-OO)\
**Replies:** 0\
**Last updated:** [April 25, 2019, 10:40am UTC](https://forums.unrealengine.com/t/ai-calculating-jump/447832 "2019-04-25T10:40:56Z")

</div>

Hello guys, I want to make an AI that recognizes an obstacle and calculates the jump needed or calculates if the AI character can make the jump. I am kinda stuck on the idea part so i will need help a bit from more exp…

---

## [Need help with logic for Octagon tile spawning](https://forums.unrealengine.com/t/need-help-with-logic-for-octagon-tile-spawning/444405)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4f573106](https://forums.unrealengine.com/u/anonymous_user_4f573106)\
**Replies:** 7\
**Last updated:** [March 2, 2019, 10:07pm UTC](https://forums.unrealengine.com/t/need-help-with-logic-for-octagon-tile-spawning/444405 "2019-03-02T22:07:40Z")

</div>

Hi guys, So I’ve got a puzzle that’s formed of tiles to make an octagon shape. I’m looking to get some perspective on the logic i should use when working with the blueprint system in UE4. So to break down what i’m tryi…

---

## [Could someone help me to understand paragon's combo system](https://forums.unrealengine.com/t/could-someone-help-me-to-understand-paragons-combo-system/427967)

<div class="topic-metadata">

**Author:** [@M0latov](https://forums.unrealengine.com/u/M0latov)\
**Replies:** 1\
**Last updated:** [December 1, 2018, 6:55pm UTC](https://forums.unrealengine.com/t/could-someone-help-me-to-understand-paragons-combo-system/427967 "2018-12-01T18:55:42Z")

</div>

Currently, i’m re targeting shinbi’s animation blueprint and character blueprint so that they both work with Kwang. I’ve gotten everything set up fine, but need a little help understanding the combo system they’ve put in…

---

## [when i press button object set random color](https://forums.unrealengine.com/t/when-i-press-button-object-set-random-color/437509)

<div class="topic-metadata">

**Author:** [@L1GHt\_qwerty](https://forums.unrealengine.com/u/L1GHt_qwerty)\
**Replies:** 1\
**Last updated:** [November 13, 2018, 9:40pm UTC](https://forums.unrealengine.com/t/when-i-press-button-object-set-random-color/437509 "2018-11-13T21:40:08Z")

</div>

How to make it so that when you press a button, the object (cube) changes to a random color?

---

## [Get value between 2 point based on percentage](https://forums.unrealengine.com/t/get-value-between-2-point-based-on-percentage/436326)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4be4a5e2](https://forums.unrealengine.com/u/anonymous_user_4be4a5e2)\
**Replies:** 3\
**Last updated:** [October 25, 2018, 10:59am UTC](https://forums.unrealengine.com/t/get-value-between-2-point-based-on-percentage/436326 "2018-10-25T10:59:31Z")

</div>

Both points are float values and point A could be any numbers from 0.0 to 1.0, point B is a fixed value if this helps. now i want to find the value between point A and Point B by a given percentage. If by 0.7 i want a …

---

## [How to create chest storage](https://forums.unrealengine.com/t/how-to-create-chest-storage/367088)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_dceb25d5](https://forums.unrealengine.com/u/anonymous_user_dceb25d5)\
**Replies:** 6\
**Last updated:** [September 17, 2018, 9:34am UTC](https://forums.unrealengine.com/t/how-to-create-chest-storage/367088 "2018-09-17T09:34:30Z")

</div>

Hello, I followed this tutorial on creating a simple inventory system in UE4. I tried expanding it to include a chest storage so that I could place my items into the container. So if my character only had so much inv…

---

## [How to test if a float is between two values?](https://forums.unrealengine.com/t/how-to-test-if-a-float-is-between-two-values/365400)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1ed1c3df](https://forums.unrealengine.com/u/anonymous_user_1ed1c3df)\
**Replies:** 3\
**Last updated:** [July 10, 2018, 1:23am UTC](https://forums.unrealengine.com/t/how-to-test-if-a-float-is-between-two-values/365400 "2018-07-10T01:23:21Z")

</div>

I’m trying to write a conditional statement in blueprints using the branch and I have no clue who to make it use the && or || operators. if( someFloatValue \>= someThreshold && someFloatValue \<= anotherThreashold ){ …

---

## [Please spot the flaw in my logic (random integer in range)](https://forums.unrealengine.com/t/please-spot-the-flaw-in-my-logic-random-integer-in-range/427907)

<div class="topic-metadata">

**Author:** [@llll\_Sabre\_llll](https://forums.unrealengine.com/u/llll_Sabre_llll)\
**Replies:** 2\
**Last updated:** [June 22, 2018, 2:13pm UTC](https://forums.unrealengine.com/t/please-spot-the-flaw-in-my-logic-random-integer-in-range/427907 "2018-06-22T14:13:18Z")

</div>

Hi all, Have I made an glaring error here? Surely it should never hit the print string? I’ve been staring at this too long so perhaps I can no longer see the obvious! Thanks, Sabre.

---

## [Check if strength increased, If it increased then increase Health by 20](https://forums.unrealengine.com/t/check-if-strength-increased-if-it-increased-then-increase-health-by-20/425585)

<div class="topic-metadata">

**Author:** [@TheSteelJC](https://forums.unrealengine.com/u/TheSteelJC)\
**Replies:** 5\
**Last updated:** [May 21, 2018, 5:08pm UTC](https://forums.unrealengine.com/t/check-if-strength-increased-if-it-increased-then-increase-health-by-20/425585 "2018-05-21T17:08:36Z")

</div>

I want to increase my health by 20 whenever my character gets 1 strength, or 10 mana per 1 intelligence. Or how can I just check whether a value increased or decreased. If it increased do something, if it decreased do s…

---

## [Set Int to switch a specific number of times](https://forums.unrealengine.com/t/set-int-to-switch-a-specific-number-of-times/412190)

<div class="topic-metadata">

**Author:** [@Donalf](https://forums.unrealengine.com/u/Donalf)\
**Replies:** 8\
**Last updated:** [December 14, 2017, 5:23pm UTC](https://forums.unrealengine.com/t/set-int-to-switch-a-specific-number-of-times/412190 "2017-12-14T17:23:44Z")

</div>

This should work:

---

## [Each time x increases by a certain amount, set y](https://forums.unrealengine.com/t/each-time-x-increases-by-a-certain-amount-set-y/409325)

<div class="topic-metadata">

**Author:** [@NerArth](https://forums.unrealengine.com/u/NerArth)\
**Replies:** 2\
**Last updated:** [November 11, 2017, 12:31pm UTC](https://forums.unrealengine.com/t/each-time-x-increases-by-a-certain-amount-set-y/409325 "2017-11-11T12:31:16Z")

</div>

With blueprints, I’m currently trying to do something such as: x is an integer that increases by 1 every tick. every time x reaches 10, 20, 30, 40, etc; set y=x/10 Unfortunately, I’m struggling to understand how I s…

---

## [Camera & character math/logic](https://forums.unrealengine.com/t/camera-character-math-logic/401133)

<div class="topic-metadata">

**Author:** [@MichaelWion](https://forums.unrealengine.com/u/MichaelWion)\
**Replies:** 0\
**Last updated:** [August 4, 2017, 2:42am UTC](https://forums.unrealengine.com/t/camera-character-math-logic/401133 "2017-08-04T02:42:08Z")

</div>

My character’s skeleton has a head bone, and an invisible bone sticking out in front of his face (which, for brevity, you could think of as a “socket” for the camera). The camera component itself is attached to a spring …

---

## [Getting "Accessed None" error and I'm not sure what the cause is](https://forums.unrealengine.com/t/getting-accessed-none-error-and-im-not-sure-what-the-cause-is/304681)

<div class="topic-metadata">

**Author:** [@aofer](https://forums.unrealengine.com/u/aofer)\
**Replies:** 10\
**Last updated:** [July 12, 2017, 1:34pm UTC](https://forums.unrealengine.com/t/getting-accessed-none-error-and-im-not-sure-what-the-cause-is/304681 "2017-07-12T13:34:36Z")

</div>

It means you tried to use a variable or argument and it hadn’t been initialized to anything. You can try clicking on the link in the message log and it usually (but not always) will take you to the place in your bluepri…

---

## [NPC Dialogue System](https://forums.unrealengine.com/t/npc-dialogue-system/394858)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a1c23b0e](https://forums.unrealengine.com/u/anonymous_user_a1c23b0e)\
**Replies:** 0\
**Last updated:** [May 28, 2017, 6:58am UTC](https://forums.unrealengine.com/t/npc-dialogue-system/394858 "2017-05-28T06:58:46Z")

</div>

I’m trying to think of how to tackle a lot of written dialogue between a character and various NPCs. After some thought on the matter I decided that my blue print design for said dialogue would be as such: PlayerCharact…

---

## [Is it possible to do a 13x13 matrix out of letters?](https://forums.unrealengine.com/t/is-it-possible-to-do-a-13x13-matrix-out-of-letters/393492)

<div class="topic-metadata">

**Author:** [@Thalez](https://forums.unrealengine.com/u/Thalez)\
**Replies:** 2\
**Last updated:** [May 14, 2017, 2:16pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-do-a-13x13-matrix-out-of-letters/393492 "2017-05-14T14:16:14Z")

</div>

So my attempt is to make a text/letter based game. When the player scavenges and wants to go to different locations, he will move inside a matrix out of letters. I have seen that before, in an old school styled android g…

---

## [Logic Error: Gate not opening for condition](https://forums.unrealengine.com/t/logic-error-gate-not-opening-for-condition/385217)

<div class="topic-metadata">

**Author:** [@AemonBarz](https://forums.unrealengine.com/u/AemonBarz)\
**Replies:** 7\
**Last updated:** [February 18, 2017, 4:24am UTC](https://forums.unrealengine.com/t/logic-error-gate-not-opening-for-condition/385217 "2017-02-18T04:24:49Z")

</div>

I am trying to make it so that every time the user clicks on the collision cube, the count will go up by one. Once the count reaches a certain variable, which is defined earlier in the logic, the gate should open and pri…

---

## [Float Calculator](https://forums.unrealengine.com/t/float-calculator/375607)

<div class="topic-metadata">

**Author:** [@GVWorks](https://forums.unrealengine.com/u/GVWorks)\
**Replies:** 2\
**Last updated:** [November 9, 2016, 11:30pm UTC](https://forums.unrealengine.com/t/float-calculator/375607 "2016-11-09T23:30:21Z")

</div>

Trying to create a simple 3D calculator with overlap logic, but after a few nodes going to stuck and have some question: how to make it simpler ? how increment value by order 1 - 11 - 111 and so on ? “Incrementit” not …

[Next page](https://forums.unrealengine.com/tag/logic/2706.md?match_all_tags=true&page=1&tags%5B%5D=logic)
