Man set code
From LSWiki
(Difference between revisions)
| Revision as of 10:55, 11 June 2007 (edit) Laine (Talk | contribs) ← Previous diff |
Current revision (15:13, 11 June 2007) (edit) Chaos (Talk | contribs) (→Description) |
||
| Line 10: | Line 10: | ||
| ==Description== | ==Description== | ||
| Sets the identification code associated with the object. This is central | Sets the identification code associated with the object. This is central | ||
| - | to the LSLib object identification mechanism. | + | to the object identification mechanism. |
| ==Examples== | ==Examples== | ||
Current revision
man set_code set_code - sets the object's identification code
Contents |
[edit]
Synopsis
void set_code(string code);
[edit]
Files
/mod/basic/identity.c
[edit]
Description
Sets the identification code associated with the object. This is central to the object identification mechanism.
[edit]
Examples
set_code("Soulshard");
set_code("rings of growth");
set_code("wands of striking");
[edit]
