[Solved] Write down coordinates for each object in scene

Almakos

  • Posts: 632
Hi,
I am trying to store X and Y coordinates for each object of some type, but have difficulties.
In the attachment is a way as I imagined it, but that doesn't work at all  :o
Could someone please take a look?
Thanks.

« Last Edit: September 03, 2012, 08:52:12 pm by Almakos »
Fishing Fantasy Trailer


Hectate

  • *
  • Posts: 4643
If thats a scene behavior, maybe the actors arent initialized yet. Try a do after block for a second or something with that inside.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Almakos

  • Posts: 632
Thank you for this advice, but unfortunately it didn't work.
I will try some other block probably. Have never seen this "for each actor of type" block at work in examples, so not sure how it is supposed to work
Fishing Fantasy Trailer


thespoody

  • Posts: 7
The only problem I noticed is that the "kill" block doesn't have the actor of type block attached to it, which might be causing some problems somewhere. Other than that it looks fine though, and as far as I can tell you're using the "for each actor of type" block correctly.
still mad they took unlock spells out of skyrim. and levitation out of oblivion.

Almakos

  • Posts: 632
ouch, exactly!
I forgot about that little bastard =)
thank you. now works perfectly fine
Fishing Fantasy Trailer