This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
lua:ch:oload [2014/12/27 07:54] vodur created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | oload is used to load an object into the game. | ||
- | |||
- | Syntax: | ||
- | |||
- | <target>:oload(<vnum>) | ||
- | |||
- | \\ | ||
- | Example: | ||
- | |||
- | ch:oload(31404) | ||
- | |||
- | This will make the character load object 31404 into their inventory. \\ | ||
- | \\ | ||
- | mob.room:oload(31404) | ||
- | |||
- | This will make the mob load object 31404 into the room. | ||