Difference between revisions of "MessageBoxEx"
Jump to navigation
Jump to search
m
pros/cons of factions/spells for switched text
imported>Quetzilla m (→See Also) |
imported>Quetzilla m (pros/cons of factions/spells for switched text) |
||
|
set NinjaRanksRef to NinjaRanksSpell
MBoxEx "You're not ready to be a %c level ninja!" NinjaRanksRef iNextNinjaLevel</pre>
:* Factions or spells with named script effects can both be used. Factions are easier to set up in game, spells allow dynamic control over the text via the magic functions that modify spell effect lists.
:* 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!)
*Reference variables must be local variables declared in the same script. Syntaxes like 'someRef.var' or 'someQuest.var' work for numeric arguments only.
| |||