User talk:MisterMcCoonie

From the Oblivion ConstructionSet Wiki
Revision as of 18:42, 22 April 2009 by imported>MisterMcCoonie (→‎OBSE Wishes: ToString and ToRef, File Editing)
Jump to navigation Jump to search

OBSE Wish: String Arguments

In v0017 you will be able to pass a string in any place that you would usually pass a string literal by using, for example, this:

string_var str

Begin GameMode

  set str to sv_Construct "blah blah"
  SetMagicEffectName $str FRDG

End

That should fulfill your wish (and is generally easier in practice than actually having a format string in there.
Dragoon Wraith TALK 15:16, 30 March 2009 (EDT)

OBSE Wishes: ToString and ToRef, File Editing

I'd point out that the vast majority of object types (read: anything other than Cells and Quests) do not have the EditorID available at run-time; Oblivion does not load or store them. So that function would see astonishingly little practical purpose. Nonetheless, if still desired, I suggest bringing it up in the OBSE thread on the forums.

Further, exactly how is the limitation of an OBSE expr for ToString actually limiting you? An OBSE expr can have anything you like in it... More explanation of that would be good.

As for reading from or writing to a file, I believe for security reasons the OBSE team has decided not to do this, even though it would be rather trivial to add (in fact, Timeslip donated functions that do this a long time ago, that have simply never been exposed to script).

If you have any questions or comments on any of these, feel free to respond either here or on my Talk page in an appropriate header. Thanks.
Dragoon Wraith TALK 19:05, 22 April 2009 (EDT)

Thanks, I appreciate your responses. If I'd had enough know-how, I would have thanked you for your previous reply too. Perhaps I'm not totally sure what an EDID is then. For example, when I use a hex reference or base object code at the console, is that not the EDID? For example, if I type "00032BF5".setname "Darkness" at the console, I am changing the name of that horse using the numerical persistent reference. Is that not the EDID? Or what about additem; if I type player.additem 0000000f 800000 at the console, is "0000000f" not the EDID? If not, then that's what I was getting at. For example, I can use (and have used) Pluggy to do exactly this, but with Pluggy strings. The idea is to be able to create a string that contains a ref, then convert the string variable to a ref, so that it actually refers to something. As for the expressions, that's my fault, I haven't done much reading on v17, so I just assumed that an expression was indeed an expression. I'll edit the request as soon as I'm done writing this. That's unfortunate about the file functions, I'll remove the request as soon as I'm done here. Also, and I know I've droned on for long enough already, but since you seem to know a thing or two, I should ask you - do the OBSE developers actually visit the wish list page, or does it all have to be requested on the forums? Thanks again for your assistance.