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"

How can i cast a public camera actor variable to other blueprint?

i have been trying to make a survival horror game with static cameras and third person camera and i managed to activate the static ones when the player goes into a trigger on scene, "cam" is the public camera actor variable to use this same blueprint for all of them i also can activate the third person camera with right click but the problem is that when it is released, how can i make the cast work to make it go back to the static camera of the trigger that the player is into? alt text This is the blueprint where it goes to static cameras

alt text this is my third person character blueprint

Product Version: UE 4.15
Tags:
er.png (194.0 kB)
ty.png (257.1 kB)
more ▼

asked Apr 12 '17 at 06:33 PM in Blueprint Scripting

avatar image

kevinm01
1 1 1 1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

To cast successfully you need a valid reference. You can feed the cam reference into your player after an overlap to use for the cast.

Check out my other answer for more info:

https://answers.unrealengine.com/questions/585986/global-variables-variables-with-scope.html

more ▼

answered Apr 12 '17 at 11:44 PM

avatar image

vanlacke
1.5k 65 132 103

avatar image Étiboogi Apr 07 '19 at 05:47 PM

Omg , I never thought I could do it,but I finally found , thank you for leading me.![alt text][1]

how i solved: [1]: /storage/temp/273589-yessboy.png

yessboy.png (435.5 kB)
(comments are locked)
10|2000 characters needed characters left
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