Editing
ColorForm Script
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
__NOTOC__ __NOEDITSECTION__ '''Extends:''' [[Form Script]] Script for the manipulation of color base objects. == Definition == <syntaxhighlight lang="papyrus"> ScriptName ColorForm extends Form Hidden </syntaxhighlight> == SKSE Member Functions == :'''Int [[GetColor - ColorForm|GetColor]]()''' :*Gets the Alpha-Red-Green-Blue (ARGB) color code of the color form. :'''[[SetColor - ColorForm| SetColor]](Int ''argb'')''' :*Sets the Color Form's color to the specified ARGB code. :'''Int [[GetRed - ColorForm|GetRed]]()''' :*Gets the red component value of this color form. (0 to 255) :'''Int [[GetGreen - ColorForm|GetGreen]]()''' :*Gets the green component value of this color form. (0 to 255) :'''Int [[GetBlue - ColorForm|GetBlue]]()''' :*Gets the blue component value of this color form. (0 to 255) :'''Float [[GetHue - ColorForm|GetHue]]()''' :*Gets the hue value of this color form. :'''Float [[GetSaturation - ColorForm|GetSaturation]]()''' :*Gets the saturation of this color form. :'''Float [[GetValue - ColorForm|GetValue]]()''' :*Gets the value (Brightness) of this color form. == Notes == *Creation Kit does not recognise ColorForm as a valid type, to link Color Forms via Properties a [[FormList]] must be used. *In SKSE 1.06.00 the script was modified to use the newly created [[ColorComponent Script]] functions instead of native functions, '''GetColor''' was also added. *SKSE 1.06.03 added '''SetColor''' and changed '''GetLuminosity''' to '''GetValue'''. == See Also == *[[ColorComponent Script]] *[[ColorForm]] [[Category:Scripting]] [[Category:Papyrus]] [[Category:Script Objects]] [[Category:SKSE]] [[Category:SKSE Script Objects]]
Summary:
Please note that all contributions to the CreationKit Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
CreationKit:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Landing page
Tutorials
Game Systems
Editor Reference
Scripting Reference
Recent changes
Help
Tools
What links here
Related changes
Special pages
Page information
Page values