Difference between revisions of "AddNote"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Ez0n3 m |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== | {{Function | ||
|origin = GECK1 | |||
|summary = Adds a note to the players note inventory. It is not called on a Reference and it takes one parameter, the note to add. | |||
|name = AddNote | |||
|alias = AN | |||
|returnType = void | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = NoteID | |||
|Type = ref | |||
}} | |||
|example = AddNote BombNote | |||
AN BombNote | AN BombNote | ||
The player now has the note about the bomb. | The player now has the note about the bomb. | ||
}} | |||
== | ==Notes== | ||
[[ | *[[GetItemCount]] will always return 0 when using it to check for a note. | ||
[[GetHasNote]] | ==See Also== | ||
*[[RemoveNote]] | |||
*[[GetHasNote]] | |||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 06:01, 15 January 2011
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Adds a note to the players note inventory. It is not called on a Reference and it takes one parameter, the note to add.
Syntax
AddNote NoteID:ref
Or:
AN NoteID:ref
Example
AddNote BombNote
AN BombNote
The player now has the note about the bomb.
Notes
- GetItemCount will always return 0 when using it to check for a note.