Set X and Y of another actor using a function (void)
Posted: Tue Jul 26, 2011 10:55 am
Hey guys,
when I make this function in global code
I can only execute move(); in player actor itself.
When I execute it in another actor nothing happens.
Also when I execute it in another actor and then try to execute in player actor nothing happens.
when I make this function in global code
- Code: Select all
void move()
{
player.x+=10;
}
I can only execute move(); in player actor itself.
When I execute it in another actor nothing happens.
Also when I execute it in another actor and then try to execute in player actor nothing happens.