I got this but I dont know how to cycle through 2 types at once - alternately-
[CODE]
red_p.red_car = first red_car
blue_p.blue_car=first blue_car
for k = 1 to 100
moveentity blue_p\car,0,0,1
moveentity red_p\car,0,0,1
red_p=after red_p
blue_p= after blue_p
next
[/CODE]
but it doesnt let you do it that way, the type identifyer has to be INSIDE the loop which makes it not work.
Is there a way out of this?
[CODE]
red_p.red_car = first red_car
blue_p.blue_car=first blue_car
for k = 1 to 100
moveentity blue_p\car,0,0,1
moveentity red_p\car,0,0,1
red_p=after red_p
blue_p= after blue_p
next
[/CODE]
but it doesnt let you do it that way, the type identifyer has to be INSIDE the loop which makes it not work.
Is there a way out of this?