Commit Graph

4 Commits (9db9ca51ea0169b145667ddbd376d3b634f66a02)

Author SHA1 Message Date
Roman C 996502340c Scripting Engine:
-Added necessary scripting function to enable commander support for the scripts.
-Added a "group" member var to droids, to find out the group a droid belongs to.
-Added "type" member var to a script GROUP object, to find out the type of the group (commander group, transporter group etc).
-Added "commander" member var to GROUP, to find out the commander, a particular group belongs to.
-It is now possible to find out if a player has all necessary components to build a certain repair/command/cyborg engineer/cyborg mechanic droid using the scripts.
-Fixed a scripting function pushing a boolean to the script stack instead of an expected integer.
-Updated scripting manual.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2146 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-19 19:28:25 +00:00
Roman C a161bf8d00 - Added calcDroidPower() scripting function to calculate power required to build a droid.
- Updated scripting manual.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2115 4a71c877-e1ca-e34f-864e-861f7616d084
2007-07-15 15:53:41 +00:00
Giel van Schijndel 645c5852c8 * Add some info about revision info (last author, commit date and revision) through svn keywords
* This way updates to this file will automatically modify the above automatically

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1392 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-08 14:41:25 +00:00
Roman C 0faf85229b Scripting Language:
-simple data types are lowercase on default
-casts using uppercase still allowed for compatibility with campaign scripts
-updated scripting manual accordingly

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@1391 4a71c877-e1ca-e34f-864e-861f7616d084
2007-04-08 13:27:41 +00:00