Spawn Actor to Position: Random?

NaweeNawee Member Posts: 7
edited November -1 in Working with GS (Mac)
Is it possible to do this?
Any help is appreciated.
Thanks

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Nawee, that's no prob; in your Spawn Actor Behaviour, put random(min,max) in the "x" field, being your minimum and maximum accepted positions along the x axis, the same in the "y" field, replacing the min,max with your y limits.

    :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • debugdesigndebugdesign Member Posts: 886
    yes, when in the spawn actor bubble

    in the position -> click the 'e' and in the second dropdown (next to insert function) select 'random'

    In the brackets where it says (min,max) change to (0,480) if its landscape...

    Same in the the other position block but (0,320) ...

    Basically you are telling the spawn actor command to spawn any where between 0 and 480...

    You might have to play around with the values so actors don't appear half on and off the screen!

    Hope this helps
Sign In or Register to comment.