Actions |
This feature is deprecated. Use of this feature in new projects is discouraged.
The MMF Interface is a set of functions that allow directly accessing and manipulating objects (typically active objects) from within Lua. Objects are exported with an index value, which is used to identify the object in the MMFI functions. The MMF Interface was also responsible for exposing some other functions, like the Local Store functions.
The embedded MMF Interface has now been superceded by the MMFI C Module, which exposes an even richer set of functions and creates a fully object-oriented environment.
Enable
Enables the MMF Interface, which is a collection of functions that can directly access and manipulate internal object and application state. These functions are stored in the global mmf table.
Parameters
None.
Export Object
Exports an object, associated by a numeric ID, to the MMF Interface. This object can be used in any function that requires an object ID, such as changing an object's position. This event exports a single instance of an object.
Parameters
Value | Index |
Object | Object to export |
Export Object By Fixed ID
Exports an object, associated by a numeric ID, to the MMF Interface. This object can be used in any function that requires an object ID, such as changing an object's position. This event exports a single instance of an object, passed by fixed value.
Parameters
Value | Index |
Value | Fixed value of object to export |
Clear Export
Removes a previously exported object from the internal object list available to Lua.
Objects should be removed even if they are destroyed, because their references still remain exported. Exporting a new object with the same ID automatically clears the old object from the export list.
Parameters
Value | Index |
Reset Exports
Removes all objects from the export list.
Parameters
None.
Copyright 2010 Justin Aquadro