Man set code

From LSWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 11:55, 11 June 2007 (edit)
Laine (Talk | contribs)

← Previous diff
Current revision (16: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

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 object identification mechanism.

Examples

   set_code("Soulshard");
   set_code("rings of growth");
   set_code("wands of striking");

See Also

identify(mechanisms)

Personal tools