Lua Scream


Scream UserData Object

Script.CreateScream

 ( ) -> nil
 This creates an userdata object, which calls a special
 user-defined function, when the object gets destroyed
 (->garbage collector).
 You use it like the follow:
 local myScream = Script.CreateScream()
 myScream.func  = function() Spring.Echo("AHHHHHH") end

Retrieved from "http://spring.clan-sy.com/wiki/Lua_Scream"

This page has been accessed 311 times. This page was last modified 19:55, 27 October 2008.




Page editing toolbox

Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
View source
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in
Special pages
New pages
File list
Statistics
Bug reports
More...

Site layout created by Roflcopter.