Definequote: Difference between revisions
Jump to navigation
Jump to search
Helixhorned (talk | contribs) cyan is hurting my eyes :-o |
Hendricks266 (talk | contribs) No edit summary |
||
Line 12: | Line 12: | ||
definequote '''^16'''<font color="blue">BLUE</font> '''^0'''ACCESS CARD REQUIRED | definequote '''^16'''<font color="blue">BLUE</font> '''^0'''ACCESS CARD REQUIRED | ||
A list of quote IDs that are hardcoded into the game can be found in [{{EDuke32 source|source/quotes.h}} quotes.h]. | A list of quote IDs that are hardcoded into the game can be found in [{{EDuke32 source|source/duke3d/src/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 02:35, 1 February 2017
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.
%d
can be added to quotes to represent a variable with the qsprintf command.
^#
can be used to change the color of all of, or just a section of a quote. The # is the palette number intended for use. Example:
definequote ^12PICKED UP A PORTABLE MEDKIT definequote ^16BLUE ^0ACCESS CARD REQUIRED
A list of quote IDs that are hardcoded into the game can be found in quotes.h.