Editing
Cell 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!
'''Extends:''' [[Form Script]] Script for the manipulation of cells. == Definition == <syntaxhighlight lang="papyrus"> ScriptName Cell extends Form </syntaxhighlight> == Member Functions == :'''ActorBase [[GetActorOwner - Cell|GetActorOwner]]()''' :*Obtains the actor base object that owns this cell. :'''Faction [[GetFactionOwner - Cell|GetFactionOwner]]()''' :*Obtains the faction that owns this cell. :'''Bool [[IsAttached - Cell|IsAttached]]()''' :*Is this cell currently attached? :'''Bool [[IsInterior - Cell|IsInterior]]()''' :*Is this cell an interior cell? :'''[[Reset - Cell|Reset]]()''' :*Flags this cell for reset on next load. :'''[[SetActorOwner - Cell|SetActorOwner]](ActorBase ''akActorBase'')''' :*Sets the actor base as this cell's owner. :'''[[SetFactionOwner - Cell|SetFactionOwner]](Faction ''akFaction'')''' :*Sets the faction as this cell's owner. :'''[[SetFogColor - Cell|SetFogColor]](Int ''aiNearRed'', Int ''aiNearGreen'', Int ''aiNearBlue'', Int ''aiFarRed'', Int ''aiFarGreen'', Int ''aiFarBlue'')''' :*Sets the near and far fog colors for the cell. Only works in non-sky-lit interiors. :'''[[SetFogPlanes - Cell|SetFogPlanes]](Float ''afNear'', Float ''afFar'')''' :*Sets the near and far fog plane distances for this cell. Only works in non-sky-lit interiors. :'''[[SetFogPower - Cell|SetFogPower]](Float ''afPower'')''' :*Sets the fog power for this cell. Only works in non-sky-lit interiors. :'''[[SetPublic - Cell|SetPublic]](Bool ''abPublic'')''' :*Sets this cell as either public or private. == SKSE Member Functions == :'''Int [[GetNumRefs - Cell|GetNumRefs]](Int ''formTypeFilter'')''' :*Returns the number of references in the cell that match the form filter (or all if formTypeFilter is 0). :'''ObjectReference [[GetNthRef - Cell|GetNthRef]](Int ''n'', Int ''formTypeFilter'')''' :*Returns the specified reference in the cell that matches the form filter. :'''Float [[GetWaterLevel]]()''' :*Returns the water level of the cell. (will be -2147483648 if no water) [[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