Actor spawn in random place in direction to the center?

CabacoCabaco Member Posts: 414
edited November -1 in Working with GS (Mac)
Ok so I already made actors spawn in random places but now I want them to when spawning, their direction has to pass in the center, HOW?

Comments

  • hackmodfordhackmodford Member Posts: 48
    Use the vector to angle (special expression thing)

    Then you can just input the

    vectortoangle(actors X - Center X, acotrs Y - Center Y)

    That should point them towards the center I think...

    Or you can just have them accel, or move to an X and Y position (plug in the center's X Y)

    make sense?
  • CabacoCabaco Member Posts: 414
    Thanks I will try that out!
  • CabacoCabaco Member Posts: 414
    Another problem, how can I choose to an actor spawn or in the -10 position from width or in 330 all in landscape?
  • CabacoCabaco Member Posts: 414
    Please help, I still cant do the spawn in direction to the center any help?
Sign In or Register to comment.