Georg Zoeller
Senior Technical Designer

Joined: 27 May 2003 From: Austin, TX
|
Posted: Saturday, 29 May 2004 04:39AM
Quote: Posted 05/29/04 04:18:49 (GMT) by Enigmatic
I can understand the desire to reduce the retraining required of your developers and not re-inventing the wheel now that you have a fairly bedded down script language like NWScript.
With this being the case I would say your main goal should be an evolution of that scripting language where you reduce the flaws of the original (lack of arrays, no parameters, missing functions) while bringing the language up into a newer generation.
This whole concept of having to execute functions like "GetEnteringObject" inside a script just to retrieve a parameter of what triggered the call in the first place flies in the face of most modern programming languages.
You need to call GetEnteringObject about 1 time per trigger. So what would be the advantage of typing
oEnter = this.EnteringObject
to
oEnter = GetEnteringObject
there is no advantage to it. Yes, it looks more modern and such, but that's hardly anything that would justify framework rewrites and retraining people. _________________ georg zoeller senior rules and systems monkey [da | me] My custom NWN content
ceterum censeo ambulatiuncula esse delen
|