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