Difference between revisions of "AddNote"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>DewiMorgan
m (→‎Notes: +note it's not in the TES4 wiki.)
imported>Ez0n3
m
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
=='''Description'''==
{{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


'''AddNote''' Adds a note to the players note inventory. It is not called on a Reference and it takes one parameter, the note to add.
  AN BombNote
 
=='''Syntax'''==
 
  AddNote ''NoteREF''
 
=='''Examples'''==
 
AddNote BombNote
The player now has the note about the bomb.
The player now has the note about the bomb.
}}


=='''Notes'''==
==Notes==
*This function is new in the GECK, and was not available in the TES4 Construction Set.
*[[GetItemCount]] will always return 0 when using it to check for a note.
 
=='''See Also'''==
[[RemoveNote]]
 
[[GetHasNote]]


=='''Reference'''==
==See Also==
None provided.
*[[RemoveNote]]
<!-- [[AddNote_Reference|List of functions that use AddNote]] (wiki) -->
*[[GetHasNote]]


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Player Functions]]
[[Category:Player Functions]]
[[Category:Player Functions (GECK 1.1)]]

Latest revision as of 05: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

[help]
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.

See Also