Originally Posted by
cairnswm
I have used some sort of Pascal based scripting in a number of games (and indead other work based projects). To me the use of Classes is not key to making a scripting language. The key things required are
:arrow: Control Structures (For, While, If)
:arrow: Procedures and Functions
:arrow: Integration from Script into application
:arrow: Script Persistance
Using this you can write complete scripted AI into games.
Using Script Persistence you can make 'objects' that have their own variables and methods inside the script. (ie if you have 10 ants each has its own instance of the Ant script).
I will give this new scripting a try when I have time.
Bookmarks