OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ahmed on 18 Jul 2006, 13:18:46

Title: Are the scripts interpreted or precompiled?
Post by: ahmed on 18 Jul 2006, 13:18:46
I'm new to Operation Flashpoint and would like to know if the scripts are interpreted at run time or precompiled.

Thanks
Title: Re: Are the scripts interpreted or precompiled?
Post by: Snuffles on 18 Jul 2006, 13:51:13
At runtime.
Title: Re: Are the scripts interpreted or precompiled?
Post by: ahmed on 18 Jul 2006, 14:03:42
thanks
Title: Re: Are the scripts interpreted or precompiled?
Post by: Mr.Peanut on 19 Jul 2006, 16:23:46
Scripts are interpreted as they run.  This creates all sorts of performance issues (http://www.ofpec.com/forum/index.php?topic=25289.0). Functions are compiled when loaded. Read this thread (http://www.ofpec.com/forum/index.php?topic=26280.0) to make your head ache.

P.S. This is the scripting Ideas topic.  A question like this should be in Editing/Scripting Advanced.