[squeakland] How can I refer to the Players in a Simple Watcher?
sthomas1 at gosargon.com
Sat Oct 2 04:06:53 EDT 2010
I created a set of tools that allow you to perform operations on multiple
players at once. This can be very useful to lock/unlock a set of items or
play around with color changes, etc.
I did this by creating four variables of type "Player" and then performing
the operation on each variable (see screenshot below).
1. How can I dynamically add Player variables to the Holder (ie: I may
want more than 4)
2. How can I refer to the players in the "simple watchers" in scripts so
I can iterate through the holder instead of having one tile per player?
3. How can I tell when the last "simple watcher" in the Holder is the
"dot" object (or actually when its not) so I can dynamically add an extra
Player reference when needed (answering question 2 may solve this).
[image: Screen shot 2010-10-02 at 3.56.55 AM.png]
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the squeakland