R
Rodimus
Guest
Hello!
I want to try out something, but not working:
i made a ds_list called _stations
I made a variable containing the next point id _nextstation
I wrote the next, but the code behaves on a strange way: itruns twice, and the variable _nextstation increment two times but the statement after the first run runs again. Is anybody has the same experience?
Collision with the oStop instance:
I want to try out something, but not working:
i made a ds_list called _stations
I made a variable containing the next point id _nextstation
I wrote the next, but the code behaves on a strange way: itruns twice, and the variable _nextstation increment two times but the statement after the first run runs again. Is anybody has the same experience?
Collision with the oStop instance:
if (point_distance(x,y,other.x,other.y) < 1)
{
if (other != _stations[|_nextstation])
{
_nextstation++;
}
}
{
if (other != _stations[|_nextstation])
{
_nextstation++;
}
}