alice-teacher Scope of world booleans

Don Slater dslater at andrew.cmu.edu
Tue Nov 8 21:27:35 EST 2011


Thank you for this report… We will look into it…

All the best,
Don Slater

On Nov 8, 2011, at 3:24 PM, Tony Bowes wrote:

> Hi there.
> 
> From the documentation I'm lead to believe that world variables have scope over all objects brought into the world.  I'm having problems getting world boolean variables to retain their scope and be useful in IF structures on dependent objects. I can drag local boolean variables directly into the IF condition, but can't drag world booleans into there. This makes setting up game state variables more tricky than expected. Note that setting world functions that simply return the variable state work as expected, but I'd rather leave encapsulation until much later. 
> 
> Is there a simple way of tracking and checking game states?
> 
> -- 
> Tony Bowes
> ICT / IPT / Maths Teacher
> St Luke's Anglican School
> 4 Mezger St Bundaberg  Qld  4670
> 
> p: (07) 4132 7500
> f:  (07) 4132 7556
> tony-bowes at slasmail.com
> http://www.stlukes.qld.edu.au
> 
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers



More information about the alice-teachers mailing list