Difference between revisions of "Talk:If"

Jump to navigation Jump to search
868 bytes added ,  00:50, 2 May 2010
imported>UDUN
imported>DragoonWraith
Line 150: Line 150:
:::As for "quoted hex FormIds", what do you mean? The only time you should ever be worrying about the actual numerical FormID is when you're using the console. In scripts, you can use the EditorID; the compiler will automatically insert the appropriate FormID when you save. EditorIDs are just massively easier to read, so even though FormIDs will ''work'', it's a really bad idea to use them. You do need them in the console, because most of the EditorIDs aren't actually loaded during runtime - only Quest and Reference IDs, IIRC. (actually, I suppose you would also need to know FormIDs for GetFormFromMod, an OBSE function).
:::As for "quoted hex FormIds", what do you mean? The only time you should ever be worrying about the actual numerical FormID is when you're using the console. In scripts, you can use the EditorID; the compiler will automatically insert the appropriate FormID when you save. EditorIDs are just massively easier to read, so even though FormIDs will ''work'', it's a really bad idea to use them. You do need them in the console, because most of the EditorIDs aren't actually loaded during runtime - only Quest and Reference IDs, IIRC. (actually, I suppose you would also need to know FormIDs for GetFormFromMod, an OBSE function).
:::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 23:22, 10 August 2009 (EDT)
:::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 23:22, 10 August 2009 (EDT)
::::Added section on refVars - amend it as you see fit. Please keep the examples with formID syntax as they are valid and one encounters them occasionally. ''Please'' add more info on when/if refVar1 == refVar2 syntax is valid.[[User:UDUN|UDUN]] 06:12, 1 May 2010 (EDT)
::::Added section on refVars - amend it as you see fit. Please keep the examples with formID syntax as they are valid and one encounters them occasionally. ''Please'' add more info on when/if refVar1 == refVar2 syntax is valid.[[User:UDUN|UDUN]] 06:12, 1 May 2010 (EDT)
:::::Looks good. I feel like this is an odd place to put the FormID/EditorID thing, but it's better than not being mentioned at all. Sadly, I really don't have the time (or, honestly, the inclination) to give this page the revision it really deserves, so that will stay for now. ''Other than'' the FormID stuff, it looks great.
:::::Can't add more detail about when it fails personally, since I don't know. Ultimately, there is no reason not to use GetIsReference/GetIsID, so I simply didn't bother keeping track of when you can get away with a simple comparison.
:::::[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 01:50, 2 May 2010 (EDT)


== Brackets ==
== Brackets ==

Navigation menu