#blueprint

402296 messages ยท Page 473 of 403

trim matrix
#

sitting here for 20 mins not seeing that lmao

green eagle
#

@maiden wadi ah! I see thank you. I feel it would of been a long lonnnggg road of trial and error before I came to the resolution lol

trim matrix
#

I have a loop here, i set a .2 sec delay intended so that it has that between each of the 10 iterations of the loop, so the loop should take like 2 seconds, but instead the entire thing just activates 10 times instant after the delay is over, any way to make the delay be between each time it activates?

elfin hazel
#

yeah, putting a delay in a loop doesn't work.

trim matrix
#

i see

bold pilot
#

Anyone have an idea what may be causing an issue with BlueprintNativeEvents in a packaged build? In the editor I get a PointerToUberGraphFrame->RawPointer check error, then a fatal error when running the packaged version.

trim matrix
#

@trim matrix use a timeline

unreal pawn
#

is anyone here experienced with VR programming?

stoic narwhal
#

For some reason I cant figure out why these chop nodes work like this. the first red print should be 'ab'

elfin hazel
#

well the top node isn't a chop node.

stoic narwhal
#

oh bloody hell

#

I cant believe I didnt see that

#

thank you!

#

I actually looked at that tutorial when I was trying to figure out this new system I'm working on to chop up strings

#

โค๏ธ @elfin hazel

#

I was trying to create a 'Split String At' node, where you index and int and it splits the string in half (inclusive on left side). If anyone is interested here's the simple purecast BP

dense hornet
#

Hi! I have a bit of a beginner question. I have a simple loop here, and I want to do some more blueprint after this loop. How do I make it so it won't loop whatever comes after this part?

steep musk
#

@dense hornet use the Completed pin

elfin hazel
#

Continue after the completed exec, but my personal preference is to put a sequence node before the loop.

dense hornet
#

@steep musk Ah that works? I didn't consider it because it looks like it discontinues whatever is in your loop

#

hmm it works indeed, thanks!

steep musk
#

it's my assumption, I mainly use C++

gray rapids
#

I'm a beginner trying to make recoil for my FPS blueprint, but i have a problem.
When i fire, i add recoil by using "add controller pitch input", giving it a -0.5 increase each shot. Working as intended, the camera goes up.
When i stop firing, i want the crosshair to return to the original pitch, currently i have it just use "add controller pitch input" and feed it the inverse of the total amount of recoil added. Which also works as intended.
But i want the crosshair to return the pitch in a smooth motion, not just instantly. Cant find a good solution, any takers?

modern cove
#

My Timeline is acting funky; I'm using to one to animate movement, but no matter what I set the final value to, my character only steps 100 units. I want steps to be bigger, but I can't seem to change them

earnest tangle
#

I'm noticing if you have a component event in both a parent BP and a child BP, the parent BP's event for it is never called. It's also not possible to "call parent" from the child event.

There's a thread on the forums from 2014 which suggests using a custom event or custom function to do the logic, which would allow you to override/extend logic safely.

Is this still the suggested way to do it?

trim matrix
dense hornet
#

@earnest tangle Was that a respond to my deleted post? I found the issue, I had set another node on word coordinates to fix another issue. Setting it back fixed it, though I now have to fix that other issue

earnest tangle
#

oh, nope :)

dense hornet
#

ah alright then ๐Ÿ˜›

true valve
#

Anybody has experience creating NPC raid system? Do you make the NPC to attack the player's base, bed or the player?

trim matrix
#

@gray rapids Can you show code?

scenic temple
#

Anyone know if it's possible to control Post Process Volume LUT intensity via BP/CPP? I've been looking in blueprints but I'm not sure if it's exposed or not

rough wing
kind jackal
#

anyone know why when i execute consule command r.PostProcessAAQuality 0 it doesnt work
[11:30 PM]
cant seem to switch Anti aliasing

vital ingot
#

@tight schooner Hey sorry for the late reply! I live in Aus so timezones lol

Thank you! You did read the question correctly, and pretty much my project right now is just spawning a GIANT grid using some math, and then using that math I highlight the area of the grid that I'm hovering over. It's primarially for a farming game, but right now all I'm really trying to do is just spawn a cube at the center where the highlight is. I'll see if I can mess around with it to better understand what I'm doing cuz honestly rn I really don't understand how this script works. lol Like I gist, but I don't know where the selection output is actually coming from.

Thank you again, and hopefully I can figure it out after looking through this script again!

trim matrix
#

This won't even need a reference for "MyObject" to exist, how would I destroy it then?

lucid granite
marsh blade
#

Hello Everyone, I was hoping to get some help with a blueprint I am trying to replicate. I am working from the "Making a Zelda Environment in UE4" Tutorial from Kem Yaralioglu (FlippedNormals Marketplace) he has created a material function for Slope detection for blending terrain materials together. I have the Material Function mostly recreated however I can't figure out how to add the nodes indicated in the image, I am unsure of what these nodes are (Floats?) or how I might add them in.

lilac lance
#

Press p and click

marsh blade
#

Panner?

lilac lance
#

Or press 1 click, then right click snd convert to parameter

marsh blade
#

Param! thankyou so much

lilac lance
#

S and click?

#

I cant rrmember the shortcut for a parameter

marsh blade
#

Seems Like 1 and Click and S and Click both work

lilac lance
#

One is a parameter, one is a constant

#

You can convert one to the other and vice versa by right clicking

marsh blade
#

Ah I see S is the shortcut for Parameter

lilac lance
#

Yes

#

Parameters can be named

#

And can be tweaked in a material instance

#

Create a material instance by right clicking the material

#

You can have a parameter and tweak it in editor time to see the changes without compiling

weary spire
#

one of the BP's i've got from the marketplace has this in it

#

event subgraph, what is the spermcell like icon. and how do i create one?

#

think i've got it

cyan surge
#

Having a strange issue where this gets called fine in PIE, but won't call in Standalone?

#

PIE

#

Standalone

crude girder
#

Not sure if this is the right place to ask so feel free to tell me to go to another thread, but I am hoping someone can help

#

I am new to Unreal and am trying to randomly animate an object with a blueprint, which I have working. However, I want to export it via the sequencer, but the blueprint only plays when hitting play to simulate a game. Is there a way to get blueprints to play inside of the editor/sequencer without having to hit play to simulate?

deep elbow
#

not really

#

you can create an editor utility blueprint and see if tick or a timeline will run in the editor

#

there is a hack to get tick faked in the editor using construction script fuckery, but you'd need to not use a timeline and have the tick deal with the animation

#

i don't follow what you mean by sequencer, are you talking about the blueprint sequencer, the experimental thing? or are you talking about a Timeline

#

and what are you trying to actually export, rendering to video, or are you trying to export skeletal animation etc

#

@cyan surge standalone prevents some stuff from running, like prints, odd that one works and the other doesn't - have you tried getting that event to fire something else, like show some widget on screen or somethign to confirm it actually fires?

cyan surge
#

@cyan surge standalone prevents some stuff from running, like prints, odd that one works and the other doesn't - have you tried getting that event to fire something else, like show some widget on screen or somethign to confirm it actually fires?
@deep elbow I had an on screen UI response but can't show it due to NDA, it didn't fire the logic for the game instance specifically!

deep elbow
#

Ok, well that's one thing out the way, just out of intertest have you tried adding a delay after the begin play or the actual function call

#

I have had a bunch of issues with execution order to the point where I don't use begin play at all unless it's trivial gameplay stuff, everything always comes from a single execution point that notifies other things when it's actually finished executing stuff that other objects rely on

#

i mean in game instance, mode, controller etc

trim matrix
#

Does casting to a child blueprint always fail? I can never seem to cast to one.

deep elbow
#

you have to get the child bluweprint first

#

pull a pin off the child actor, and search for Get Child Actor

#

then you can directly cast to that

cyan surge
#

Ok, well that's one thing out the way, just out of intertest have you tried adding a delay after the begin play or the actual function call
@deep elbow Yes I have tried adding a delay, no luck

crude girder
#

@deep elbow I mean the timeline when I say sequencer. I have a camera animation with a flashlight attached to it. The camera is shaking using a camera shake, but it won't affect the light which is a child of the camera, which is why i need to use the blueprint. I am trying to export the animation I have going on with the camera. I am using Unreal for rendering purposes.

deep elbow
#

right, hmm, I think I fundamentally misunderstand why it needs to be run without simulating or playing, like what is the actual export format you are looking for - are you trying to export the actual animation of the "bone" of the flashlight or do you want a sequence of images to comp into AE or something

crude girder
#

I want to export a sequence of images. Imagine just a cutscene but exported

deep elbow
#

right ok i'm following you, gimme a sec i just want to test something

crude girder
#

I tried running/simulating/playing but then I can't export/play the sequencer camera animation.

#

Thanks man I really appreciate the help!

deep elbow
#

how are you capturing?

crude girder
#

I was exporting using the sequencer feature that allows you to export

#

the render button

deep elbow
#

oh i see ok

crude girder
trim matrix
#

@deep elbow can you show me a quick example? It's fine if you don't have the time

deep elbow
#

@crude girder timelien can't be called without the game running, you could create a custom event in the flashlight blueprint, get a ref to the bp in your sequence, and trigger that event at the relevant time, I'm pretty sure the sequence is actually running in game when rendering otherwise nothing would really work

crude girder
#

@deep elbow ok thats a lot to unpack. like I said, I am new but that gives me a starting point

deep elbow
#

@trim matrix I was just re-looking at your graph images, and tbh game instance should be spawned before everything else so I wonder: where do you actually call that cast and function from? is that a level blueprint?

crude girder
#

@deep elbow I think I found a useful resource. Will be going over it in a second

deep elbow
#

haha ๐Ÿ™‚

#

that doc is pretty comprehensive and overkill for what you want to do I think but the core is there

crude girder
#

yeah definitely. I will let you know if I got it! Thanks for the help!

trim matrix
#

@deep elbow I've tried calling a child actor hundreds of times and it has never worked anywhere ever. I assume it's because I don't know what object to put into the cast

deep elbow
#

@cyan surge I was just re-looking at your graph images, and tbh game instance should be spawned before everything else so I wonder: where do you actually call that cast and function from? is that a level blueprint?

trim matrix
#

you're using a child actor variable? @deep elbow

deep elbow
#

child actor component, added directly in the blueprint component list

trim matrix
#

oh, kk ty

deep elbow
#

principle is the same however it is created tho

crude girder
#

@deep elbow do you know how to get the time from the sequencer to blueprint?

#

usually with an event tick I can get the delta seconds but am unsure how to get with custom event

deep elbow
#

not really, there is a pure function called Get World Delta Seconds that will give you that without having a tick

maiden wadi
#

@trim matrix Are you trying to cast to an inherited class, or access an Actor inside of a ChildActorComponent?

pliant fossil
#

By any chance can someone find a good tutorial on procedural terrain generation for me hopefully blueprints?

trim matrix
#

@maiden wadi I'm trying to access a child actorcomponent through an inherited class

green cipher
#

hey everyone
iโ€™m trying to make a camera in-game, for the player to take photos of anything in the game world. the photos would br accessible later, still in-game, since they are essential to gameplay. but i have no idea of how to begin making something like this in bp. any tips/directions?

maiden wadi
#

@trim matrix Those are two different things. A ChildActorComponent is a component that is attached to Actors that holds a separate Actor. An Inherited Class is like saying that a Character inherits from Pawn, and Pawn inherits from Actor, and Actor inherits from Object.

#

The only way that I can see you trying to access a ChildActorComponent through an Inherited class, is that your ParentClass has a ChildActorComponent. You spawn the InheritingClass which inherits the ChildActorComponent from the parent and you're trying to get the Actor from that ChildActorComponent?

trim matrix
#

@maiden wadi wow that's confusing. I have a child actor blueprint, I'm trying to call an event from the parent blueprint

#

this was @deep elbow suggestion I just tried, unfortunately it doesn't work for my situation

maiden wadi
#

@trim matrix ChildActor is not an inherited class it is a completely different kind of object. What you're doing isn't actually a child actor. You've spawned the inherited class and not the parent class, right?

trim matrix
#

yes, Robot_AI is a child blueprint

maiden wadi
#

And where are you trying to call it's parentfunction from? Inside of the childclass?

#

Wait, which blueprint is the function in, the child or parent?

trim matrix
#

That is the parent, I misunderstood your question previously

#

It's 4:30AM and I'm drained haha sorry.

maiden wadi
#

All good.

#

If I'm understanding correctly, you have a function in your childclass and you're trying to call that inside of it's parent class. If that's the case, it's not possible.

trim matrix
#

oh

#

lol damn

#

wait, that's not a function. it's an event

maiden wadi
#

Same effect. ChildClasses can never actually affect ParentClasses. ChildClasses are meant to extend functionality from the ParentClass. If you have something that needs to be used in a parentclass, it needs to be in the parentclass and any childclasses will inherit it.

trim matrix
#

daaamn

#

well, thanks for the clarification

clever tree
#

Hello. In blueprint inside function I need to get current function name. Is it possible?

crude girder
#

@deep elbow apparently the event in the sequencer will only be called when the game is played. I really wish there was an alternate solution.

void cobalt
#

i kinda new to unreal and i cant figure out how to use this

trim matrix
#

Hi all I want to change my media player video frame rate inside UE4 is it possible ? I found this tools but it doesn't work If one of you have an idea it will help me a lot -

#

Thanks

maiden wadi
#

@void cobalt What do you have so far, and what are you trying to get working at the moment?

void cobalt
tight cobalt
#

I have trouble spawning bigger size of the actor from the blueprint class. It always spawns the default size of asset when it was imported rather than the one that i set in the Blueprint class,. Anyone knows how to make it work?

zealous moth
#

Is the mesh your root?

#

@tight cobalt if your mesh is your root the scale aint gonna work. I dunno why. If you give your actor a root, it will

tight cobalt
#

Is the mesh your root?
@zealous moth Gonna check it out, that might be it. I think I even saw the video about that some time ago, but I forgot about it. Thanks

upper adder
#

(im new to the construction script) It somehow works in the viewport but in the real world the item is just not there... :/

#

nvm

#

i used world transform instead of relative transform

late gorge
maiden wadi
#

It should work. Just be careful with nesting macros sometimes. You can get odd behavior.

late gorge
#

not planning to nest it

#

this is for a simple actor class that is meant as a standalone level design tool so it's not part of any complicated code

#

it makes the code cleaner but im worried this will make it calculate it in each for loop call

maiden wadi
#

@late gorge Macros are more or less expanded on compile. So it really shouldn't be any different.

late gorge
trim matrix
#

Hi all I want to speed up and slowdown the frame rate of a media track in my sequencer is it possible to do it ? Thanks for your help ๐Ÿ™‚

dense mantle
#

are you thinking slow motion video or something ... sorry man just woke up little slow at the moment

trim matrix
#

@dense mantle ahahah thanks in France its already the evening ! I have a media track with a video texture launching on my sequencer but i want to slow down just this media track and not the total sequence

dense mantle
#

if you pull off the media player is there a play seed or something you and update

trim matrix
#

My track is this i just have some properties panel but I don't see a play speed frame rate

#

or something like that

trim matrix
#

Ohh thanks i saw this node but i don't know what node i have to put in Input and output

dense mantle
#

ok one moment

trim matrix
#

Im really a beginner in blueprint

#

Thanks soooo much

#

This will help me a lottt

dense mantle
#

what is the video format you are using ??

trim matrix
#

it's a MP4

dense mantle
#

should help as well

trim matrix
#

Ohhh thanks !!! Im watching the blueprint i think you find the perfect answer !! The main problem is that I don't use the play button so I can't use the Event Begin Play node. So wich node you think I have to put to launch this blueprint without using the play button ? Tank you for all your time and help !!

dense mantle
#

i am not sure but i think you can call from sequance

#

sequence

trim matrix
#

Hmmm you mean that I have to make an Event Track in the sequencer ?

dense mantle
#

i think that would be the way so you can use it to drive your changes

trim matrix
#

Hmmm I understand I will retest it if it's work im totally a beginner ahahah

#

Thank you I let you know if it's work ๐Ÿ˜„

dense mantle
#

sweet i am new as well but have watched lots of vids and have a good ideal what the docs have lol ... please that is a powerful feature to use i love the ideal

trim matrix
#

Ahahah I hope it will work because it's the most perfect things you can do all in UE4 and adjust all perfectly

#

so it will be great if we find a way to do it

#

Thanks again for your help I will continue to search

#

Have a good morning

dense mantle
#

any time my pleasure

#

get the on overlap event and you can pull the actor and from there grab the mesh... dose that help ???

#

bluerprint.. component.. then mesh of component if i am understanding what you are trying to do

#

@trim matrix kinda like a energy ball hitting a door and then changing to broken door mesh ???

gusty surge
#

I'm using find floor to get floor Phy Mat but it's return null value, any can help me about this ?

#

And i tried using the LineTrace to hit the same actor it's has a same result of actor but using LineTrace it's does return Phy Mat

#

Here some printtext test.

dense mantle
#

@trim matrix so you would have to take the hit result of overlap and then once get reference to the other blueprint you can drill down to the correct mesh component the set it to what you want ... but i would most likely do this say door bp and not energy ball bp ... but i think you could do it both ways.... like door notices overlay test for what it was overlapped by and then do something

gusty surge
#

@trim matrix As you can see from test Hit Actor were the same but for somereason Phy Mat of FindFloor is return null value;

dense mantle
#

@gusty surge so you get the floor actor right???

#

fi so can you "get" the phymat from it ???

gusty surge
#

The floor where the actor was standing.

dense mantle
#

ok with that ref can you pull the phy mat from that reg

#

say like floor get hpy

#

get phy mat mabe

gusty surge
#

I'm just gonne use the Linetrace then

dense mantle
#

it looked like you where grabbing the component did you try to pull off the phy mat pin and see if that gives it to you

#

@gusty surge

gusty surge
#

Oh sorry forget to update an images.

dense mantle
#

so what do you get from the phy mat pin anything

gusty surge
#

None

#

As you can see from test

#

Hit actor were the same Landscape_1

#

but Phy mat is diffirent

#

@trim matrix you cannot Cast Component.

#

You need to Cast to an Actor and get component.

dense mantle
#

yes that is right

#

ok are you get the ref to the actor right

#

if you are the try pulling off that ref with "get mesh"
then try to set the mesh with what you want

gusty surge
#

Here's is an example

#

Like you have a CharacterBP that name BP_AwesomeCharacter You have to Cast to BP_AwesomeCharacter and get component from there.

#

So that you have to meet with Blueprint Interface

#

or using GetComponentsByTag

#

or using GetComponentByClass In case you have only 1 a StaticMesh Component on the actor.

#

But test best way that i suggest is Blueprint Interface

#

You're Welcome @trim matrix

dense mantle
#

that is the best way gives you power to test if it implements that interface and if not then skip result and if so then it would do the code

#

i would watch the live stream on bp communication it goes through step by stem the ways one bp can talk to other bp

tranquil path
#

Hey, im trying to set the compression settings and filter of a texture in bp but for some reason it only works sometimes

dense mantle
#

@tranquil path is it failing to download for some reason

tranquil path
#

no the texture is always applied its just only sometimes it changes the compression and filter

trim matrix
#

Hi! I would like to have to static mesh that i can toggle visibility. But how do I code so the mesh "Monster" key 9, starts off (not vis)?

dense mantle
#

@trim matrix so the monster is there always just want it to become visible?? like spell see invisible or something or just a way to spawn under condition

trim matrix
#

@dense mantle im recording a short film and have a character that peeks around a corner. first peek shall ony show "stun idel" then moves back and second peek "stun idel" shall disaper pressing key 8. but the monster show in the first peek ๐Ÿ™‚

dense mantle
#

could set up the scene in construction script of bp then change on whim

#

set monster to invis in its constructor

#

ro for that matter only spawn the monster when you want it visable

trim matrix
#

@dense mantle thx will try

dense mantle
#

fi you need help haller

#

say like left arm and then right are

#

arm lol

#

left arm in fire right arm not

#

ok so fireball overlaps window in door but the handle component is no in the over lap both are part of same actor door

#

that is part of overlapped actor i believe

#

right hand hits glass so cut it but leave left hand alone

#

as long as both half spheres are part of same actor

winter mirage
#

Does anyone know if there is a way to get the editor camera location?

dense mantle
#

editor cam at run time ???

winter mirage
#

normally you would just take camera manager for player 0

trim matrix
#

How can i set the vision to 360 degrees on Ai Perception?

winter mirage
#

but that doesnt work in the editor

dense mantle
#

@winter mirage i guess i am not understanding what you are trying to do ...

trim matrix
#

Hi, by the way.

winter mirage
#

Im trying to preview GPU rain in the editor. But it should only be around the player. In the editor, its now located at 0,0,0

#

During tick I update it to the player location, but I want to preview it in the editor if I press a button

dense mantle
#

@trim matrix have you seen the vid " ai state of mind"

trim matrix
#

No

dense mantle
#

@winter mirage so during sim

trim matrix
#

will check it out

winter mirage
#

no, not during simulation, during real time preview

trim matrix
#

Thank you

winter mirage
#

During sim works, but I want this to work in the editor preview as well ๐Ÿ˜„

dense mantle
#

@winter mirage like turn on and off ?? or zoom to specific point to in space ??

late gorge
#

is there any simpler way to rotate a vector by 180 degrees, other than multiply by -1?? kinda like "InvertRotator" node for rotators?

dense mantle
#

vector function rotate vector

late gorge
#

ye but what do i input as rotator then?

dense mantle
#

x= roll y pitch x yaw ???

#

z yaw that is...

#

dose that help at all ???

late gorge
dense mantle
#

what is that trying to do ??

late gorge
#

was wondering if a node exists that does that already

dense mantle
#

@late gorge ok so just need it 100 % backwards all at once???

late gorge
#

yeah, i can just multiply by -1

#

was wondering if a shortcut node already did that

#

like you can find with rotators (invert rotator)

dense mantle
#

being that you just want to flip it i can not think of a faster way to do it i mean if i would write a function to do that i would just * -1

#

and i am not sure what the difference in inverting a rotator would be ... i don't know anywhere close to anything to be sure... sorrman

#

sorry man

#

that is unless you are looking at the vector as a direction

shut hinge
#

ok i have a problem, I put in layley's levelling system, But his levelling component system don't work with other party members. It only works with just one party member at a time.

dense mantle
#

dose it say it will do it ???

shut hinge
#

But on the party group stats I need all of party member levels to be showing. Not just one party member's stat showing.

dense mantle
#

and how are you passing the information

shut hinge
#

Because the strange thing iswhen I add the levelling component to all of the party members and then switch party members, the other party stats turn off. and when I switch to that party member Ryan's levelling system starts to be active for just one party member at a time that I switch over to..

#

So its not active for all party members at the same time.

dense mantle
#

dose it handle the hub for you or are you using data from it to drive your hud

shut hinge
#

the component is added to the party member character as well as to the hud widget to the party member level stats on the screen.

dense mantle
#

so it never showa all of them ???

shut hinge
#

I don't know how to get his party level system to activate for all the party members at the same time. But maybe his system only activates when you switch to different party members. Good for single screens stats, but probably not when you have party members in group combat also all on the screen.

#

like Final Fantasy where you see all your party members levelling up at the same time while they are busy battling monsters in a group..

dense mantle
#

ok ok so i have no ideal on this plugin never heard of it ... that being said if it only ever shows one at a time you might try adding its widget in the ui for each char then bind each to its char that would kinda setp around it mabe

shut hinge
#

sounds like a good idea, but you might need a different health variable for each character instead of all of them using the same variable.

#

I'm trying to set up a group party system, as i have ten party members in my game.

dense mantle
#

do you mind a voice chat in general ???

shut hinge
#

i don't have a mic installed. I can type chat though.

dense mantle
#

ok can you show me the widget for the hub the desiner view

shut hinge
#

i have a channel on here called Tesseract Prime Offworlds which is the name of the game i been working on.

dense mantle
#

ok so lets start then lol .... in the ui widget do this plugin has an element you add to it ???

shut hinge
#

its not a plugin, its a component actor that you add to the widget and to your player character.

#

i'll have to see if I still have the old copy back in ver 4.18 to get the level screen stats

dense mantle
#

ok so can you add more than one to the ui

#

if it is just a component ui element and a actor component then there is no reason you can point link ui element to each char and if the number of party members changes no reason a bp could not add or take away from ui and make the bind real time

shut hinge
#

I think I can but I think it only shows one being active... I will have to load up the old copy to double check.... I will have to reboot the machine.

dense mantle
#

if only one active make array and for each to update

#

component should instance

shut hinge
#

I will look for the party stats screen and see if I have a screenshot of it still on my computer before i try to load the old project.

dense mantle
#

what engine are you working with now ???

shut hinge
#

version 4.25

light raft
#

Hi, I made a pair of blueprints in one project and I'm trying to use them in another. One blueprint pulls data from the other. However when I open these blueprints in the new project, the 'cast to' nodes are all failing with "bad cast node" when looking for the other blueprint. I can successfully recreate the 'cast to' node and the reference sticks but why can't it find it automatically?

shut hinge
#

did you cut and past the nodes in from another engine ?

light raft
#

@shut hinge i copied the .uasset from one project folder to the other

#

*on a different computer^

shut hinge
#

because that can cause the bad cast node error as well cutting and pasting nodes from one pie window copy to the other if in the copy it can't find the blueprint the node is casting to.

light raft
#

I had the idea that maybe the first blueprint needs to be imported and compiled before the other that references it, but no dice

shut hinge
#

unreal engine is not like your normal windows programs that you can just copy and paste in, it causes problems with the blueprints when you try that because it hard codes things.

dense mantle
#

hey why not make yourself a plugin and mark it content onlu and add it to there and can use it in any project

#

that has that plugin loaded that is

shut hinge
#

I be back, I got to reboot the machine.

light raft
#

hmmm ok i'm definitely confused about blueprint portability then. Rather than copying the blueprints between different content folders, what is the proper way of reusing a pair of blueprints that cast to each other?

dense mantle
#

try to copy it to a test doc first the back in to blank bp of fame name ... or you may need to make sure all vars are present

late gorge
#

i need to divide/multiply in the BP by the twice the decal size's Y

#

and would like it to be dynamic

#

it seems to be a BP read-only variable

#

with no setter

dense mantle
#

can you scal the decal

late gorge
#

i calculate certain things by the unscaled size

dense mantle
#

so do you need to change the size then???

late gorge
#

yeah

#

so i should scale it?

#

and adjust my calculations to match?

dense mantle
#

if you cant change size run time that should work ish and that is what i would try

#

wow that is tuf... so the decal is part of engine... or added by third party... not used decals

light raft
#

i'm curious how the 'cast to' references to other blueprints are linked together. It seems there must be something other than just the blueprint name ?

dense mantle
#

there is a signature that takes into count variables and functions and that

light raft
#

@dense mantle ok that makes sense. so the signature is probably unique to each project file?

#

which means 'cast to' wouldn't be portable between projects

#

feel like im missing something haha

dense mantle
#

are you on the same build of engine

light raft
#

yep 4.25

golden sand
#

sorry to jump into the middle of this conversation but i was wondering if anyone could answer this question im stuck on. can anyone tell me why this event begin play node is not firing?

dense mantle
#

@light raft what about copy file from one to another would do auto import

#

@golden sand is in scene right

golden sand
#

@dense mantle in scene?

dense mantle
#

you added bp to world

late gorge
#

@dense mantle it worked :) ty

golden sand
#

@dense mantle i tried to use the map blueprint to spawn it bit every time i call the collision on the bottom i get an infinite loop

#

@dense mantle not sure what you mean by add to world. like spawn it?

dense mantle
#

yhea or call if from another bp... what is the colision looking for

golden sand
#

@dense mantle no nothing is calling the blueprint i need it to spawn once and every time the collision(box collision in the blueprint) it spawns a new one

#

not sure where to call spawn actor for only the one time use

dense mantle
#

a new collision box ???

#

add the do once node befor it ??? then never use the reset

golden sand
#

as my character runs along they will hit this collision and when the do it spawns another of the same blueprint

dense mantle
#

are you making sure that you check for only the character to trigger or will all collision trigger

golden sand
#

yes its only the character collision

dense mantle
#

like running and the floor keeps spawning before you

golden sand
#

yea

dense mantle
#

ok then the " Do Once" node before the spawn so that while the char is in the collision it will only spawn the one time or you get hit after hit infant loop ... or do on begine over lap or something that will only fire once

#

ie... test for collision _. decide if char -> do once -> Spawn next segment

golden sand
#

will do thanks

light raft
#

@dense mantle i believe my problem is related to the way i'm casting ... the actor object input of the broken 'Cast to' node is from an actor variable that i assign via the instance in my scene

#

i think i need to find the actor using a different approach

dense mantle
#

ok so an actor in the scene changes a variable on another actor and the changed actor is where the cast is broke

#

what is the var type that you are working with

#

something like a healing sphere sets a var on the char to a heal type and you want to see which one ???

#

@light raft

light raft
#

@dense mantle thanks for your help and thoughtfulness! in this case, I have one blueprint that is receiving MIDI notes information on the fly. I am trying to make a collection of other blueprints that can reference the main Midi Manager to get new data. I definitely did not need to be creating an instance variable and manually picking the Midi Manager actor in my scene ... very silly

dense mantle
#

@light raft that is a great ideal man dose the manager like have several different tracks that it sends and each receiver could get a different or are they all getting the same track at different times

light raft
#

@dense mantle should be fun! each receiver would listen to a different midi note

dense mantle
#

@light raft like and conductor and a quire

void cobalt
#

hello i need help with something

#

i have a floating damage numbers thing going on

#

when i hit an enemy

#

damage numbers appear on my screen

#

but they appear in the middle of the map

#

how do i make it so they appear where i hit the enemy?

dense mantle
#

each enemy could have a text render as part of actor and then you could modify it and control how long and if it is seen

void cobalt
#

so should i do it in the enemy bp?

dense mantle
#

i would that way different sized enemies would have it at the right spot

shut hinge
#

ok i checked, project is no longer there. Drat. Well I better ask to resolve some other issues.

I have a problem of the Pie Window Game Screen jumping about from one location to the other when starting the game, its following the mouse cursor it won't stay put in the middleof the screen.

dense mantle
#

@shut hinge check the controller and disable mouse input or set a limit ??

shut hinge
#

i got the dialog system up and running ok, but not the melee combat system.

but here's the party members in question

#

Its just cosmetic at the moment, but this what I want to show in the game the different levelling bars. However this way of showing the stats may be too cluttered on the screen. Although this layout on the main hud will work for 4 party members, but not 10.

dense mantle
#

@void cobalt as far as i know we can not get location of actor in viewport due to all the need data being on gpu and not visible to us... would be hard to do very hard lol... so i would add a text actor to the enemy bp

void cobalt
#

u sure?

dense mantle
#

@shut hinge so each line is the info from one of the components on the actor on each of the party members and its own element in the ui right

shut hinge
#

I was gonna give them separate health values for each party member. Otherwise if one gets hit, they all get hit all at once.

#

and so also are the widget animated movies

#

so I got some things working in the blueprints. But not all things.

dense mantle
#

@void cobalt well no but i was watching a thing about Niagara as someone was wanting to see where the particle was in the viewport and that was what they said... but i guess with some math involving the camera location and direction and such then expound on where that to derive the location on screen from world space values ... but i would add a text actor to the initial location on each enemy then play with that in its relative space

shut hinge
#

of my characters.

#

question is can we have sub directories in the movie folder for our movies?

dense mantle
#

@light raft that would depend on how it is spawned and if you can control where it looks

#

you should be able to as the movie that you would tell it to spawn in blueprint is given to the compiler and file and path would need to see the rules and then go at it that was.. look at a data table made from a struct of those movies and you should be able to see how to froze it so you can build the strings at runtime

#

that is is you spawn by defining node input

#

@shut hinge above for you lol

#

and that seems like a long winded way to say yes

visual fern
#

Hello, I searched a little bit about the function Slerp in UE4, and can't find anything that's close to it in Blueprint ( there is a function in C++ though )
Am i bad at searching or the node doesn't exist and we need to found a way around it ?

lyric urchin
#

this BP library has slerp in it

void cobalt
#

@dense mantle i did it btw, all i had to do is plug in impact point from linetrace into spawn widget location

#

and now the damage numbers spawn on the enemy when hit

icy arch
#

would it be too expensive to locate all nearby actors within a sphere radius by polling it every second or so?

#

using practically this:

heady jay
#

@neon perch So, when doing your suggestion to get around precision issues, I tried using world composition, however, it seems the atmosphere is attached to the world origin, so it moves with it. Is there any way I could move them independently?

vast lion
#

Can you get a ULocalPlayer from BP?

#

Can't seem to find a node for it

visual fern
#

@visual fern https://forums.unrealengine.com/unreal-engine/marketplace/1474525-blueprint-quaternion-library
@lyric urchin Thank you ! I'm glad to know that I was right when I kinda thought there was nothing from UE " official " ressources
But still didn't found this on the net so I might take a look at it, thanks !

lyric urchin
#

Ayy np good luck ๐Ÿ‘

novel coral
#

Hi there, I ran into a problem because I can't use timelines inside functions ( my a.i needs the function so I can call them inside the BT)
I'm trying to move an enemy into a desirable location that I usually lerp with a custom curve, how can I do this without a timeline?

ps: the end goal is a DSouls boss custom jump to player location so if you know an alternative it should work too, I think its possible to use splines

stable flower
#

@novel coral functions have to be able to return a value immediately, which is why you can't have any timelines or delays in it. You can create an event in the event graph which moves the character over time and just call it from your function

novel coral
#

good idea!

tranquil path
#

Hey, im having an issue with setting a textures Compression and Filter settings in a blueprint, it works great when i does but sometimes it just randomly decides not to change the settings.

shrewd palm
#

Hi peeps, anyone know the way to create time of day presents with say 1, 2 , 3 keys on the keyboard for like Morning, Day, Night, using the Ultra Dynamic Sky plugin

dense mantle
#

i believe you could rotate the directional light and it should update

shrewd palm
#

wanting to do it while running the project in a window etc

dense mantle
#

so runtime right

shrewd palm
#

yeah

dense mantle
#

the directional light is an actor and can be grabbed and altered i think that is how the CRLT L dose it i think

#

yup can grab the directional light and play with the ritation and it will change the light for you

#

rotation that is lol

#

just have to find the rotation settings for each time of day the lerp to the location or just or whatever

shrewd palm
#

I though if you just set the time of day that is used in the UDS BP that it would do that automatically

dense mantle
#

will work on it lol not sure lol

#

what enging are you using

#

@shrewd palm

shrewd palm
#

4.25

dense mantle
#

I did not find anything at the moment

#

and i have not bought that yet

#

it seems to be much like the dynamic syk the engine has

wise spade
#

Could I really make a high quality game with blueprints if I learn how to use them(

static charm
#

if you have to ask that question the answer is no (not because of blueprints but because making a quality game is 90% more than just your coding skills)

dense mantle
#

yes you can that is one reasone i got hooked with unreal

#

@wise spade learning is not that hard and worth it ... to be honest c++ and blueprints work hand in hand

#

@wise spade have you tried to make games in the past

wise spade
#

Eh I dabbled in unity

#

@static charm it was obvious I meant programming wise, but thanks ๐Ÿ˜Š

dense mantle
#

@wise spade i have messed with unity in the past and well once you get past the weird way unreal looks at first it is supper easy took me a bit to get used to teh visual scripts lol

wise spade
#

Yeah lol

#

How did you learn

#

Like where

shrewd palm
#

I tried unity but unreal is just easier (to a point) to use.

dense mantle
#

i have tought meself with teh help of live training and youtube lol

#

now if i could teach myself to type

shrewd palm
#

Only thing unity does better is on Linux don't need to compile it like ue4

wise spade
#

Lol

#

Could you point me to some tutorials @dense mantle? ๐Ÿ™‚

dense mantle
#

poo no that lol

#

well for some reason but unreal engine on you tube

#

@wise spade where you want to start

hoary gazelle
#

hey im trying to cast to an actor component from a widget, but what would be in the object portion of it?

dense mantle
#

@hoary gazelle um what is that like in a bind

hoary gazelle
#

I wanna know what to put there since its an actor component

#

and im doing it from a ui widget

dense mantle
#

so what are you trying to cat to this component is what it wants so an actor component base class to the inventory component.... as long as it is an actor component

#

say class A has a child B you could get actors of class A then cast to the child B but not from B to A

#

@hoary gazelle did that help

hoary gazelle
#

Yup just tested it, thanks a bunch!

dense mantle
#

any time

wise spade
#

@dense mantle wdym where do I wanna start

dense mantle
#

@wise spade what do you want to do or know there is so much

#

the more i dig the harder is it to settle on one direction i get lost in daydreams of what could be put with this to make that

wise spade
#

Lol Iโ€™m brand new sooo

dense mantle
#

@wise spade what engine did you install

#

4.24 4.25 or another

modern cove
#

I want to try another idea a dungeon crawler movement system and was wondering if it would be feasible;

What if I made a set of coordinates in my level, then programmed the forward / backward movement like so:

Get current direction (x,y)
Get current location (X,Y)

F(direction):
Up (0,1)
Down (0,-1)
Left (-1,0)
Right (1,0)

proposed new location = current location + direction

If new location doesn't exist or has a wall/blocking volume in the way, don't move / shake screen
Otherwise, move to new proposed location.

Would this be feasible, and would I better served in Blueprints or C++?

neon perch
#

@heady jay I don't know. :(

shy urchin
#

I would like to ask are there any ways to map the hand to the cursor in the world space? Thanks!!

#

this is the bp I'm using now

whole rock
#

@shy urchin keep in mind the vector you're getting from GetMousePositionOnViewport is going to be in camera space, not world space, so you'll probably also need to take the camera coordinates into account. With that blueprint, are you currently getting any movement?

shy urchin
#

Yeah, it works fine, but it's not mapped to the cursor

whole rock
#

@modern cove that looks totally feasible, and should be doable in either blueprints or C++, whichever you're more comfortable with.

shy urchin
#

and also out of bounce if the cursor is too far away from the center of the screen

whole rock
#

@shy urchin OK. Another consideration is that the camera is not isometric, so what Y and Z a given point on the screen maps to depends on the X plane you want those coordinates to be mapped to.

#

I think I'd probably have to see a video of the current behavior to be able to diagnose beyond that, though.

shy urchin
#

@whole rock Okok Thanks for your help!!

whole rock
#

No problem ๐Ÿ‘

#

I actually have a question of my own: I'm trying to replicate the rotating star layer shown at https://youtu.be/SeNM9zBPLCA?t=1133, but I'm having trouble with getting the UVW coords right for the cubemap sampler. I know it needs to depend on both the CameraVector and the SkyAtmosphereLightDirection, but I'm having trouble figuring out the particular way I need to combine them.
I basically want the cubemap to rotate so it looks like it's "attached" to the sun - the sun should always be in the same spot on the cubemap.
I tried using RotateVector, but every possible combination of inputs I've tried on that one have ended up with the stars warping near dawn and dusk so it looks like you're traveling through hyperspace. Not quite the desired effect.

This hands-on presentation by Epic's Sjoerd De Jong explores the Sky Atmosphere system in Unreal Engine. Starting off with the basics, viewers learn how to render a beautiful and fully dynamic sky within seconds. From there, the session showcases how to create alien, dusty, or...

โ–ถ Play video
#

@shy urchin I only see the Unreal Editor window there... when you hit preview, was the game window supposed to show up?

#

Np ๐Ÿ™‚

shy urchin
#

I would like to know how to make the grabbing system correctly as well, now I'm using box collision overlay on the hand and the diamond and using condition to mimic a grab system, but it doesn't work quite right

#

Thanks !!

whole rock
#

Hmm OK... since the hand is moving farther than the mouse cursor, it looks like you need to move the hand away from the camera a bit to make the two match up better.

#

As far as the grab system... what do you want to behave differently?

#

If you want it to only trigger a grab when you first click the mouse blueprint, you should do that triggered off the LeftMouseButton Pressed event, and then do a one-off collision check there to see if you grabbed something

shy urchin
#

@whole rock I want to to be click and disappear by the hand, but now I need to click and hold and collide with the diamond to make it disappear

#

Ohhh didn't thought of that, Thanks a lot!

#

I will try it out later

#

thought I can only do that with the cursor lol

modern solstice
#

Hey, my spring arm isn't aligning up with my camera. Perhaps consequently, adding forces to my pawn isn't moving the camera in-game. Does anyone know how to fix this issue?

gloomy linden
#

@modern solstice seems like you set location and rotation on the camera

#

Reset them to 0 and rotation the springarm instead

#

With the arm length you can set the camera distance to the player (start point of the spring arm)

hazy goblet
#

I made this simple function in a BlueprintFunctionLibrary, is there a builtin blueprint node for this? I didn't find one

// .h
    UFUNCTION(BlueprintPure, meta=(DisplayName = "To Class", CompactNodeTitle = "->"), Category="Utilities|Class")
    static UClass* ToClass(UObject* Object);

// .cpp
UClass* UCommonUtilities::ToClass(UObject* Object)
{
    return Cast<UClass>(Object);
}
deep elbow
#

uh i believe there is get class

#

is that doing anything else

hazy goblet
#

yeah but "get class" gets the class of the object, in my case the object is already the class

deep elbow
#

ah ok i see, neat

gritty elm
simple lantern
#

Hey all, fairly new and can't figure out something simple - I'd like to migrate a parent class of a BP but can't find it. I've searched it's name in the content browser but nothing. Am I misunderstanding how parent classes work?

#

Nvm it was a C++ class and tucked away in the sources panel

#

Now another question, is there a way to migrate a C++ source? I don't see any options to do it

wispy star
#

Greetings!
Where's the best place to ask about CMC MOVE_None?
Is it preventing capsule from movement? or just blocks the input of some sort?

maiden wadi
#

Is there a way to get a Datatable entry by number without resorting to getting the Datatable names and using the number on it to get the name and then using that name to get the correct row? This feels.. stupid.

deep elbow
#

doesn't seem like it, I think data tables behave much nicer in CPP

maiden wadi
#

I just resorted to converting my itemID number to a string, then a name. Since the datatable names are numbered anyhow.

verbal narwhal
#

Can anyone help me once I am facing a problem wt ue4

#

Hi I am facing a problem hlp me pls pray I was creating anim train at weapon animation.In the animation at trail notify state I added particle system and the sockets but after that the effects doesn't showing at animation

stuck fossil
#

Guys, good day, one fine question : is there a way to auto populate an enum? I need to feed an enum (blueprint) with 60 string values , and I dont want it to do it by hand. I am looking and googled and trying, but I have no luke yet! Thanks in advance!

vapid locust
#

What do you mean "auto-populate"? What are the specifics of your use-case, @stuck fossil ?

#

Like if you can algorithmically do it, you can do it at construct

#

ie, can you poll things which determine the endstates?

stuck fossil
#

hey, thanks for response, the thing is , I have an enum with options for the level designer to select, but we jump from 10 items on the enum to nearly 78! so, I want to update that enum but not writing every value .

#

and I was unable to find any function to add values to an enum on blueprint.

vapid locust
#

Adding values live to an enum at runtime?

#

Like, to the total bytecount and stringmap?

stuck fossil
#

in c++ this would be easy as copy paste the values, but in blueprint you have to git the "new"button everytime hehe

#

not at runtime , but in constructor I think, or do it just once for the enumerator be updated .

vapid locust
#

Wouldn't an unordered map be better in this usecase?

#

ie, byte then string?

#

enums create some weird problems when you poll for logic they don't have.

stuck fossil
#

look.. this is the enum, it lets the designer to pick an option. but those options now are more than 60!

vapid locust
#

Right, what I'm saying is

#

Its a poor choice for this usecase.

#

You shouldn't be using an enum for this because enums weren't originally designed to do this.

stuck fossil
#

ooohh!!

vapid locust
#

They can be dynamic in C++, but its kind of a hack

#

And its not considered a good use of them.

stuck fossil
#

and what can be use as a list of values ?

vapid locust
#

You should use a map with a byte as a key, and a string.

#

And then you can execute logic from that based on the name of the string and an interface.

stuck fossil
#

thanks!!!

vapid locust
#

Which is considered how you're supposed to solve this problem in C++, not just BP.

#

np.

stuck fossil
#

I will try that! thanks a lot!

vapid locust
#

Take care, @stuck fossil

stuck fossil
#

have a great day @vapid locust !!

vapid locust
#

Thank-you!

#

Addendum, @stuck fossil - changing enums can result in an entry (say if you remove entry 4) make entry 5 then become entry 4 in some cases, or result in null values.

If you reserve all of your byte values ahead of time that go with your keys, or you always write them in order, removing them from your pseudo-enum is much safer.

You can also skip using switching-logic and by using interfaces, make the calls and responses super super robust.

stuck fossil
#

yeap.. I have those problems with enum but I was unable to find a solution to the "Select from the list" option that I want to give to the designers. Thats why I am using an enum.

#

the thing is how I give that options as a combo list to the designers.

#

without an enum.

vapid locust
#

I mean, what's the scope of the combobox? Is it a UI element during gameplay, or one in the editor?

deep elbow
#

interesting conversation - can I ask about the byte/string map, like isn't that inconvenient to use for the end-user, the nice thing about enums is being able to have a drop down, doesn't the map make that a moot point

stuck fossil
#

nop.. its just a combo list , and instead of having a lot of actors I have only one adapting his view to the option that this combo list show.

vapid locust
#

I mean no, you use the byte to order it.

#

And you do need a drop down menu. Hate to say it but, if you want dynamic ones, you kinda have to make them.

stuck fossil
#

example : if the designer choose Pringles -> that actor would be a pringles product

vapid locust
#

That's -- y'know -- why we can actually run stuff in the editor that we write

#

Even when its using something like a widget.

#

Like, the editor is designed to be extensible.

smoky schooner
#

Hey, I'm trying to create a chess-like board with a variable size. board size is currently set to 8. and the selected mesh is a simple 100x100 tile. for some reason it works in the X direction (putting only 8 squares in each row), but goes to infinity in the X direction. i tried various changes to the script and couldn't find the problem.

vapid locust
#

And you can just use the combobox in the widget or slate and then populate it.

#

Like if you're doing good design tools, they should stand up on their own two feet as neatly made tools anyway.

stuck fossil
#

ohh so that would be editing the editor to make it so? I have to study that option.

vapid locust
#

No no

#

You don't edit the editor

#

You make blueprints which can execute during the editor.

stuck fossil
#

ohhh..

vapid locust
#

Like you can literally make level design tools in the editor out of BP

stuck fossil
#

right!! oh men , this is good, I need to learn how to make that.

deep elbow
#

but you can't make a combobox that appears in the details panel of a blueprint tho, right

vapid locust
stuck fossil
#

thanks!!

vapid locust
#

@deep elbow I mean, you should cut down on new blueprint logic from your designers as much as possible by building robust tools for them or by ensuring that what they build in BP is a prototype for someone else to come along and work on later.

stuck fossil
#

I saw this one!! I will take a look again!! thanks!

deep elbow
#

Right, totally, but sometimes you literally just want an enum of things that are designed to be changed by designers in a level

vapid locust
#

Remember, you can spawn as many actor components as you want and if you want to preserve complex systems generated using those kinds of tools, they're the way to go (eg, the settings of and also a full PID controller, which then can be spawned by another actor component as a common subordinate class)

#

@deep elbow Right, but enums aren't designed in c++ to be edited. Part of good code is being disciplined to not create the things that break the language you're working with. BP has a lot of that discipline hardwired into how it works.

stuck fossil
#

yeap @deep elbow I was doing that until they came up with a list of 78 items! haha , so , I stumble like a horse hahaha

vapid locust
#

Like BP makes a lot of bad code practice actually quite hard to do.

stuck fossil
#

and "they" are my bosses! haha

vapid locust
#

Like beyond keeping it all on timers, using maps instead of arrays wherever possible, adding terminators to for-loops and keeping it off event tick, its very hard to go wrong with blueprints.

#

And usually if you have an array query of some sort involving lots of actors, you're better off skipping the array alltogether and doing your value-challenges with delegates and interfaces. Its so much cheaper.

stuck fossil
#

I am using interfaces a lot in the project

vapid locust
#

Good stuff.

stuck fossil
#

but this thing jump from no problem to A BIG PROBLEM hehe!

deep elbow
#

@vapid locust I'm following you, I put this out as an example, I made a load level function that can be called via level blueprints for our designers, and it uses a look-up to a data table that stores level name, a 'display name' for loading screens, and a background image, and i wanted the designer to be able to simply use a drop-down menu and select the level they wanted to load based on the data table - like try and avoid having lots of maintenance, but there is no way to create a dropdown menu dynamically that can gather row names from a data table and then populate the enum, so I ended up making an enum that was like an intermediary between the two - but that just means doign work twice

stuck fossil
#

well.. i will work on it! thanks a lot @vapid locust !

vapid locust
#

@deep elbow If you want to edit the editor, feel free.

stuck fossil
#

@deep elbow that was my scenario too.

vapid locust
#

If you're smart, you'll put it on the marketplace and then make $$$ so nobody else needs to make one.

deep elbow
#

@vapid locust oh totally, I'm not arguing with you at all, just an interesting topic and I'm not entirely sure of the best solutions ๐Ÿ™‚

vapid locust
#

I mean, its a question of whether you build front to back, or back to front.

#

Enums are an object which in C++ demand high discipline and are meant for switching logic of mutually exclusive behaviours, like building state machines.

#

They aren't "drop-down menus" -- that's just how UE4 depicts them in the editor.

deep elbow
#

Yeah i suppose that's where the confusion comes from

vapid locust
#

you can put a dropdown menu on anything that holds multiple data-types in a naturally ordered or key-ordered list.

#

Yeah.

#

Don't "anthromorphasize" variables and programming concepts based on the skinship you develop with them in the editor because you'll be punished for it later.

#

Like using enums for dynamic dropdowns is the same as trying to make a fishtank out of a phonebox.

#

You can hypothetically do it, but it is really really silly and fish do not need to make phone-calls.

deep elbow
#

Hmmmm

smoky schooner
deep elbow
#

Y input is mod instead of divide?

#

or X input is divide instead of mod

inland merlin
smoky schooner
#

@deep elbow changing any one of them to the other jus gives me a diagonal (though finite) line of tiles

#

2d grid node looks interesting, i'll try look into it. (guess that's what happens when you follow a 6 year old tutorial ๐Ÿ˜„)

inland merlin
#

this would be the simplest way to get a square grid

smoky schooner
#

why do you need two variables? are they different?

inland merlin
#

BoardSideLength is the number of cells (8 for a regular chess grid)

#

GridSize is the size of a cell

#

the distance between each mesh

#

alternate version that does the same thing

#

result:

smoky schooner
#

Nice! thanks a lot!

inland merlin
smoky schooner
#

the first version seems simpler, is there any upside to the second?

inland merlin
#

not really

#

I'd go for the first one

#

I'd even go for Epic's macro

smoky schooner
#

this is so simple it's beautiful ๐Ÿ˜„

#

@inland merlin Works! thanks a lot ๐Ÿ™‚

inland merlin
#

you're welcome ๐Ÿ™‚

smoky schooner
#

now to figure out how to make the checkers pattern ๐Ÿ™‚

verbal narwhal
#

Can anyone help me from a issue of ue4??

bleak vector
#

My pawn isn't accepting input. Even with no input the axis should be constantly outputting "0" right? But it's not doing that and I don't know ๐Ÿค” Is there a way to see if something is possessed

smoky schooner
#

@verbal narwhal that seem to be pretty much what the server is about, though you'd probably get better responses if you simply asked the question ๐Ÿ™‚

trim matrix
#

anyone here like blueprints?

thorny cedar
#

i want to rotate an object based on the xy position of another object

#

for example a pointer i can drag around sth

deep elbow
#

@thorny cedar Find Look At Rotation is a good place to start

thorny cedar
#

ah sry it havn't explained it good enough

#

i want to rotate in one axis

#

wait then i just break the rotator

#

am i right?

deep elbow
#

Yeah should do the trick

thorny cedar
#

to simple . i try to solve it for three days

deep elbow
#

might get odd behaviour because of quaternions but it might be fine depending on how cimplicated the thing is you are doing

thorny cedar
#

yep its just moving something. not accuracy dependend

deep elbow
#

@bleak vector yes it should be outputting, have you selected the input axis event and made sure "consume Input" is checked?

bleak vector
#

I just deleted my gamemode and related classes and started over ๐Ÿ˜Ÿ at least now it works

deep elbow
#

oh well, it's often better the second time around!

high knot
#

this might be a stupid question but is it possible to transform a mesh by units and not scale?

deep elbow
#

what do you mean "units"

high knot
#

like uu or cm or km

deep elbow
#

oh uhhhhh that's a crazy one, i think you'd have to do some math, you could get the bounds of an object, scale that to what you need and then scale the object proportionally based on what you did with the bounds result

#

like scale 1 = 100cm, you want 150cm so multiply by 1.5 kinda vibe

high knot
#

ill try that and see what happens

deep elbow
#

i find that sort of thing can be solved often by making sure your starting object has decent dimensions that can easily be multiplied or divided by 10 or 100 etc

thorny cedar
#

@deep elbow it works. i have another question. can i simply set the old rotation as intial rotationa nd add the new rotation on top, when i move the pointer?

#

atm my object doesnt spin, it just has the same rotation like object i try to find rotation for

deep elbow
#

uhh

#

not entirely sure what you mean @thorny cedar, are you trying to get the object to slowly rotate towards the pointer/cursor?

thorny cedar
#

i want to rotate it maybe 20 degrees and the next time i wann start from there to add 20 additional degress

#

like a dial

#

it snaps back to the orginal find look at rotation :/

zealous moth
#

you can use the "add rotation" node

deep elbow
#

oh, hmm hard to say without seeing or knowing more, perhaps simply finding the look at rotation is not enough

thorny cedar
#

its too tricky for me :/

#

everytime i drag that cube to rotate it snaps back to the same position

#

i cant rotate it 360 degree

deep elbow
#

what does your blueprint look like, and what exactly are you trying to achieve, like the actual gameplay purpose of it

thorny cedar
#

rotating a dial, wheel

#

when drag

deep elbow
#

like a telephone, or a valve? what are you dragging - is it a first person game? does a cursor appear on screen and you click on a 'dial' and drag it to move it?

thorny cedar
#

i know that it always sets the rotation, i tried to overwrite a current rotation value

#

like a phone is exactly what i want

hybrid topaz
#

Hey guys. Is it possible to add a option to download classes in a game?

#

Like downloading maps or guns

deep elbow
#

pretty sur eit is, can't help more than that,s orry ๐Ÿ˜›

hybrid topaz
#

Any reference from where i can start my research

deep elbow
#

I would presume adding DLC

#

there's some decent videos out there for that

thorny cedar
#

i think like i have to add the new rotation on top of the current rotation somehow

deep elbow
#

so kano, you click and hold on a phone dial, and once the interact button is held down you run the OnDrag function. so basically you should be setting the rotation as a variable when running the OnDrag, and then once you release your interact button you can set the rotation of the dial

thorny cedar
#

yeah thats what i try to build.

deep elbow
#

then the rotation will stay where it is once you release interacting, but if its a rotary phone they tend to return to their start rotation once you release

thorny cedar
#

it doenst seem to difficult, but somehow i struggle

jade gull
#

is it possible to spawn actor from class in BPFunction Library Function?

void cobalt
#

here i have a variable component reference from a different blueprint

#

so i can use the variables likes "crit dmg multi" and "base damage" in my weapon bp

#

basically i completely forgot how i did this

#

and hoping someone here knows how to replicate this

#

i want to get the "current ammo" bp into my player controller

#

but i just dont remember how i did it lol

jade gull
#

you'll need a reference to the blueprint that contains it and drag off that with current ammo, or cast to that blueprint and drag off current ammo there

void cobalt
#

wait

#

so how would i do that?

smoky schooner
jade gull
#

the current ammo is in weapon blueprint?

void cobalt
#

no current ammo is a different blueprint

#

no its a blueprint class actually

#

base ammo*

#

so my "base ammo" is a "blueprint class"

jade gull
#

and thats where the "Current Ammo" variable you wanted is?

void cobalt
#

sry that was my bad for confusing

#

"current ammo" is "base ammo"

#

thats the blueprint class

#

and like in my first screenshot

#

oh wait hold on

#

im confusing myself now lol

jade gull
#

i think you just made a variable of that class type then

void cobalt
#

yeah wait i think i figured it out lol

jade gull
#

but if you have more than one in operation you'll have to save the reference of which one you want to be modified

void cobalt
#

yeah i got it

#

thanks hah

jade gull
#

Nice ^^

void cobalt
#

oh fuck

jade gull
#

anyone got experience with creating minecrafty style procedural map chunks?

void cobalt
#

i think my unreal crashed

#

what did i do

#

nvm we good

#

๐Ÿ˜ณ

jade gull
#

lol

void cobalt
jade gull
#

it says one of the checks came back with no reference

void cobalt
#

and i just plugged in float variable "firerate" which is set to 0.1 into the time in "set timer by event"

#

it should work

#

cuz all im doing is putting a number in

#

but it doesnt work

jade gull
#

it was the "CurrentAmmo" variable that returned no reference

void cobalt
#

does that mean it didnt get the number from the other bp?

#

why would that happen

#

so it should work

jade gull
#

Does "Base Ammo" spawn in with you?

#

or is just in the level?

void cobalt
#

um im not sure

jade gull
#

cause if its spawning in with you i think you'll need to get the reference of that specific one to get the numbers through

void cobalt
#

thing is it works with other things

#

in my first screen shot i referenced crit chance and damage multiplier from that same current ammo

#

and it works great

#

but it doesnt let me do it here?

dense mantle
#

@void cobalt hi man

void cobalt
#

hi

#

do you think u can help me figure out why this isnt working?

jade gull
#

sorry i'm not more help, still pretty new

inland merlin
high knot
#

ok so i keep getting a log warning " applying invalid scale"

void cobalt
inland merlin
#

It means property is set as replicated (network feature)

#

are you working on a networked game?

void cobalt
#

uhhh idk what that means

#

so probably not?

inland merlin
#

did you create this blueprint? Or is from the marketplace?

void cobalt
#

i created it

inland merlin
#

anyway that's not what's giving you the error

void cobalt
#

yeah its not

#

its aparently not reading the float

#

which is definitely there

inland merlin
#

you need to set the reference for CurrentAmmo

void cobalt
#

how do i do that

inland merlin
void cobalt
#

ive seen this before

#

but this doesnt make sense

#

bcuz ive done exactly the same thing before and it worked

#

but now it doesnt work?

inland merlin
#

well it's showing exactly what you must be doing wrong

void cobalt
#

all im doing is gettin a float from a variable in a bp class

#

can i only do it between 2 bps?

#

not more?

jade gull
#

Sly, if i may quickly ask, how do you get those arrows on your blueprint node connections? ๐Ÿ˜ฎ

inland merlin
#

@jade gull Editor Preferences -> Graph Editor -> Set "Draw midpoint arrows in blueprints" to True

void cobalt
#

but then how come i didnt have to do this here? its essentially the same thing and i didnt get any errors

jade gull
#

Thank you Very Much :3

inland merlin
#

@void cobalt in order to properly help you I'll need an explanation of your setup as well as an overview of the event graph

#

@high knot Can I see the maths that lead to this error?

high knot
void cobalt
inland merlin
#

are you using this as the scale of your actor? that's a pretty big value thinkin3d

high knot
#

yeah

void cobalt
#

as you can see i have the variable component of current ammo, which has all the float values for the guns like, firerate, damage and stuff

#

and im trying to plug the firerate into time and it doesnt work

inland merlin
#

@void cobalt May I see the Components window in the top left corner of the blueprint?

#

@high knot Can you explain to me the reasoning behind using such a value for the scale? :p

void cobalt
#

(my bad i sent wrong bp originally)

inland merlin
void cobalt
#

no

#

i didnt need to do it in the critical strike calculation

inland merlin
#

Then you should definitely read the documentation I've send you. The Variable CurrentAmmo you're using is a reference to an instance of a blueprint, is order for it to give any useful information the target blueprint needs to be instanced (aka spawned in the level for an actor) then the reference needs to be set

brave nexus
#

How would I make a bullet in UE4 interact with a physics object so it would knock it over?

high knot
#

im making a procedural generating solar system to scale , this is the math formula for calculating the sun size .

inland merlin
#

@brave nexus look at the fps example, it has just that

smoky schooner
#

@inland merlin awesome, thanks ๐Ÿ™‚

brave nexus
#

@inland merlin It is in an already existing bp, I've set the collision to block all but it doesn't want to knock something over.

inland merlin
#

why do people always refuse to study Epic's example? PanGCry

#

@brave nexus the object that should be knocked over, does it has Simulate Physics set to True?

clever cedar
#

Hi, anyone here familiar with navigation? I have generated a path with Find Path To Location Synchronously but I don't know what to do with the path that is returned. How to I tell my character to follow the path?

brave nexus
#

@inland merlin Yes the object has physics enabled and I did see the epic example but it does not work for me

inland merlin
#

@clever cedar Why not calling AiMoveTo directly?

brave nexus
clever cedar
#

I need to modify and validate the path

inland merlin
#

in which blueprint is this piece of blueprint located?

brave nexus
#

In the bullet BP

inland merlin
#

@brave nexus where did you set the reference to Static Mesh?

brave nexus
#

I dragged it from the components tab

inland merlin
#

so this is the static mesh from the bullet?

#

not the one you're hitting?

#

@clever cedar I'm pretty sure you can't do that in blueprint, depending on what you're trying to do you could extract the points from the path you've computed and ask the AI to move to the next point, each time you've reached this point you ask it to move for the next one.

brave nexus
#

@inland merlin yes

#

It is my Bullet that gets fired. The system I quite complecated maybe I should add it to the server hit instead of the bullet itself?

inland merlin
#

@brave nexus on a networked game you should only apply forces on the server. Collisions if set up correctly should handle the physics automatically but the server has to handle this

#

So you would apply an impulse to propel the bullet when spawning it (on the server) and when the bullet hit something you should apply a force to this object on the server's hit event

clever cedar
#

I'm trying to move a group of characters in a square grid formation. I can have each character move to the calculated target, but then they could potentially get split up. I'd like to generate a single path for the group and have each character use that path. Well, maybe a modified path to make sure it is not in a wall or something. Is there a better way to do this?

void cobalt
visual fern
#

@jade gull Editor Preferences -> Graph Editor -> Set "Draw midpoint arrows in blueprints" to True
@inland merlin Since I was also interested in that, I just want to correct that it's in the Blueprint Editor, not Graph Editor, might save a few seconds/minutes searching ... ( But still an awesome tip, thanks for that ! )

hoary gazelle
#

Ive been researching a lot of inventory systems but they all are too different from what I'm trying to accomplish and nothing seems to hit home close enough to the rpg feel that I'm going for.

Im looking for an inventory system that separates each item by a type, so when I open the inventory, the items will be separated into different pockets depending on what type it is, and to be able to stack certain items to a certain point.
I can figure out how to actually make the items usable later, I just want to get the foundation done.

elfin hazel
#

@hoary gazelle If your inventory is an array, and each member of the array is an Item Slot. An Item Slot is an Object with an array of type Item. You can then, when adding an item to the inventory, search for a slot that already has that kind of item in it. The Item could hold a max stack value, so that it knows how big of a stack it can be in. If none exists, add to the first empty slot to start a new stack of that item type.

zealous moth
#

or he could... you know... use a struct

#

@jagged cape are you using a point and click top down movement or input based?

jagged cape
#

input based

zealous moth
#

if it is input based, instead of tick, I'd use your input

#

otherwise even on non-input frames, you are using cpu to check for nothing

#

additionally, continuously inputting at 0 stamina will still yield stamina regen and running

#

there is no cooldown set at 0

#

you know what i mean?

jagged cape
#

got some of it, im still quite new sorry lol

#

i used tick so if a particular variable changes, i can get it to abort what it is doing

zealous moth
#

tick works on every single frame, do you really need it to work all the time?

jagged cape
#

not really, so should i put a branch after the event tick that only succeeds when i input?

zealous moth
#

you said you use inputs, are you using axis or WASD inputs?

jagged cape
#

wasd

zealous moth
#

if so, you can use those as values to do whatever

#

so if your WS is != 0, branch , do this or that

#

same for AD

jagged cape
#

aaah i see, and what about the delay when stamina hits 0 before regen

zealous moth
#

try sprinting, you will never stop sprinting

#

even when it hits 0

jagged cape
#

also would i be better off using set event by timer nodes instead of setting it up with event tick?

deep elbow
#

timer nodes are decent because you can only run stuff when it's actually needed by pausing and unpausing the timer, will save some overhead

#

i would also caution the sequence node because that doesn't care about what's beyond it's exec pin - it fires all the pins in order but doesn't wait for any logic to be completed before moving to the next

neon perch
#

Interesting, I thought it executes the next pin only when all the nodes in the first were executed

deep elbow
#

no it doesn't care at all

#

if you use a breakpoint it might appear to but when doing order-critical stuff it can get out of whack

#

nothing wrong with that but when you use the first pin to set a variable that the second pin is relying on there's a chance the order will not be correct, tbh it's trivial but good to know

neon perch
#

Yeah it is good to know

modern cove
#

I know my character won't walk through walls as it is, but is there a node that will check if a path between 2 locations has a wall in the way? I want it such that movement stays on a grid so there will be some space between player and wall. Ie: if there's a wall in the way, don't move at all (as opposed to walking up the wall). To present certain events properly I need to keep the view in the center when walking in a corridor

deep elbow
#

you could use collision volumes

neon perch
#

If it's between 2 known locations can't it be just a single raycast?

#

line trace I mean

crude timber
#

Hey everyone ! How can I change the Play Rate of the current Sequence using blueprints ?
I'm trying to give controls over the sequence on my gamepad, so far I managed to Pause/Go To Start Frame/Go To End Frame.
But I want to be able to accelerate forward or backward the play rate using the triggers.

#

The only blueprints about play rate I've found are about animations

pliant lantern
#

Can anybody help me with this? I am relatively new to Unreal but have been programming in Unity for a few years. For the life of me, I cannot seem to solve this issue. All I am trying to do is open a new level when the player collides with a trigger box. I have looked at so many tutorials and references and they all do the same thing and work the same. I have seen others with the same issue (but not many) and any fixes proposed to them don't work for me. When I run this code and collide with the trigger, I get an error saying "previously active world not cleaned up by garbage collection" and then Unreal crashes. Has anybody experienced this before? And if so, what is the fix?

dapper kiln
#

Is there a way to perform overlap events with world static objects such as walls and floors?

#

For example, I have a sphere collision attached to my weapon, I want it to overlap walls when I get close to them but the overlap event never triggers

maiden wadi
#

@pliant lantern The only thing I can find on this is that for some reason you have stuff that's not being cleaned up properly. Supposedly someone fixed it by doing a "GetAllActorsOfClass" and destroying them all in a loop. This feels odd though and that was a very old post from engine version 4.6. I'd recommend verifying your engine. If it persists, I'd try to recreate it in a new project. If it still happens, bug report it.

ruby pollen
#

Hi, does anyone know if there is a way of getting the classes of the components added in blueprint from the CDO?

pliant lantern
#

@maiden wadi Thanks for the advice! I've actually tried the get all actors of class and destroying them method but that failed as well. I'll try verifying the engine though and see if that helps

maiden wadi
#

@ruby pollen I may be wrong on this, but I believe that in blueprint, the only thing you can get from a class without spawning it is it's default UPROPERTY variables..

shy urchin
#

Need some help!!๐Ÿ™ I would like to ask how to set a Boolean in another blue print. Thanks!

maiden wadi
#

@shy urchin You need a reference to the other blueprint.

shy urchin
#

I want to make the actor in the 1st pic to be destroyed when the I triggered the fire event, other any other ways to make this system

#

?

#

@maiden wadi Thanks! But I don't know how to make that reference ๐Ÿ˜ญ

maiden wadi
#

You're using a BoxOverlap on left click it looks like. Just drag out from the blue box on the right of that and do a for each loop. Cast to the type of actor on the top screenshot, if successful, use that casted reference to set the boolean. I think that'll get you what you want.

lusty pebble
#

Hey, Does anyone have a good implementation for OnPossess pawn? Been looking around a bit. And so far only found documentation on a Restart() function only available to c++ it seems.

modern cove
#

rick and ChrisCorr mentioned collision volumes and single line trace / raycast; would either of those help with what I'm trying to make (grid movement that checks for walls before moving). I guess you could say I want "thin walls" in some cases; where points (5,6) and (5,7) exist but player can't go to from (5,6) to (5,7) in 1 move.

maiden wadi
#

@lusty pebble Like an event that fires when a pawn is possessed?

lusty pebble
#

Yes!

shy urchin
#

@maiden wadi Thanks! I'll try that

maiden wadi
lusty pebble
#

Omg I feel like an idiot. The function was implemented already. Just got the neat prefix of Event Possessed. Thanks a lot! ๐Ÿ™

maiden wadi
#

There's also one for the controller as well, when it possesses a pawn.

lusty pebble
#

Yeah, that might be even better. Thanks again! ๐Ÿ™‚

shy urchin
maiden wadi
#

Is Diamond_BP an Actor or an ActorComponent?

shy urchin
#

Actor

maiden wadi
#

You'll need to change your boxoverlap then. You're looking for Components at the moment.

shy urchin
#

I tried using "Get All Actor from Class" but it destroy all the diamonds that is spawned

maiden wadi
shy urchin
#

ok!

maiden wadi
#

Also, that's a fair point, the cast is not necessary if you're specifying the class type in the BoxOverlapActors. You should be able to just foreachloop and set the variable.

shy urchin
#

One silly question ๐Ÿ˜› Does the Event Hit or Left Mouse Button work on the Diamond_BP(Actor) Blueprint? Thanks! I tried that and it never responds

#

@maiden wadi got it

maiden wadi
#

All depends on your collision settings.

shy urchin
#

Event Fire** Sorry

velvet tapir
#

I am using flipbooks that change based on direction the character is moving to determine which animation to play (2d pixel characters). The setup I have works correctly for the player, but when I try to use it for an NPC it only plays a single direction's flipbook. Any ideas why that would be?

maiden wadi
#

@shy urchin The way your event fire is set up, you'd need them to at least be overlappable, EventHit requires blocking hits.

shy urchin
#

I see, thanks!

lusty pebble
#

@shy urchin It would prpbably be easier to add a collision shape to your hand and filter it with GetOverlappingActors

split crescent
#

How do I move to an actor and then run a function once I'm in range?

lusty pebble
shy urchin
#

@maiden wadi Sorry for asking again ๐Ÿ˜ฃ But what should the "target" in the last node be connected to? Thanks a lot!

#

@lusty pebble Thanks! I will try that

maiden wadi
#

The Array Element should work for it. I think it's casted already from the BoxOverlap node.

#

@split crescent You're going to need to be a lot more specific about what you're trying to do? What defines 'you'? What character/pawn type, how are you inputting the movement?

split crescent
#

A top down Character using a player controller for input with click to move.

maiden wadi
#

You'd probably need to get a reference to the clicked actor at the time of movement call. Then on tick, do a simple distance check. If Distance < desired amount, run function.

rotund basalt
#

I'll make a petition soon to end node stacking once and for all

split crescent
#

Thanks Authaer ๐Ÿ™‚

shut hinge
#

ok how do I only increase EXP value when only moving the player in the game ?

ancient heath
#

I'm working on a 3d map/minimap for my project. Within my map blueprint, I have a scene component with bunch of separate static meshes

#

Can I somehow make an array or a map instead of current method so I can refer to them using index values? Last time I tried to put a blueprint within a blueprint, I recall not being able to set default value for child blueprint. What's the correct approach here?

shut hinge
#

i think you need to set the values that need updating in the child but not in the parent. That's why I had to put my kill enemy counter in the child and not in the parent otherwise it would not update because of the parernt inheritance ovveriding the children, there might be a way to bypass the parent, maybe override function.

#

you might just need to turn your sm_minimap into an array variable and jut put all those minimaps in the array list.

ancient heath
#

so like a structure where one of the variables is static mesh?

#

each would have it's own location and a few bools I need. And a static mesh

#

if that worked, it'd be great

#

but I have no idea how to render a static mesh that's referenced by a variable

#

in given blueprint

shut hinge
#

you mean that's in the 3d world ?

#

for that you have to click on the mesh that's in the world, then goto level blueprints so you can get the reference to it.

ancient heath
#

no, I mean at the moment i have bunch of meshes in the blueprint, I can see them in the viewport, pretty simple stuff

#

but if I make an array

#

instead

#

how do I work with that

shut hinge
#

what are you wanting to do with the meshes

ancient heath
#

I need them on specified positions

#

and I need some of them to be visible only, based on a bunch of bools that change during playtime

#

I have it all set up but for the next thing I need to refer to them as an array

#

let's say I create one new variable

#

make it a static mesh type

#

point it to some rock mesh or whatever

#

how do I get it to show up next to those cubes?

shut hinge
#

if you want to spawn it into the world, spawn actor from class node should do it.

#

if the static mesh is in an actor bp that is.

ancient heath
#

I just want it spawned as a child of that Scene component within this blueprint. I feel like I suck at explaining this. Sorry if that's the case

#

this pretty much returns me an array I need. Though I need to cast the items in it to StaticMeshComponent

#

I'd like to know if I could make an array like this as a variable rather than placing the meshes manually and spawn them from that

stiff drum
#

Hiya! Is there any way to add data to an event at the point when you bind it to a function? I want to bind an onClick however I need to pass some values to be passed to the function it is calling.

ancient heath
#

@shut hinge thanks for your time

shut hinge
#

ok

true valve
#

Is there a way to create for loop loop delayed with break?

shut hinge
#

for loop with delayed break I use a macro.

true valve
#

How do you break it? I use if node to ignore the process in it

shut hinge
#

hold on

true valve
#

but loop still runs

shut hinge
#

I used a delay macro loop for my old dialog system.

elfin hazel
#

@stiff drum You could make your own on clicked dispatcher with the data you need that you bind to. The On clicked event just calls that dispatcher.

stiff drum
#

Hi Robin, I ended up doing something similar, (I just created a custom event with the data I needed). I would have been nice if there was a "cleaner" way of doing it but this works so its all good. Thanks for the advice.

elfin hazel
#

Yeah, the only cleaner way is to edit the source code.

stiff drum
#

Haha, that is something that I am not willing to do XD.

shut hinge
#

is it really necessary to have C++ with the blueprints ? The blueprints are rather slow.

stiff drum
#

Its my understanding that you don't need to have C++ - but blueprint are slower than C++ so if you want the most efficiency then you can port the slowest parts to C++. It really depends on what you are doing tho, you may be able to optimize you BP code to be fast enough - as BP is fast enough for most things.

shut hinge
#

I'm doing what most people would call a nightmare,
a 10 member party rpg sci fi game.... But its not easy to get all the game components to work together Like I can put in the melee sword system, and then the bow and arrow system, and find my engine is lost half its speed. I did a test by deleting all the sword and melee combat system out of my player and sure enough the engine speed up greatly.

tight schooner
#

You're sure it's BP-related slowdown?

#

Not graphics or physics I mean

#

BP is reasonably performant if you're not executing 10,000 nodes each frame or moving actors with boatloads of components

shut hinge
#

No this was when I hardly had any thing in my level just third person template and I just put in the weapon sword system in my player and the bow & arrow system I noticed a significant slowdown, even though I had alot of interfances for the weapon system.

I realized that all the blueprint logic was costing the engine speed. So the more nodes I had the slower things would run.

static goblet
#

anyone have experience with the pano capture plugin?

shut hinge
#

the only components that I was moving was the sword and weapons in and out of the players hands. .... Switching weapons is a nightmare, especially if you have more than 2 weapons, so many wires.....

ancient heath
#

that task awaits me at some point in my project

#

is it really that bad

#

well mine will probably be simplified compared to yours anyway

faint pasture
#

@shut hinge There's definetly something fucky with your setup then. I've been running tire physics models on tick on bp and had no slowdown.

shut hinge
#

what is the mimimum video memory you need to run unreal engine on ?

plush ridge
#

I'm trying to run GlobalTimeDilation changes alongside CustomTimeDilation changes so that the world slows down, but one actor in particular (which is physics-based) does not slow down. But setting these separately doesn't seem to work and the whole world slows down, including my actor

tight venture
#

Question:

Does destroying an actor (within some overlap bounds) cause EventEndOverlap to occur?

stiff drum
#

Off the top of my head, the begin and end overlap events do get triggered correctly when actors are created / destroyed.

tight venture
#

So... no, it does not?

stiff drum
#

As in, yes if you destroy an actor with a collider that overlaps over actors, then those other actors will have the EndOverlap event called on them

tight venture
#

It just won't cause the end overlap to be triggered for the destroyed actor... (obviously)

#

Okay, that makes sense. Thanks @stiff drum

static charm
#

@shut hinge the editor or the game? editor you probably want at least 512mb, might work with 256mb. packaged game depends on whats in the final game.