Difference between revisions of "Talk:ObjectReference Script"
Jump to navigation
Jump to search
imported>DavidJCobb (→SKSE beta?: new section) |
imported>Rasikko m |
||
Line 20: | Line 20: | ||
[[User:DavidJCobb|DavidJCobb]] ([[User talk:DavidJCobb|talk]]) 2015-08-02T14:18:35 (EDT) | [[User:DavidJCobb|DavidJCobb]] ([[User talk:DavidJCobb|talk]]) 2015-08-02T14:18:35 (EDT) | ||
== The XYZ read-only properties == | |||
Stack Profiling tests shows that these are just shorthanded versions of their respective papyrus functions. GetPositionXYZ is still called under the hood and take the same amount of time to return as their read-only counterparts.(16-17ms) If you wanna avoid typing 'GetPosition', just use the read-only versions instead. --[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2021-05-22T05:02:28 (EDT) |
Revision as of 04:02, 22 May 2021
RemoveItem
- RemoveItem is missing a parameter. The last parameter is an ObjectReference to a container that the item may be removed to. I tried to add this parameter but the edit was blocked by the spamfilter for some reason. Lofgren (talk) 2013-08-24T01:13:58 (EDT)
SKSE beta?
Is it standard practice to add functions from the newest SKSE beta to the list? If so, someone may want to add these.
- Form[] GetContainerForms()
- Returns an array of all base forms inside the container reference. Introduced in SKSE 1.7.3.
- GetAllForms(FormList toFill)
- Fills the specified FormList with the base forms inside the container reference. Introduced in SKSE 1.7.3.
- Potion GetPoison()
- Returns the poison applied to the weapon reference. Introduced in SKSE 1.7.3.
- ReferenceAlias[] GetReferenceAliases()
- Returns an array of all aliases that hold this reference. Introduced in SKSE 1.7.3.
DavidJCobb (talk) 2015-08-02T14:18:35 (EDT)
The XYZ read-only properties
Stack Profiling tests shows that these are just shorthanded versions of their respective papyrus functions. GetPositionXYZ is still called under the hood and take the same amount of time to return as their read-only counterparts.(16-17ms) If you wanna avoid typing 'GetPosition', just use the read-only versions instead. --Rasikko (talk) 2021-05-22T05:02:28 (EDT)