Talk:FormList Script

From the CreationKit Wiki
Revision as of 03:01, 20 March 2012 by imported>LukeH
Jump to navigation Jump to search

This function doesn't seem to want to take actor references, can anyone else verify? TheTalkieToaster

Which function is that? There are a few listed on this page.
-- Cipscis 00:48, 19 February 2012 (EST)


Saving Form Lists

EDIT: Form List contents ARE actually saved.
So I was wrong in the comment below.
-- Kuertee 02:24, 3 March 2012 (EST)
Changes to the FormList with AddForm () and RemoveAddedForm () are not saved in the saved-game file.
I had to keep a separate data in an Array.
Then restore them to the FormList when the file is reloaded.
I'm not sure which runs faster but HasForm () is easier than going through an Array just to find if a Form exists in the list.
-- Kuertee 07:39, 1 March 2012 (EST)

Adding same Form or instance twice

It seems that this List is more like a Set cause it doesn't allow adding same Form twice neither by drag'n'drop items in the CK neither with AddForm() in papyrus. Like a sorted set, sorted by addition order. LukeH 04:01, 20 March 2012 (EDT)