World open event

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

World open event

Sean P. DeNigris
Administrator
Is there a hook for when a world is first loaded?
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: World open event

Lincke, Jens
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)

Am 19.02.2014 um 16:11 schrieb Sean P. DeNigris <[hidden email]>:

> 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
> [hidden email]
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel

_______________________________________________
lively-kernel mailing list
[hidden email]
http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel
Reply | Threaded
Open this post in threaded view
|

Re: World open event

Sean P. DeNigris
Administrator
Lincke, Jens wrote
"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