|
Location: Home / Lua Coding / Object Properties Accessing Object Properties Using 'ch' as an example which represents a character object in the MUD, accessing properties is as simple as using 'ch.level', 'ch.gold', 'ch.int', etc.
If you are dealing with an object, you may write something like
The line beginning 'mdo' is using Lua concatentation to create a command the character will execute in the MUD itself - in this case returning the object to the character that triggered the script. Property Tables
| |||||||||||
|