How to declare actor's position in variables?
Posted: Tue Mar 26, 2013 4:48 pm
Hello, who have original way to declare actor's x&y position in variables
Game Editor discussion board
http://game-editor.com/forum/
myActor.x = 150;
myActor.y = 300;
actor2.x = myActor.x;
Actor --> Draw Actor --> Script Editor:
int i = actor.x
int a = actor.y
variable = screen_to_actor(&i, &a)
bat78 wrote:Ive read the whole reference and ik how to set an actor in x and y position but what i meant is how to make something like that:
x_array[cloneindex] = x;
y_array[cloneindex] = y;
hpos=hpos-...
mage_health.x=hpos;
saveVars(...)
textactor.textNumber=hpos