Lua Scream

From Spring
Revision as of 01:04, 17 February 2008 by JK (talk | contribs)
Jump to navigationJump to search

Scream UserData Object

Script.CreateScream

 ( ) -> nil
 This creates an userdata object,
 you can attach any variable to it (use it as a table).
 The difference from a normal table is that the object
 calls the Scream() function of the object (if it exists)
 when the object gets destroyed (->garbage collector).