Ranokoa Posted January 6, 2010 Share Posted January 6, 2010 Well I know it WAS in an RTS beta version, one of the first, but I no longer have that version so can not check to find. But there is some weird functin like %n or something that sets the name to the character's name. I want to use it for a particular mod where a message says the character's name. The player, I mean. What is that little thing I put? Link to comment Share on other sites More sharing options...
kieranfoy Posted January 6, 2010 Share Posted January 6, 2010 Don't all these posts belong more in 'Mod Help' than in 'Files Requests and Suggestions'? Link to comment Share on other sites More sharing options...
Ranokoa Posted January 6, 2010 Author Share Posted January 6, 2010 Hmm.. Yknow your right, idk why I just got used to posting in this particular thread. Maybe some habbits should be paid attention to. Could a moderator move this? Link to comment Share on other sites More sharing options...
kieranfoy Posted January 6, 2010 Share Posted January 6, 2010 Hmm.. Yknow your right, idk why I just got used to posting in this particular thread. Maybe some habbits should be paid attention to. Could a moderator move this?They'll be along shortly, I dare say. Link to comment Share on other sites More sharing options...
Ranokoa Posted January 6, 2010 Author Share Posted January 6, 2010 Thanks, I wouldn't want to report myself lol. Not sure how that would look >_< Anyways back on topic. Anyone know? Link to comment Share on other sites More sharing options...
rdamstrom Posted January 6, 2010 Share Posted January 6, 2010 OBSEFormat Specifiers Some OBSE commands take a format string as a parameter. Format strings are actually a collection of arguments consisting of a string followed by zero to twenty variables and/or numbers. The string specifies how the command should use the rest of the arguments to construct a new string. Within the format string, percent signs are used to indicate special characters. The format specifiers recognized by OBSE commands include all of those recognized by vanilla Oblivion script commands like MessageBox as well as several extended specifiers: %a - replaced by the character matching the ASCII code passed as an integer. %c - replaced with the name of a component within another object. Takes two arguments - an object (ref) and the index of the component you want to access (short). Supported object types: Magic Item - prints the name of the nth effect item. Faction - prints the male rank title of the nth rank. %e - replaced by nothing. Useful for passing an empty string as an argument, as the script compiler will not accept an empty string. Can be used outside of format strings. %i - is replaced by the formID of a reference or object passed in a ref variable %k - replaced by a string representing the key associated with a DirectInput scan code %n - replaced with the name of a reference or object passed in a ref variable %p - replaced with a pronoun based on the gender of the object parameter passed in a ref variable: %po - objective (he, she, it) %pp - possessive (his, her, its) %ps - subjective (him, her, it) %q - replaced with a double quote character (takes no arguments). Can be used outside of format strings. %r - replaced by a new-line character (takes no arguments). Can be used outside of format strings. %v - replaced by the name of an actor value passed as an integer actor value code. %x - replaced with an integer in hexadecimal format. An optional digit from 0-9 immediately following this specifier indicates the minimum width of the displayed value. For example, MessageEx "%x4" 255 will display "00FF". %z - replaced by the contents of a string variable. %{ .. %} - Conditionally omits a portion of the format string based on a boolean value. The left bracket accepts a variable; if the value of the variable is zero, all text up to the right bracket will be ignored, and any parameters supplied to format specifiers within the omitted substring will be skipped. Note that the %e, %q, and %r specifiers can be used within any string literal and will be replaced by an empty string, a double quote, or a carriage return respectively. http://cs.elderscrolls.com/constwiki/index...Script_Extender http://obse.silverlock.org/ Link to comment Share on other sites More sharing options...
Ranokoa Posted January 6, 2010 Author Share Posted January 6, 2010 Wow.. Thanks.. so obse is a must, eh? Link to comment Share on other sites More sharing options...
rdamstrom Posted January 7, 2010 Share Posted January 7, 2010 I wouldn't mod without it Link to comment Share on other sites More sharing options...
Recommended Posts