Difference between revisions of "MessageBoxEx"

Jump to navigation Jump to search
10 bytes added ,  09:35, 26 March 2008
m
→‎Notes: Making it clear that it's a spell and not a variable
imported>Haama
(Making this clear)
imported>Haama
m (→‎Notes: Making it clear that it's a spell and not a variable)
** 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 "NinjaRanksNinjaRanksSpell" spell and add script effects with the effect names: Student, Genin, Chuunin, Jonin, Hokage.
<pre> ref NinjaRanksRef
...
set NinjaRanksRef to NinjaRanksNinjaRanksSpell
MBoxEx "You're not ready to be a %c level ninja!" NinjaRanksRef 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!)
Anonymous user

Navigation menu