x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

can i set the intensity/attenuation radius of a spotlight in a blueprint ?

Hi,

I can get but not set the intensity and attenuation radius of a spotlight (component) in a blueprint.

I can set other light properties (inner/outer cone, source radius and so on), but i get no contextual proposition for setting neither intensity nor attenuation radius.

Am i missing something ?

Thanks

Cedric

Product Version: Not Selected
Tags:
more ▼

asked May 25 '14 at 11:03 AM in Blueprint Scripting

avatar image

uced
870 75 93 363

avatar image [Epic] Gribbs ♦♦ STAFF Jun 03 '14 at 03:28 PM

Hi uced,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

avatar image uced Jun 03 '14 at 03:44 PM

Hi Sean,

Technically, it's still a question, but as i was given a workaround (playing with distance/intensity instead of attenuation radius), no problem to mark it solved.

I would respectfully suggest two things:

  • renaming "set brightness" into "set intensity", to have a coherent vocabulary in different contexts

  • in case it is possible to set the attenuation radius (which i still don't know), making it appear as "set attenuation radius", so it can be found easily

All the best !

Cedric

avatar image skeleton60 Jun 04 '14 at 08:08 PM

Anyone found this hidden function to set the attenuation radius of a light in BP ? :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The 'Intensity' of a spot light can be set with the 'Set Brightness' function. (see image). I'm not sure about the attenuation radius, but the way I'd go about finding it out is dragging a node from the SpotLight instance and search for 'set'. alt text

I hope that helps. :) Cheers.

img_spotlight.png (163.6 kB)
more ▼

answered May 25 '14 at 02:46 PM

avatar image

DanZaidan
220 17 15 23

avatar image uced May 25 '14 at 03:11 PM

Thank you very much DanZaidan !

It more than helps, it answers the question :-)

I guess i'm going to have to try all those mysterious 'set's, maybe that radius is hidden somewhere with a fake name^^

Cheers !

Cedric

avatar image DJMidKnight May 27 '14 at 08:33 PM

Attenuation radius should be in the details of the component window of a blueprint where you have that as a component.

Are you trying to adjust this during runtime in the blueprint?

avatar image uced May 27 '14 at 08:43 PM

Hi, Exactly: no problem for finding it in the component window, but i would like to access it from a graph ("construction script" or "event graph"). Thanks Cedric

avatar image DJMidKnight May 27 '14 at 09:15 PM

You can get the attenuation radius from the light by placing a GET node of the light component then dragging off it enter ATTENUATION.

avatar image uced May 27 '14 at 09:51 PM

Thanks for your answer.

My problem is that i can get it, but i can't set it. When i type "attenuation", i am only proposed a "get attenuation radius", but no "set attenuation radius".

avatar image TheJamsh Aug 21 '14 at 01:43 PM

Using 'Set Brightness' does NOT change Intensity. This is an oversight on Epic's behalf when Brightness was renamed (not entirely sure why that had to be done).

avatar image TJ V ♦♦ STAFF Aug 21 '14 at 05:33 PM

Hi TheJamsh,

Using the Set Brightness node in blueprints does change the lights Intensity. You won't see the values change in the editor. What are you experiencing?

avatar image TJ V ♦♦ STAFF Sep 08 '14 at 07:10 PM

Hi TheJamsh,

We haven't heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you still have questions about this, please feel free to post back here.

Thanks, TJ

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question