BioWare
BioWare Info BioWare Games Support Forums BioWare Store
BioWare Forums Home
BioWare Forums Home

Dragon Age (Old)

You are viewing a single post. Please do not take this post out of context.
Read the full topic: Scripting language - OO?

Author Scripting language - OO?
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
  Profile: Georg Zoeller   Send Message To: Georg Zoeller

 

BioWare Store
Hide/Show

You can log in to view your messages.

Hide/Show

5,990,946 BioWare Users:
  40 Logged In
  2 Hidden
  368 Guests

9,000,725 posts in the forums

Newest Forum Topics:
1. Old Mods Found (Jade Empire Xbox General Discussion (Spoilers Will Be Moved))

2. Mods with a lot of different env... (NWN 1: Modules Discussion)

3. Something similar to KOTOR? (PC/Mac Version (Spoilers Will Be Moved) - Star Wars: Knights of the Old Republic)

4. SP Pet Peeve: Starter Areas (NWN2: Modules)

5. How Long? (Baldur's Gate and Tales of the Sword Coast General Discussion)

Current time is: (set time)
Tue, 09 February 2010 03:21PM