Discussion:
[lively-kernel] World open event
Sean P. DeNigris
2014-02-19 15:11:25 UTC
Permalink
Is there a hook for when a world is first loaded?



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/World-open-event-tp4744866.html
Sent from the Lively Kernel mailing list archive at Nabble.com.
Lincke, Jens
2014-02-19 15:39:48 UTC
Permalink
you can implement an "onload" script (only world loading) in an object or "onrestore" (also when copying an object or dragging out of the PartsBin)
Post by Sean P. DeNigris
Is there a hook for when a world is first loaded?
-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/World-open-event-tp4744866.html
Sent from the Lively Kernel mailing list archive at Nabble.com.
_______________________________________________
lively-kernel mailing list
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
Sean P. DeNigris
2014-02-19 15:51:43 UTC
Permalink
Post by Lincke, Jens
"onload" script (only world loading)
Thanks! Worked like a charm :) How would someone discover this? Most of the
events seem to be in Events.js… A regex search via the Method Finder would
help a little, but "^on*" doesn't return any results currently



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/World-open-event-tp4744866p4744884.html
Sent from the Lively Kernel mailing list archive at Nabble.com.

Loading...