Page 2 of 2

Re: Scripting command questions

Posted: 28 Jun 2017, 10:59
by elypter
you have to wrap the whole statement in another pair of brackets

Re: Scripting command questions

Posted: 28 Jun 2017, 16:20
by Devastator
Finally, it works! Thank you!

What is the maximum amount of lines code one can have in a script again?

It seems like the standard code for no reload times doesn't work on vehicle weapons.

EDIT: Found it, you have to use the "IS_CHAR_IN_MODEL" command for it to work.

Re: Scripting command questions

Posted: 29 Jun 2017, 00:58
by elypter
(LIMITATION) Maximum of code lines in a script is 3014

Re: Scripting command questions

Posted: 03 Jul 2017, 18:06
by T.M.
elypter wrote:(LIMITATION) Maximum of code lines in a script is 3014
But that was only the official compiler limitation? IIRC there is another limitation about script commands which is higher than the lines limitation.