GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How To Spawn A Actor

I am having no luck with this. I am trying to spawn a actor.
I am using windows version
I have 2 actors one called black box and the other called spawnpoint
I made a integer in the actor spawnpoint and made it 1
then put in a timer 0.1
Change attribuite - spawnpoint timing to random (1,10)
Rule attribute - selftiming is 1
Spawn a actor - back of actor
timer 0.1 put inside of rule
this is not working in the windows version, I also watched some other videos on how to spawn a actor nothing works.
Thanks Darlene

Comments

  • SocksSocks London, UK.Posts: 12,822Member
    edited October 2013
    The question is a little confusing !?!

    For example what does "Rule attribute - selftiming is 1" mean ?

    And these two statements - when put together - don't see to make sense either . . . "then put in a timer 0.1" . . . and . . . "Change attribuite - spawnpoint timing to random (1,10)" ?


    :-/

    A screenshot of your rules might be useful.
  • -Timo--Timo- Posts: 2,313Member
    If you spawn the actor back of the actor and not let it move or something then you cant see if its spawning... ;) we need a screenshot of your rules to help you like @socks already said
  • darlene57darlene57 Posts: 37Member
    I think it is because I am using the windows version. How do I do a screenshot of my rules?
  • SocksSocks London, UK.Posts: 12,822Member
    darlene57 said:

    I think it is because I am using the windows version. How do I do a screenshot of my rules?

    http://bit.ly/MBlnj3
  • darlene57darlene57 Posts: 37Member
    I watched a tutorial on youtube called
    (GameSalad: How to create a random spawning time )
    I have two actors a black box and a red box. I want the black box to spawn the red box at certain times.
    Thanks Darlene
  • darlene57darlene57 Posts: 37Member
    I took a screenshot, How do I put the screenshot in the comments?
    Sorry I am just getting started with gamesalad.
  • SocksSocks London, UK.Posts: 12,822Member
    darlene57 said:

    I watched a tutorial on youtube called
    (GameSalad: How to create a random spawning time )
    I have two actors a black box and a red box. I want the black box to spawn the red box at certain times.
    Thanks Darlene

    Place a Spawn Actor behaviour in the black box, select the red box as the object to be spawned.
  • SocksSocks London, UK.Posts: 12,822Member
    darlene57 said:

    I took a screenshot, How do I put the screenshot in the comments?
    Sorry I am just getting started with gamesalad.

    http://bit.ly/16eHY10
  • darlene57darlene57 Posts: 37Member
    I did that but it is not working, I am using the windows version does anyone know if that is the reason why, I have been working on this for days.
    Thank You Darlene
  • BellowBellow Bartender Posts: 227Member, PRO
    edited October 2013
    try this. dont use spawnpoint att.

    use your spawn actor with this rule

    timer random(1,10)

    spawn actor black box (position)

    it will simple spawn your actor.
  • SocksSocks London, UK.Posts: 12,822Member
    darlene57 said:

    I did that but it is not working . . .

    Without seeing your rules, this kind of feedback ('it's not working') isn't really of much use. :(

  • jamie_cjamie_c ImagineLabs.rocks Posts: 5,551Member
    It is hard to make sense of your question but I've attached a sample file that may help, with at least understanding timers and spawning.

    In the file there is a grey square that controls the spawning of the black squares. A Timer in the grey square fires every 1 second, spawning a new copy of the black square at a random point on screen.

    Hope maybe it helps a little.
  • darlene57darlene57 Posts: 37Member
    Thank you That worked.
    Thanks for all the help!
    Darlene
Sign In or Register to comment.