Palfrom: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
palfrom is used to flash the screen a given color.
palfrom is used to flash the screen a given color.


<intensity> is a number from 0-63, denoting how opaque the color is. 0 is no color, 63 is full color.
<intensity> is a number from 0-64, denoting how opaque the color is. 0 is no color, 64 is full color.


<red> is a number from 0-63, denoting how red the color is. 0 is no red, 63 is full red.
<red> is a number from 0-64, denoting how red the color is. 0 is no red, 64 is full red.


<green> is a number from 0-63, denoting how green the color is. 0 is no green, 63 is full green.
<green> is a number from 0-64, denoting how green the color is. 0 is no green, 64 is full green.


<blue> is a number from 0-63, denoting how blue the color is. 0 is no blue, 63 is full blue.
<blue> is a number from 0-64, denoting how blue the color is. 0 is no blue, 64 is full blue.
 
EXAMPLES:
 
palfrom <intensity> 64 // Red
palfrom <intensity> 0 64 // Green
palfrom <intensity> 0 0 64 // Blue
palfrom <intensity> 32 16 // Brown
palfrom <intensity> 64 32 // Orange
palfrom <intensity> 64 64 // Yellow
palfrom <intensity> 64 0 64 // Purple
palfrom <intensity> 0 64 64 // Aqua
palfrom <intensity> 32 32 32 // Gray
palfrom <intensity> 64 64 64 // White


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

Revision as of 12:56, 19 July 2006

palfrom <intensity> <red> <green> <blue>

palfrom is used to flash the screen a given color.

<intensity> is a number from 0-64, denoting how opaque the color is. 0 is no color, 64 is full color.

<red> is a number from 0-64, denoting how red the color is. 0 is no red, 64 is full red.

<green> is a number from 0-64, denoting how green the color is. 0 is no green, 64 is full green.

<blue> is a number from 0-64, denoting how blue the color is. 0 is no blue, 64 is full blue.

EXAMPLES:

palfrom <intensity> 64 // Red
palfrom <intensity> 0 64 // Green
palfrom <intensity> 0 0 64 // Blue
palfrom <intensity> 32 16 // Brown
palfrom <intensity> 64 32 // Orange
palfrom <intensity> 64 64 // Yellow
palfrom <intensity> 64 0 64 // Purple
palfrom <intensity> 0 64 64 // Aqua
palfrom <intensity> 32 32 32 // Gray
palfrom <intensity> 64 64 64 // White