Difference between revisions of "MessageBoxEx"

Jump to navigation Jump to search
95 bytes added ,  08:39, 26 March 2008
→‎Notes: example expanded and switched from faction to spell at qzilla's suggestion
imported>Wrye
m (Sorry about that haama. Got confused about rollback between this page and the template it uses. Personally, I would used code at this point, but pre is okay.)
imported>Mmmpld
(→‎Notes: example expanded and switched from faction to spell at qzilla's suggestion)
**Fixed as of v0014a
* '''Switched Text''' ("On/Off", "Enabled/Disabled", "Alpha/Beta/Gamma")
** If you would like to use different strings based on a boolean or integer parameter, you can use the %c format with a dummy spell or faction.
** E.g. Ninja Ranks
*** Create "NinjaRanks" factionspell and setadd malescript rankseffects towith the effect names: Student, Genin, Chuunin, Jonin, Hokage.
<pre> ref NinjaRanksRef
*** <pre>MBoxEx "You're not ready to be a %c level ninja!" NinjaRanks iNextNinjaLevel</pre>▼
...
** Note: Be sure that index is within range of defined ranks. I.e. if you have defined two ranks for a boolean value, make sure that the index is really limited to 0 or 1. (Otherwise, CTD!)▼
set NinjaRanksRef to NinjaRanks
▲*** <pre> MBoxEx "You're not ready to be a %c level ninja!" NinjaRanksNinjaRanksRef iNextNinjaLevel</pre>
▲*:* Note: Be sure that index is within range of defined ranks. I.e. if you have defined two ranks for a boolean value, make sure that the index is really limited to 0 or 1. (Otherwise, CTD!)
 
==See Also==
Anonymous user

Navigation menu