Talk:Begin

Revision as of 13:52, 17 April 2006 by imported>Kkuhlmann (→‎Note on operators)

-- Grey: Note that it is yet to be found out if the game will run several blocks of the exact same type. This could be useful for long scripts that require a certain order in which elements should be executed; probably in combination with return. Also there probably some block types accessing information that cannot otherwisely be attained, i.e. through if-condition(s).

--Kkuhlmann 14:50, 17 April 2006 (EDT): Using multiple duplicate block types should work just fine. Block flags are not cleared until the script is finished processing, so multiple blocks (i.e. two OnAdd blocks) should work just fine.

Note on operators

Also note that when using valid block types you are also allowed to use operators as part of the Begin command. Whether it makes sense or not depends on the particular situation.


I took the liberty of removing this evidently wrong information.

Here's my analysis:

http://www.elderscrolls.com/forums/index.php?showtopic=381945&st=0&p=5742828&#entry5742828

--JOG 14:47, 17 April 2006 (EDT)

--Kkuhlmann 14:52, 17 April 2006 (EDT): You're correct. Using operators in a begin block will never work. That it compiles is ... surprising... but meaningless. As every programmer should know, just because something compiles, doesn't mean it will work...
Return to "Begin" page.