How to list contents of Object Reference

hi i have an object in my blueprint, and i’m ready to reference it

i looked in at least four or five different tangental thoughts of what that might be called
none of the keywords i was using seemed like unreal would use them honestly
real keywords though

so - how do i get at the guts of this object? the assumption would be that there is no knowledge of the contents

If you know the object type, you cast it to the correct type. Casting in Blueprints:

The above does not explain inheritance but OOP is at the core of most programming langues, easy to find.


If the goal is to communicate with many unrelated classes in a similar manner, then you implement an interface:

What class is your object? In what class are you trying to access it’s contents? What class is the variable, that holds the reference for your class (is it that specific class, or parent?).
Your question is really vague, it’s hard to understand, what you mean and what you want.

If I were to answer your question directly, then it would be: Left click drag from the blue colored pin and search for contents you need. You can also find it in the categories manually.

little bit past what i was going for but thanks. definitely will need that later so ill keep that in mind.

fyi its literally just a spotlight, and i am trying to get at the freakin numbers in it without using unreal’s brain-dead sliders, so i’m literally trying to do nothing other than make a new slider that works, for the same number(s)

Not sure what the issue is. Consider demonstrating with an image if in doubt.

Accessing object’s components when you know the type is generally just this, as TRI99ER_ mentioned.

hey - ok so the light attentuation is one that is pretty important so,

i think its on a range of like, oh yeh it seems like it really only goes to 1000
so if you drag their slider it looks! like its kinda set for 100

so you’re 10:1 on movements with the slider, so if you want aaaaaaaanything between 600 and 700
say

well you’re out of luck
youd have to set by hand, over and over and over and over and over

so here i have made a variable, to fix it, and i set it to only go 700-800 or something
now when i slide that slider, after its compiled, its based on 100 so it more or less works
(id go better than that honestly)

i just need to get the number in my variable “shortcut to the working slider” into the number that is already there for attenuation

yeh i thought id do a “set” and this would be easy, i was typing it up in the middle of doing it

oh yeh. theres no “set”. sigh.
i can drag my fix in, and it will set up the set box. but you cant drag attentuation in because its c++.

i tried to change the set box to attenuation but that just did some wiring or something

again, looking for documentation on how to set a variable and there is none.

im telling you man, no one has made a game with this system man, they did not document it at all.
and yeh theres 100,000 pages of documentation up there and half of them are wrong.
its called “not a (proper) job”

bows to the people downvoting my question.

man when i get infinitely precise faders you’re going to cry ha ha ha
hope they never look at this post again (or theyre stalkers!)

oh yeh. theres no “set”. sigh

Also, at defaults the attenuation goes from 8-16384.

im telling you man, no one has made a
game with this system man, they did
not document it at all. and yeh theres
100,000 pages of documentation up
there and half of them are wrong. its
called “not a (proper) job”

You couldn’t possibly be more wrong.

yeh im going over this and the issue with the camera display screen, cut back to this because i found something.

SO - the answer i was looking to originally in this thread is “TYPE SET THEN THE STUFF AFTER IT YOU WANT”

literally.

no no its cool i needed people pointing at things to get to that, so yeh now i got to that (with your help).

literally just needed to know to type set space then variable names etc

OK so the problem now is , i can! do this in the imported c++ class, inside of unreal.
however, it requires a compile in order to update, so i can’t use the slider there.

im pretty sure im on to the solution, but i think im going to need to boost the slider into the actual game where its siting by the light icon, and then control it from there.
sigh.

oh, and ubisoft is your model right?

worst company ever, i dont think they even make games now i think they just repackage the exact same thing?
literally the 1 programmer they had died or something

ps i should probably stop talking about this now, because it does look like itll be something that can be sold on marketplace for $100, possibility of like, 20 sales i’d say

looks like about 3000 people into this maybe maybe, 300 actively, then like i dunno
20
then like no one made a game yet.
they dont get if you want to be a computer programmer you have to go to art school
the artist cant do it the programmer cant do it, you have to train to be a producer
production coordinator, as a second term
executive producer ultimately, the #1 artist tech

OK so the problem now is , i can! do
this in the imported c++ class, inside
of unreal. however, it requires a
compile in order to update, so i can’t
use the slider there.

Haha. What, in the name of the old gaming gods, are you even talking about?! What is this nonsense?


oh, and ubisoft is your model right?

worst company ever, i dont think they
even make games now i think they just
repackage the exact same thing?
literally the 1 programmer they had
died or something

Their studios released / published 30+ games in the last 2 years and have 10 buns in the oven as of now. Why are you even mentioning this company; hope you’re not mixing up a game company with a game engine…

what? are we laughing about hidden jokes now?

let me list again maybe we’re getting off subject, because the solution i was going to go into will not work in the end. it requires fixing the lights in-game, so that is a bust.

  1. there is no documentation on the sliders in the panels in unreal engine (ive just been over everything they have in the area of their user interface but its all stabs to the left and right its not coordinated in any way, its more use-purpose oriented which is nothing that a general audience would be able to use. for example, it worked so well they dont even explain anything in the panels)
  2. as i said, i did testing and the sliders are based on a scale of 0-100 so they slide at about 1.3 or something silly like that or .8 in the other way, but they do work if its just 100 numbers in a float. does this make you laugh this isnt a hidden joke?
  3. i really have no choice other than to use the slider for 100 on a dataset of 1000, so i went into the spotlight object, which can only be done if you import it from c++ and set it up as a child of the original class. so my spotlight object is a child of the original spotlight and i can load the entire blueprint up and work directly in it.

and yes, while im re-reading it, i need to put in a better zoomed screenshot of the slider inside the blueprint EDITOR. its just for variables its not for the internals

ok so you can see here, its a variable. i added one.
then two, after i set the min max, i can compile it.
then on the right there is a new slider.

wont work at this level i have to back out 1 inception and then see if it shows up there

yeh i did the inception thing its still not working. i can access it in the outer panel, but the setup that i did in the event dialog, unless theres no events going because its not in game play. ffs.

is there an “on panel update” sigh i guess i have to look into that.

Custom variable with a slider snapping to 10:

Image from Gyazo

oh hell you have to link to the construction script LMAO nice one nice one.
no seriously im applauding at you, you did it. me, lmao. skipped that part oops.

i dont like tracking 10 things at a time because i get stuck on 1, then 2, then 3,
i might have 5 right now but i dont like it. ill figure it out without proper documentation.
or seo. do i sound smarter if i say unreal docs dont have seo.

you do know you can make a kit and sell this for $100 on the marketplace right