Lua Scream

From Spring
Revision as of 01:03, 17 February 2008 by JK (talk | contribs) (New page: == Scream UserData Object == '''Script.CreateScream''' ( ) -> nil <font color="darkgreen">This creates an userdata object, you can attach any variable to it (use it as a table). The di...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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).