Difference between revisions of "Definequote"

From EDukeWiki
Jump to navigation Jump to search
Line 2: Line 2:


Defines a quote to be used with the [[quote]], [[qsprintf]], [[qstrcat]], [[qstrcpy]], [[gametext]] or [[minitext]] commands.  Each quote must have a unique quote number.  Quotes may be redefined mid-game with [[redefinequote]].
Defines a quote to be used with the [[quote]], [[qsprintf]], [[qstrcat]], [[qstrcpy]], [[gametext]] or [[minitext]] commands.  Each quote must have a unique quote number.  Quotes may be redefined mid-game with [[redefinequote]].
The maximum length of a quote is 128 characters.
A list of quote IDs that are hardcoded into the game can be found in [{{EDuke32 source|source/quotes.h}} quotes.h].


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:String manipulation]]
[[Category:String manipulation]]

Revision as of 17:30, 4 March 2012

definequote <quote number> <quote text>

Defines a quote to be used with the quote, qsprintf, qstrcat, qstrcpy, gametext or minitext commands. Each quote must have a unique quote number. Quotes may be redefined mid-game with redefinequote.

The maximum length of a quote is 128 characters.

A list of quote IDs that are hardcoded into the game can be found in quotes.h.