Page 1 of 1

[Help] short question about POS and e.pos

PostPosted: Sat Mar 10, 2012 9:40 am
by daniel1296
hi,
my question is how to change the position to some of object?
for example:
Code: Select all
pos:=[scene.my.blue];

its not working... and i dont even know what and when to write "scene.my.blue" at the another object to spawm that...it will really help me for many scenes. 10x..

Re: [Help] short question about POS and e.pos

PostPosted: Sat Mar 10, 2012 6:48 pm
by Kilinich
No way to do that. Just use mech instead.

Re: [Help] short question about POS and e.pos

PostPosted: Sat Mar 10, 2012 7:16 pm
by daniel1296
what is "mech"? and how to do it plz... i want to spawn something in very specific polygon.. not "e.pos" and not x,y.

Re: [Help] short question about POS and e.pos

PostPosted: Sun Mar 11, 2012 11:13 am
by Kilinich
Spawn is easy. Just set pos do desired value.

scene.my.boxPos := [1,1];
scene.addBox({pos := scene.my.boxPos})