Jump to content

Recommended Posts

Hi everyone,

 

I have notices that some of the enfusion scripts are marked with:

===========================================

Do not modify, this script is generated

==========================================

... and the scripts contain only method signatures, not their bodies.

 

can anyone explain to me what's up with that? Can we view/edit the contents at all?

 

Thanks!

 

Share this post


Link to post
Share on other sites

These are class methods which are most likely provided in a binarized file somewhere and which we cant view or edit but use.

 

Those methods may use other programming languages and interfaces which we are not able to use with enfusion.

Share this post


Link to post
Share on other sites
1 minute ago, sarogahtyp said:

These are class methods which are provided in a binarized file somewhere and which we cant view or edit but use.

 

I assumed as much, thanks!

 

Do you think BI will give us the option to see what's inside so we could learn from some reverse-engineering, override it in mods, or is it intentionally hidden?

 

 

Share this post


Link to post
Share on other sites
30 minutes ago, myshaak said:

 

I assumed as much, thanks!

 

Do you think BI will give us the option to see what's inside so we could learn from some reverse-engineering, override it in mods, or is it intentionally hidden?

 

 

I'm sure it's intentionally hidden. It would be like showing their game code...

 

The thing you can learn here is a rule which we just can take from arma 3: Always prefer an engine solution to a scripting solution.

Just means you should always use such "hidden" methods if you can because they use things we just can't achieve with enfusion script and therefore they will be faster most times...

Share this post


Link to post
Share on other sites
4 minutes ago, sarogahtyp said:

I'm sure it's intentionally hidden. It would be like showing their game code...

I assumed as much too, shame but understandable. Thanks again!

Share this post


Link to post
Share on other sites

Hi, those auto generated script classes expose internal C++ functionality so that it can be used in Enforce Script.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×