This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
lua:ch:oload [2014/12/27 07:55] vodur |
— (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 (see [[:lua:room:oload|ROOM:oload]]). | ||