FISI object public beta
Author: | Tigerworks
|
Submitted: | 16th January, 2004
|
Favourites: | 0 |
Genre: | Miscellaneous
| Downloads: | 212
|
Rated: |
|
|
The FISI (Fusion Interpreted Script Interface) object can compile and interpret a C-syntax/Jama style language for MMF 1.5 (this language is called CFISI). As well as all the usual variables, IFs, loops and so on, this language can also call MMF events, which in turn can return data to the script, such as a number or set of objects. Then the script can also directly manipulate objects in MMF, such as setting an active's X/Y co-ordinates.
Here's a sample script so you can get an idea of the CFISI language...
//////////////////
object objarr[32]; // Define an array of objects
objarr = call GetObjects(); // Calls an MMF event to fill the array
// with a set of duplicates of an object
// Loop all the objects (until objarr[ i] is 0)
for (int i = 0; objarr[ i] != 0; i++) {
objarr[ i].x = i * 32; // Set X co-ordinate of this object
objarr[ i].y = i * 32; // Set Y co-ordinate of this object
}
//////////////////
This lines up the objects in a diagonal line.
You really should read at least the CFISI documentation otherwise you will be very confused Also be sure to check the examples in the Extensions\Demos directory.
Remember this object is a public beta, use at your own risk.
Please report any bugs, in detail, to tigerworks@tigerworks.co.uk or on the Tigerworks.co.uk Forums (www.tigerworks.co.uk/forum/). Thanks!
Review This Download
http://www.tigerworks.co.uk/dlout.asp?id=13&t=ext (290kb )
|
|
TigerworksKlik Legend Registered 15/01/2002
Points 3882
Is this worth a look? Let others know! Favourite
|