Announcement

Collapse
No announcement yet.

How do I access selected actor in editor when using custom brush builder?

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

    How do I access selected actor in editor when using custom brush builder?

    Chosker or anyone who might know the answer,

    I created a custom brush builder class that's working perfectly. It spawns an actor, currently at vect(0,0,0). I would like it to spawn that actor at the location of whatever is selected in the editor. Any idea how I would access that information?

    Thanks for any information you can give me.
    Check out Himeko Sutori, the upcoming tactical RPG where you control armies of over 100 unique characters.

    #2
    I never could find a way to get the editor selection in UDK with the brush builder. I know it exists but only under the cpp layer and as far as I could tell there's no unrealscript function that will interact with it

    best I could do was check an actor's layer. perhaps you can fiddle with that to do what you need
    Follow me on Twitter!
    Developer of Elium - Prison Escape

    Comment


      #3
      I was looking for that too, but I didn't found anyting. The only thing, similar to the layer as Chosker said, was to use some special tag and search it in all actors in the brush code.
      Provisional blog: http://cobaltudk.blogspot.com.es/
      Videos: https://www.youtube.com/user/cobaltudk
      Facebook: https://www.facebook.com/babylonprojectgame/

      Comment

      Working...
      X