Announcement

Collapse
No announcement yet.

get class from actor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Ah you need a 'class cast' - that is added in 4.1!
    Click image for larger version

Name:	casttoactor.png
Views:	1
Size:	31.0 KB
ID:	1050223
    Lead Programmer - UE4 Animation/Physics/Audio Team - Epic Games
    Twitter: @EpicJamesG

    Comment


      #17
      yeah i read that about 4.1

      until 4.1 i wil try something like say Eddy71. thx.
      pd: excuse my english.

      lfw/paid modeling, painting, texturing.

      Comment


        #18
        finnally what i do (more easy) since i still with problems for got a f*cking Class'actor' was

        Hit Actor -> Get Display Name -> var

        And have a banch for compare the strings and have a spawn actor class with the class already setting for each actor spawn.

        more easy than i think in first momment... the problem i need "Spawn actor class" all that stuff for each actor wants spawn.

        but well now i can spawn the Hit Actor. i must forget the other procedure before !!!

        thx guys.
        Last edited by knack; 04-24-2014, 08:38 AM.
        pd: excuse my english.

        lfw/paid modeling, painting, texturing.

        Comment


          #19
          "Get Display Name" is for display purpose. It is not safe to use in your case and can introduce bugs with engine updates.

          Rather replace with the "Class Cast" when 4.1 will be available.

          Comment


            #20
            i will do. just want something that work now for continue with other things.
            pd: excuse my english.

            lfw/paid modeling, painting, texturing.

            Comment


              #21
              my hell finish 4.1 its out!
              pd: excuse my english.

              lfw/paid modeling, painting, texturing.

              Comment

              Working...
              X