[Squeakland] 1 script -> N objs
Ned Konz
ned at bike-nomad.com
Mon Feb 21 16:02:15 PST 2005
On Saturday 19 February 2005 2:06 pm, Randy Heiland wrote:
> How do I have 1 script get applied to multiple objects in E-toys?
What do you mean "applied"?
If they're the same kind of objects, then you can share a script between
multiple 'siblings'.
This should work more or less automatically in the current version of the
Squeakland image.
If you take an object, then add a script or instance variable, then duplicate
it using the green halo handle, you will make a sibling instance that will
share all the scripts of (and will have the same instance variables as) the
original.
--
Ned Konz
http://bike-nomad.com
More information about the Squeakland
mailing list