forked from Rukan/Grimy-Skyrim-Papyrus-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCell.psc
45 lines (31 loc) · 1.55 KB
/
Cell.psc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Scriptname Cell extends Form Hidden
; Gets the actor that owns this cell (or none if not owned by an actor)
ActorBase Function GetActorOwner() native
; Gets the faction that owns this cell (or none if not owned by a faction)
Faction Function GetFactionOwner() native
; Is this cell "attached"? (In the loaded area)
bool Function IsAttached() native
; Is this cell an interior cell?
bool Function IsInterior() native
; Flags the cell for reset on next load
Function Reset() native
; Sets this cell's owner as the specified actor
Function SetActorOwner(ActorBase akActor) native
; Sets this cell's owner as the specified faction
Function SetFactionOwner(Faction akFaction) native
; Sets the fog color for this cell (interior, non-sky-lit cells only)
Function SetFogColor(int aiNearRed, int aiNearGreen, int aiNearBlue, \
int aiFarRed, int aiFarGreen, int aiFarBlue) native
; Adjusts this cell's fog near and far planes (interior, non-sky-lit cells only)
Function SetFogPlanes(float afNear, float afFar) native
; Sets the fog power for this cell (interior, non-sky-lit cells only)
Function SetFogPower(float afPower) native
; Sets this cell as public or private
Function SetPublic(bool abPublic = true) native
; SKSE additions built 2015-05-24 00:46:48.937000 UTC
; Returns the number of refs in the cell
int Function GetNumRefs(int formTypeFilter = 0) native
; returns the ref at the specified index
ObjectReference Function GetNthRef(int n, int formTypeFilter = 0) native
; Returns the water level of the cell (-2147483648 if no water)
float Function GetWaterLevel() native