Spawn actor problem

Hi guys, I have a problem with GS... I did an actor to follow the mouse, and this actor
spawn another actor every 0.01 seconds. In this second actor I put the behavior Move to 180 relative to scene, stacked.
So, the problem is, I have a 3º actor that have a move behavior, but does not work when the first actor spawn the second actor.
Exist some way to fix that?

Cheers!

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    I'm not sure what a actor is but it sounds like you are making a drawing feature, yes? By the way, you can go ahead and change that timer to every 0 seconds if you like. And the move to 180... that will force your dots or whatever you're spawning to move left. Are you saying that the spawned actors are not moving?

  • lobosco_estudiolobosco_estudio Member Posts: 98
    Yes @tatiang the spawn actors not moving. I think is a problem like a "to much things to do at the same time". =) I send you a file, if you want to see.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    This is what I see when I preview that file in GS Creator for Mac (yes, it's a 3 second video):



    The vertical trailing lines are closer together than it looks like in the video, though. Is that what happens on your computer?

    If you can tell me the name of the actor that is not working and more about what should happen and what is actually happening, I might be able to help further.

  • lobosco_estudiolobosco_estudio Member Posts: 98
    Ok, you saw the red one? So, when I spawn it, The actor doesn't move only when I spawn other red actor after some seconds. The brown lines are ok!

    Tks!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    By the "red one" I take it you mean the actor named "alvo." That actor doesn't move immediately but it does seem to re-spawn every couple of seconds and then move left across the screen. I'm not sure why it doesn't work all the time.
  • lobosco_estudiolobosco_estudio Member Posts: 98
    Yeah, is very strange... if you turn off the behavior "time" of actor "mira" then the "alvo" move behavior works... And I can't fix it.
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    I looked at it again and I see no reason for that. Unless the velocity game attribute was being changed somehow, it shouldn't do that. And I watched the attribute and didn't see it changed from 1000. I think it may be a corrupt file. You might try building a new scene with the same actors and see if it still happens. If so, you'll probably need to build a new project file.
  • lobosco_estudiolobosco_estudio Member Posts: 98
    You right, I should make another file. I will do this today and if work I post it in here.
    Tks @tatiang
Sign In or Register to comment.