oldnoob
Member
Hello there,
I think this is how it works, but I would very much appreciate confirmation if possible.
If I have several instances of an object, say a ball, on screen and I address them all by...
with(obj_Ball){
}
If I declare any variable within those curly brackets, do they become property of the ball instances? i.e.
with(obj_Ball){
BallColour=choose(1,2,3);
}
So to target or retrieve those variables I'd have to do something like...
balloon=InstanceID.BallColour
I think this is how it works, but I would very much appreciate confirmation if possible.
If I have several instances of an object, say a ball, on screen and I address them all by...
with(obj_Ball){
}
If I declare any variable within those curly brackets, do they become property of the ball instances? i.e.
with(obj_Ball){
BallColour=choose(1,2,3);
}
So to target or retrieve those variables I'd have to do something like...
balloon=InstanceID.BallColour