TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Resolved Questions
→
[Solved] Write down coordinates for each object in scene
Pages:
1
[Solved] Write down coordinates for each object in scene
Almakos
Posts: 632
September 02, 2012, 11:42:06 pm
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
Could someone please take a look?
Thanks.
« Last Edit: September 03, 2012, 08:52:12 pm by Almakos »
Fishing Fantasy Trailer
Hectate
Posts: 4643
September 03, 2012, 08:57:31 am
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
September 03, 2012, 11:25:41 am
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
September 03, 2012, 07:05:44 pm
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
September 03, 2012, 08:51:53 pm
ouch, exactly!
I forgot about that little bastard =)
thank you. now works perfectly fine
Fishing Fantasy Trailer
Pages:
1