Syntax
GraalScript has C-like syntax, and with the release of new GraalScript attempts to be object-oriented, but in that regard, it falls short. The new GraalScript was originally based off of TorqueScript, but has since become entirely independent. In an attempt to be portable to other interfaces, GraalScript borrows some of its syntax, scoping, and built-in functions and objects from ECMAScript, so that a script written in JavaScript (for example) could be taken from a web page and introduced to an NPC and work relatively without issue.
Writing in GraalScript
GraalScript is used in a variety of in-game environments, which include NPCs, weapons and GUI scripts, and GANIs. GraalScript has adapted into a language that is suited for game manipulation, be it a Graal3D environment or the classic 2D environment.
Categories
CategoryTutorial
CategoryExpansionRequired