GameSalad

Howdy, Stranger!

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

Spawning from an unexpected point

DjangoZDjangoZ Posts: 40Member
edited November -1 in Working with GS (Mac)
I set an actor (let's say an igloo) to spawn another actor (say a penguin) when receiving a mouse click.

I then placed several "igloos" around the scene and set the spawn point for the "penguin" to 0-0 relative to the "igloo". In other words, I want the penguin to spawn on top of the igloo, whichever of the 10 igloos was clicked.

However, no matter which igloo I click the penguin appears where the 1st instance of the igloo was placed. I delete the first instance and then it appears where the 2nd instance was placed and so on.

Any ideas what is going on?

Comments

  • DjangoZDjangoZ Posts: 40Member
    Any good work arounds?
  • DjangoZDjangoZ Posts: 40Member
    Yes, that's it!

    How did you do it? Or rather, what am I doing wrong?!?

    Oy, I just tried to replace one actor with another through an entirely different set of images and attributes and the 2nd actor spawned where the very first problem I had above had it's first instance. I get the feeling something beyond my typical user error is happening.
  • DjangoZDjangoZ Posts: 40Member
    Thank you for the offer, I'm a little too far along on what I'm working with to do that.

    I tried doing the same experiment you did and I got another odd result, the little green boxes popped up on all the white boxes when I clicked one.

    Could you send me the experiment file for what you did?

    My email is [email protected]

    Thanks for the help, this has been driving me crazy all day. :)
  • DjangoZDjangoZ Posts: 40Member
    Thanks to tshirtbooth's help I was able to figure it out. I was using "mouse" "down" instead of "touch" "pressed" - once I switched to touch it worked just as intended.

    GG folks - perhaps this is a bug??
  • DjangoZDjangoZ Posts: 40Member
    ahhhhhhhhhhhhhhhhhh

    now i get it.

    Then perhaps I can make a suggestion about the terms:

    "Actor receives event" "mouse button" is "down" can be misunderstood pretty easily. :)

    How about "scene receives event" or something like that?
This discussion has been closed.