Friday, January 1, 2010

Scripting update

Ok, so, to make the command line settings easier on both Developer and End User, we've decided to do a bit of a... different approach. Now before you go worrying "Aaah! NOW WHAT!?!?" it's not that bad, let me explain;

Commands will still be the same format:
CastSpell("SourceName", "TargetName", "SpellName");
but there's a little twist to it. If, say, you wanted to use a Parameter Command instead of one of the string parameters, you could do a command inside a command like so:
CastSpell(PlayerName[0], ActiveNPC['Ogre'. 4], CustomSpellPreset[18]);

Notice the Parameter Commands instead of '()' and ',', they use '[]' and '.'. This is because there were a few bugs with the parser when the Parameter Commands were using the same delimiters as the Commands.
Share on Facebook

0 comments:

Post a Comment