Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve initbox #612

Merged
merged 1 commit into from
Mar 18, 2017
Merged

Improve initbox #612

merged 1 commit into from
Mar 18, 2017

Conversation

commy2
Copy link
Contributor

@commy2 commy2 commented Mar 4, 2017

When merged this pull request will:

  • doubles the size of the initbox (10 lines instead of only 5)
  • optionally removes code validation which enables using local variables and return values

Seems like the game actually can handle those just fine, but the code validation blocks you from doing that. The only downside is having no code validation, but if there is an error in the scripting, it will be shown at mission start like any other script error. Worth it imo. Optional now.

http://i.imgur.com/WV6i3C8.png
http://i.imgur.com/5Fri6Fc.png
http://i.imgur.com/hYXj9Lf.png

@commy2 commy2 added this to the 3.3 milestone Mar 4, 2017
@commy2 commy2 changed the title rem. code validation and double size of initbox remove code validation and double size of initbox Mar 4, 2017
@commy2
Copy link
Contributor Author

commy2 commented Mar 10, 2017

As per suggestion, I made it optional by changing a checkbox.
My black magic doing this is documented in the code.

@commy2 commy2 changed the title remove code validation and double size of initbox Improve initbox Mar 10, 2017
@commy2 commy2 merged commit dfa95a2 into master Mar 18, 2017
@commy2 commy2 deleted the improve-initbox branch March 18, 2017 11:47
@commy2 commy2 mentioned this pull request Mar 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants